diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-26 01:30:39 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-26 01:30:39 -0500 |
| commit | 61fa7fa904e5a28bafa8e2565e362e98fe3efa58 (patch) | |
| tree | 69c477a8e9a038aaf5e0178044b815d1ab2da851 /sigmodr/widgets/CoinListUI.cpp | |
| parent | 1fba044a78b7b731c8cd65a17d2993041c10f9db (diff) | |
| download | sigen-61fa7fa904e5a28bafa8e2565e362e98fe3efa58.tar.gz sigen-61fa7fa904e5a28bafa8e2565e362e98fe3efa58.tar.xz sigen-61fa7fa904e5a28bafa8e2565e362e98fe3efa58.zip | |
Added layouts to all widgets so that the forms expand
Diffstat (limited to 'sigmodr/widgets/CoinListUI.cpp')
| -rw-r--r-- | sigmodr/widgets/CoinListUI.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sigmodr/widgets/CoinListUI.cpp b/sigmodr/widgets/CoinListUI.cpp index 2de9ebe6..c4ee59a4 100644 --- a/sigmodr/widgets/CoinListUI.cpp +++ b/sigmodr/widgets/CoinListUI.cpp @@ -30,6 +30,7 @@ // Qt includes #include <QtCore/QFile> +#include <QtGui/QVBoxLayout> #include <QtUiTools/QUiLoader> using namespace Sigcore; @@ -53,6 +54,9 @@ void CoinListUI::initGui() ui_script = formWidget->findChild<ScriptWidget*>("varScript"); connect(ui_name, SIGNAL(textChanged(QString)), this, SLOT(nameChanged(QString))); connect(ui_script, SIGNAL(valueChanged(Sigcore::Script)), this, SLOT(scriptChanged(Sigcore::Script))); + QVBoxLayout* layout = new QVBoxLayout; + layout->addWidget(formWidget); + setLayout(layout); } void CoinListUI::setGui() |
