Beispiel #1
0
void EBusqueda::changeEvent( QEvent *e )
{
    QDockWidget::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        retranslateUi(this);
        break;
    case QEvent::Hide:
    case QEvent::Close:
        borrar();
        emit cerrando();
        break;
    default:
        break;
    }
}
Beispiel #2
0
/*!
 * \brief EBusqueda::closeEvent
 * \param event
 */
void EBusqueda::closeEvent( QCloseEvent * )
{
    //delete this->_modelo;
    //borrar();
    emit cerrando();
}