Changeset View
Changeset View
Standalone View
Standalone View
kcmkgamma/kgamma.cpp
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Line(s) | |||||
135 | 135 | | |||
136 | /** User interface */ | 136 | /** User interface */ | ||
137 | void KGamma::setupUI() { | 137 | void KGamma::setupUI() { | ||
138 | QBoxLayout *topLayout = new QVBoxLayout(this); | 138 | QBoxLayout *topLayout = new QVBoxLayout(this); | ||
139 | topLayout->setMargin(0); | 139 | topLayout->setMargin(0); | ||
140 | 140 | | |||
141 | if (GammaCorrection) { | 141 | if (GammaCorrection) { | ||
142 | QHBoxLayout *hbox = new QHBoxLayout(); | 142 | QHBoxLayout *hbox = new QHBoxLayout(); | ||
143 | topLayout->addItem( hbox ); | 143 | topLayout->addLayout( hbox ); | ||
144 | QLabel *label = new QLabel( i18n( "&Select test picture:" ) , this); | 144 | QLabel *label = new QLabel( i18n( "&Select test picture:" ) , this); | ||
145 | QComboBox *combo = new QComboBox( this ); | 145 | QComboBox *combo = new QComboBox( this ); | ||
146 | label->setBuddy( combo ); | 146 | label->setBuddy( combo ); | ||
147 | 147 | | |||
148 | QStringList list; | 148 | QStringList list; | ||
149 | list << i18n( "Gray Scale" ) | 149 | list << i18n( "Gray Scale" ) | ||
150 | << i18n( "RGB Scale" ) | 150 | << i18n( "RGB Scale" ) | ||
151 | << i18n( "CMY Scale" ) | 151 | << i18n( "CMY Scale" ) | ||
▲ Show 20 Lines • Show All 494 Lines • Show Last 20 Lines |