日期:2014-05-16 浏览次数:20631 次
#include <QDialog> #include <QPushButton> class ControlDialog : public QDialog { Q_OBJECT public: ControlDialog(QWidget* parent = 0); private slots: void EjectCdrom(); void CloseCdrom(); private: QPushButton* buttonEject; QPushButton* buttonClose; };