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/SoundUI.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sigmodr/widgets/SoundUI.cpp') diff --git a/sigmodr/widgets/SoundUI.cpp b/sigmodr/widgets/SoundUI.cpp index a4dd5047..c7afeb96 100644 --- a/sigmodr/widgets/SoundUI.cpp +++ b/sigmodr/widgets/SoundUI.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include using namespace Sigmod; @@ -78,6 +79,9 @@ void SoundUI::initGui() connect(m_media, SIGNAL(stateChanged(Phonon::State, Phonon::State)), this, SLOT(stateChanged(Phonon::State))); connect(ui_play, SIGNAL(clicked()), m_media, SLOT(play())); connect(ui_stop, SIGNAL(clicked()), m_media, SLOT(stop())); + QVBoxLayout* layout = new QVBoxLayout; + layout->addWidget(formWidget); + setLayout(layout); ui_play->setIcon(KIcon("media-playback-start")); ui_stop->setIcon(KIcon("media-playback-stop")); buttonBrowse->setIcon(KIcon("document-open")); -- cgit