Make it possible to maximize console dialog
This commit is contained in:
@@ -42,6 +42,9 @@
|
|||||||
Console::Console(Application *app, QWidget *parent) : QDialog(parent), app_(app) {
|
Console::Console(Application *app, QWidget *parent) : QDialog(parent), app_(app) {
|
||||||
|
|
||||||
ui_.setupUi(this);
|
ui_.setupUi(this);
|
||||||
|
|
||||||
|
setWindowFlags(windowFlags()|Qt::WindowMaximizeButtonHint);
|
||||||
|
|
||||||
connect(ui_.run, SIGNAL(clicked()), SLOT(RunQuery()));
|
connect(ui_.run, SIGNAL(clicked()), SLOT(RunQuery()));
|
||||||
|
|
||||||
QFont font("Monospace");
|
QFont font("Monospace");
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>545</width>
|
<width>600</width>
|
||||||
<height>347</height>
|
<height>360</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
|||||||
Reference in New Issue
Block a user