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/CoinListItemUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sigmodr/widgets/CoinListItemUI.cpp') diff --git a/sigmodr/widgets/CoinListItemUI.cpp b/sigmodr/widgets/CoinListItemUI.cpp index 74678f59..352d301e 100644 --- a/sigmodr/widgets/CoinListItemUI.cpp +++ b/sigmodr/widgets/CoinListItemUI.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include using namespace Sigmod; @@ -60,6 +61,9 @@ void CoinListItemUI::initGui() connect(ui_type, SIGNAL(buttonClicked(int)), this, SLOT(typeChanged(int))); connect(ui_object, SIGNAL(currentIndexChanged(int)), this, SLOT(objectChanged(int))); connect(ui_cost, SIGNAL(valueChanged(int)), this, SLOT(costChanged(int))); + QVBoxLayout* layout = new QVBoxLayout; + layout->addWidget(formWidget); + setLayout(layout); } void CoinListItemUI::setGui() -- cgit