C++ (Qt)class Dialog : public QDialog{ Q_OBJECT public: Dialog(QWidget *parent = 0); ~Dialog(); ...private slots: void show(); void hide();...};
C++ (Qt)Dialog::Dialog(QWidget *parent){// initialization} Dialog::~Dialog(){} void Dialog::show(){// show new code} void Dialog::hide(){// hide new code}
private slots: