add Dialog boilerplate
This commit is contained in:
parent
d1daebd104
commit
654e771563
|
@ -1 +1,10 @@
|
||||||
#include "dialog.h"
|
#include "dialog.h"
|
||||||
|
|
||||||
|
Dialog::Dialog(QWidget *parent)
|
||||||
|
: QWidget(parent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Dialog::~Dialog()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
#ifndef DIALOG_H
|
||||||
|
#define DIALOG_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
|
class Dialog : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit Dialog(QWidget *parent = 0);
|
||||||
|
~Dialog();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Q_DISABLE_COPY(Dialog)
|
||||||
|
//Q_DECLARE_PRIVATE(Dialog)
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // DIALOG_H
|
Loading…
Reference in New Issue