fixed some build related problems
[qsqlmon.git] / qsqlmon / sqldock.cpp
blobf1e16cecff29811bfcf0519bbf7e8d7dc968dd17
1 #include "sqldock.h"
3 #include <qaction.h>
4 #include <qevent.h>
5 #include <qframe.h>
6 #include <qmainwindow.h>
7 #include <qmenu.h>
9 SqlDock::SqlDock(QWidget *parent, Qt::WFlags flags)
10 : QDockWidget(parent, flags)
12 setObjectName("SQL");
13 setWindowTitle(objectName());
15 QWidget *w = new QWidget(this);
16 ui.setupUi(w);
17 //w->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Maximum);
18 setWidget(w);
21 SqlTextEdit* SqlDock::sqlTextEdit()
23 return ui.txtSql;