Changeset View
Changeset View
Standalone View
Standalone View
korganizer/koprefsdialog.cpp
Show First 20 Lines • Show All 872 Lines • ▼ Show 20 Lines | KOPrefsDialogColorsAndFonts::KOPrefsDialogColorsAndFonts( const KComponentData &inst, | ||||
mCategoryCombo = new KPIM::TagCombo( categoryGroup ); | mCategoryCombo = new KPIM::TagCombo( categoryGroup ); | ||||
mCategoryCombo->setWhatsThis( | mCategoryCombo->setWhatsThis( | ||||
i18nc( "@info:whatsthis", | i18nc( "@info:whatsthis", | ||||
"Select here the event category you want to modify. " | "Select here the event category you want to modify. " | ||||
"You can change the selected category color using " | "You can change the selected category color using " | ||||
"the button below." ) ); | "the button below." ) ); | ||||
connect( mCategoryCombo, SIGNAL(activated(int)), SLOT(updateCategoryColor()) ); | connect( mCategoryCombo, SIGNAL(activated(int)), SLOT(updateCategoryColor()) ); | ||||
connect(mCategoryCombo, SIGNAL(currentIndexChanged(int)), SLOT(updateCategoryColor())); | |||||
categoryLayout->addWidget( mCategoryCombo, 1, 0 ); | categoryLayout->addWidget( mCategoryCombo, 1, 0 ); | ||||
mCategoryButton = new KColorButton( categoryGroup ); | mCategoryButton = new KColorButton( categoryGroup ); | ||||
mCategoryButton->setWhatsThis( | mCategoryButton->setWhatsThis( | ||||
i18nc( "@info:whatsthis", | i18nc( "@info:whatsthis", | ||||
"Choose here the color of the event category selected " | "Choose here the color of the event category selected " | ||||
"using the combo box above." ) ); | "using the combo box above." ) ); | ||||
connect( mCategoryButton, SIGNAL(changed(QColor)), SLOT(setCategoryColor()) ); | connect( mCategoryButton, SIGNAL(changed(QColor)), SLOT(setCategoryColor()) ); | ||||
▲ Show 20 Lines • Show All 702 Lines • Show Last 20 Lines |