1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#ifndef MYWIDGET_H #define MYWIDGET_H #include <QWidget> #include <memory> #if QT_VERSION < QT_VERSION_CHECK(5, 3, 0) # include <klocalizedstring.h> #endif #include "ui_mywidget.h" class MyWidget : public QWidget { Q_OBJECT public: explicit MyWidget(QWidget* parent = 0); ~MyWidget(); private: Ui::MyWidget* ui; }; #endif