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; } }
/*! * \brief EBusqueda::closeEvent * \param event */ void EBusqueda::closeEvent( QCloseEvent * ) { //delete this->_modelo; //borrar(); emit cerrando(); }