]> git.sesse.net Git - kdenlive/commitdiff
Make parameter name visible again in color chooser widget
authorTill Theato <root@ttill.de>
Sat, 31 Jul 2010 13:32:47 +0000 (13:32 +0000)
committerTill Theato <root@ttill.de>
Sat, 31 Jul 2010 13:32:47 +0000 (13:32 +0000)
svn path=/trunk/kdenlive/; revision=4669

src/choosecolorwidget.cpp
src/colorpickerwidget.cpp

index e65a8defb292462b99526690d09770d31e6d589e..f45fc62764d261a8557f078dbea65662e966b1d3 100644 (file)
 ChooseColorWidget::ChooseColorWidget(QString text, QColor color, QWidget *parent) :
         QWidget(parent)
 {
-    //QGroupBox *box = new QGroupBox(text, this);
-    QVBoxLayout *layout = new QVBoxLayout(this);
+    QVBoxLayout *l = new QVBoxLayout(this);
+    QGroupBox *box = new QGroupBox(text, this);
+    l->addWidget(box);
+    QVBoxLayout *layout = new QVBoxLayout(box);
 
     m_button = new KColorButton(color, this);
     ColorPickerWidget *picker = new ColorPickerWidget(this);
index b2b567ad6781e07d28861e86b3be8c174fcfdeab..5063f18ea3b22f9eabb05c24a8b3c2a85ebf2fc8 100644 (file)
@@ -77,7 +77,7 @@ ColorPickerWidget::ColorPickerWidget(QWidget *parent) :
 
     layout->addWidget(button);
     layout->addStretch(1);
-    layout->addWidget(new QLabel(i18n("Width of rect to pick color from:")));
+    layout->addWidget(new QLabel(i18n("Width of square to pick color from:")));
     layout->addWidget(m_size);
 }