1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef UIC_ONLY_H #define UIC_ONLY_H #include <QWidget> #include <memory> #include "ui_uiconly.h" class UicOnly : public QWidget { Q_OBJECT public: explicit UicOnly(QWidget *parent = 0); private: const std::auto_ptr<Ui::UicOnly> ui; }; #endif