summaryrefslogtreecommitdiffstats
path: root/sigmodr/widgets/AuthorUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/widgets/AuthorUI.cpp')
-rw-r--r--sigmodr/widgets/AuthorUI.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sigmodr/widgets/AuthorUI.cpp b/sigmodr/widgets/AuthorUI.cpp
index 8d13d822..749cf4ee 100644
--- a/sigmodr/widgets/AuthorUI.cpp
+++ b/sigmodr/widgets/AuthorUI.cpp
@@ -26,6 +26,7 @@
// Qt includes
#include <QtCore/QFile>
+#include <QtGui/QVBoxLayout>
#include <QtUiTools/QUiLoader>
using namespace Sigmod;
@@ -49,6 +50,9 @@ void AuthorUI::initGui()
connect(ui_name, SIGNAL(textChanged(QString)), this, SLOT(nameChanged(QString)));
connect(ui_email, SIGNAL(textChanged(QString)), this, SLOT(emailChanged(QString)));
connect(ui_role, SIGNAL(textChanged(QString)), this, SLOT(roleChanged(QString)));
+ QVBoxLayout* layout = new QVBoxLayout;
+ layout->addWidget(formWidget);
+ setLayout(layout);
}
void AuthorUI::setGui()