From 61fa7fa904e5a28bafa8e2565e362e98fe3efa58 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 26 Feb 2009 01:30:39 -0500 Subject: Added layouts to all widgets so that the forms expand --- sigmodr/widgets/AuthorUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sigmodr/widgets/AuthorUI.cpp') 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 +#include #include 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() -- cgit