Changeset View
Changeset View
Standalone View
Standalone View
kcms/style/kcmstyle.cpp
Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Line(s) | 160 | { | |||
---|---|---|---|---|---|
165 | 165 | | |||
166 | m_bStyleDirty= false; | 166 | m_bStyleDirty= false; | ||
167 | m_bEffectsDirty = false; | 167 | m_bEffectsDirty = false; | ||
168 | 168 | | |||
169 | 169 | | |||
170 | KGlobal::dirs()->addResourceType("themes", "data", "kstyle/themes"); | 170 | KGlobal::dirs()->addResourceType("themes", "data", "kstyle/themes"); | ||
171 | 171 | | |||
172 | KAboutData *about = | 172 | KAboutData *about = | ||
173 | new KAboutData( QStringLiteral("kcmstyle"), i18n("KDE Style Module"), QStringLiteral("1.0"), | 173 | new KAboutData( QStringLiteral("kcmstyle"), i18n("Application Style and Behavior Configuration"), QStringLiteral("1.0"), | ||
174 | QString(), KAboutLicense::GPL, | 174 | QString(), KAboutLicense::GPL, | ||
175 | i18n("(c) 2002 Karol Szwed, Daniel Molkentin")); | 175 | i18n("(c) 2002 Karol Szwed, Daniel Molkentin")); | ||
176 | 176 | | |||
177 | about->addAuthor(i18n("Karol Szwed"), QString(), QStringLiteral("gallium@kde.org")); | 177 | about->addAuthor(i18n("Karol Szwed"), QString(), QStringLiteral("gallium@kde.org")); | ||
178 | about->addAuthor(i18n("Daniel Molkentin"), QString(), QStringLiteral("molkentin@kde.org")); | 178 | about->addAuthor(i18n("Daniel Molkentin"), QString(), QStringLiteral("molkentin@kde.org")); | ||
179 | setAboutData( about ); | 179 | setAboutData( about ); | ||
180 | 180 | | |||
181 | // Setup pages and mainLayout | 181 | // Setup pages and mainLayout | ||
Show All 13 Lines | |||||
195 | QVBoxLayout *widgetLayout = new QVBoxLayout(gbWidgetStyle); | 195 | QVBoxLayout *widgetLayout = new QVBoxLayout(gbWidgetStyle); | ||
196 | 196 | | |||
197 | gbWidgetStyleLayout = new QVBoxLayout; | 197 | gbWidgetStyleLayout = new QVBoxLayout; | ||
198 | widgetLayout->addLayout( gbWidgetStyleLayout ); | 198 | widgetLayout->addLayout( gbWidgetStyleLayout ); | ||
199 | gbWidgetStyleLayout->setAlignment( Qt::AlignTop ); | 199 | gbWidgetStyleLayout->setAlignment( Qt::AlignTop ); | ||
200 | hbLayout = new QHBoxLayout( ); | 200 | hbLayout = new QHBoxLayout( ); | ||
201 | hbLayout->setObjectName( QStringLiteral("hbLayout") ); | 201 | hbLayout->setObjectName( QStringLiteral("hbLayout") ); | ||
202 | 202 | | |||
203 | QLabel* label=new QLabel(i18n("Widget style:"),this); | 203 | QLabel* label=new QLabel(i18n("Application style:"),this); | ||
204 | hbLayout->addWidget( label ); | 204 | hbLayout->addWidget( label ); | ||
205 | 205 | | |||
206 | cbStyle = new KComboBox( gbWidgetStyle ); | 206 | cbStyle = new KComboBox( gbWidgetStyle ); | ||
207 | cbStyle->setObjectName( QStringLiteral("cbStyle") ); | 207 | cbStyle->setObjectName( QStringLiteral("cbStyle") ); | ||
208 | cbStyle->setEditable( false ); | 208 | cbStyle->setEditable( false ); | ||
209 | hbLayout->addWidget( cbStyle ); | 209 | hbLayout->addWidget( cbStyle ); | ||
210 | hbLayout->setStretchFactor( cbStyle, 1 ); | 210 | hbLayout->setStretchFactor( cbStyle, 1 ); | ||
211 | label->setBuddy(cbStyle); | 211 | label->setBuddy(cbStyle); | ||
▲ Show 20 Lines • Show All 542 Lines • Show Last 20 Lines |