void Roszdrav::add() { LS l(this); if( l.exec()==QDialog::Accepted ) { ... }}
C++ (Qt)class Roszdrav : public QDialog{ Q_OBJECT public: Roszdrav(QWidget *parent,QString text); ~Roszdrav(); closeEvent(QCloseEvent *event) QSqlQueryModel *ls; LS *l;
C++ (Qt)ui.tableLS->setModel(ls);
C++ (Qt)LS l;l=LS(this);
C++ (Qt)class Roszdrav : public QDialog{ Q_OBJECT public: Roszdrav(QWidget *parent,QString text); ~Roszdrav(); closeEvent(QCloseEvent *event) QSqlQueryModel *ls; LS l; Roszdrav::Roszdrav(QWidget *parent,QString text) :QDialog(parent), l(this){
C++ (Qt)void d (void) { Obj->deleteLater(); Obj->deleteLater();}
C++ (Qt)void d (void) { Obj->deleteLater(); QApplication::processEvents(); Obj->deleteLater();}