comparison widgets/SearchWidget.cpp @ 162:faafebcf67a2

new colors
author benoitrigolleau
date Thu, 15 Nov 2007 16:48:50 +0000
parents 685e31447355
children a6b881972a62
comparison
equal deleted inserted replaced
161:a4e88449268b 162:faafebcf67a2
10 License, or (at your option) any later version. See the file 10 License, or (at your option) any later version. See the file
11 COPYING included with this distribution for more information. 11 COPYING included with this distribution for more information.
12 */ 12 */
13 13
14 #include "SearchWidget.h" 14 #include "SearchWidget.h"
15
15 16
16 #include <QGroupBox> 17 #include <QGroupBox>
17 #include <QLabel> 18 #include <QLabel>
18 #include <QLineEdit> 19 #include <QLineEdit>
19 #include <QComboBox> 20 #include <QComboBox>
187 break; 188 break;
188 } 189 }
189 case PropertyContainer::ValueProperty: 190 case PropertyContainer::ValueProperty:
190 { 191 {
191 QComboBox* box = new QComboBox(); 192 QComboBox* box = new QComboBox();
193 box->setStyleSheet("background-color:white;");
194
192 195
193 box->addItems(curTheme->getPropertyRange(name)); 196 box->addItems(curTheme->getPropertyRange(name));
194 197
195 connect(box, SIGNAL(currentIndexChanged(int)), curTheme, SLOT(setProperty(int))); 198 connect(box, SIGNAL(currentIndexChanged(int)), curTheme, SLOT(setProperty(int)));
196 199