|
|
|
@ -55,86 +55,86 @@ CrystalConfig::CrystalConfig(TDEConfig*, TQWidget* parent)
|
|
|
|
|
dialog_ = new ConfigDialog(parent);
|
|
|
|
|
dialog_->show();
|
|
|
|
|
|
|
|
|
|
connect(dialog_->titlealign, TQT_SIGNAL(clicked(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->titlealign, TQ_SIGNAL(clicked(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->drawCaption, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->textshadow, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->tooltip,TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->wheelTask,TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->drawCaption, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->textshadow, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->tooltip,TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->wheelTask,TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->trackdesktop, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->trackdesktop, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->shade1, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->shade2, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->shade1, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->shade2, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->frame1, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->frame2, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->frameColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->frameColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->frame1, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->frame2, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->frameColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->frameColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->inline1, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->inline2, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->inlineColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->inlineColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->inline1, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->inline2, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->inlineColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->inlineColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->type1,TQT_SIGNAL(activated(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->type2,TQT_SIGNAL(activated(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->type1,TQ_SIGNAL(activated(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->type2,TQ_SIGNAL(activated(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->enableTransparency,TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->enableTransparency,TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->borderwidth, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->titlebarheight, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->borderwidth, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->titlebarheight, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->tlc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->trc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->blc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->brc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->buttonColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->buttonColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->buttonColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->minColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->minColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->minColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->maxColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->maxColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->maxColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->closeColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->closeColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->closeColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->tlc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->trc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->blc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->brc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->buttonColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->buttonColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->buttonColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->minColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->minColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->minColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->maxColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->maxColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->maxColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->closeColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->closeColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
connect(dialog_->closeColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->hover, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->animateHover, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->buttonTheme, TQT_SIGNAL(activated(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->tintButtons, TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(boolChanged(bool)));
|
|
|
|
|
connect(dialog_->menuimage, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->hover, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->animateHover, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->buttonTheme, TQ_SIGNAL(activated(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->tintButtons, TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(boolChanged(bool)));
|
|
|
|
|
connect(dialog_->menuimage, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->repaintMode, TQT_SIGNAL(clicked(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->repaintMode, TQ_SIGNAL(clicked(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->updateTime, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->updateTime, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->infoButton, TQT_SIGNAL(clicked(void)),this,TQT_SLOT(infoDialog(void)));
|
|
|
|
|
connect(dialog_->infoButton, TQ_SIGNAL(clicked(void)),this,TQ_SLOT(infoDialog(void)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->active_blur, TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->inactive_blur, TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->active_blur, TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->inactive_blur, TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->userPicture1, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->userPicture2, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->activeFile,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged( const TQString& )));
|
|
|
|
|
connect(dialog_->inactiveFile,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged( const TQString& )));
|
|
|
|
|
connect(dialog_->userPicture1, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->userPicture2, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->activeFile,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged( const TQString& )));
|
|
|
|
|
connect(dialog_->inactiveFile,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged( const TQString& )));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(dialog_->overlay_active, TQT_SIGNAL(activated(int)),this, TQT_SLOT(overlay_active_changed(int)));
|
|
|
|
|
connect(dialog_->overlay_inactive, TQT_SIGNAL(activated(int)),this, TQT_SLOT(overlay_inactive_changed(int)));
|
|
|
|
|
connect(dialog_->overlay_active, TQ_SIGNAL(activated(int)),this, TQ_SLOT(overlay_active_changed(int)));
|
|
|
|
|
connect(dialog_->overlay_inactive, TQ_SIGNAL(activated(int)),this, TQ_SLOT(overlay_inactive_changed(int)));
|
|
|
|
|
|
|
|
|
|
connect(dialog_->overlay_active_file,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged(const TQString &)));
|
|
|
|
|
connect(dialog_->overlay_inactive_file,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged(const TQString &)));
|
|
|
|
|
connect(dialog_->overlay_active_file,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged(const TQString &)));
|
|
|
|
|
connect(dialog_->overlay_inactive_file,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged(const TQString &)));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(dialog_->logoEnabled, TQT_SIGNAL(clicked(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoFile, TQT_SIGNAL(textChanged(const TQString &)),this, TQT_SLOT(logoTextChanged(const TQString&)));
|
|
|
|
|
connect(dialog_->logoStretch, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoActive, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoDistance,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoEnabled, TQ_SIGNAL(clicked(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoFile, TQ_SIGNAL(textChanged(const TQString &)),this, TQ_SLOT(logoTextChanged(const TQString&)));
|
|
|
|
|
connect(dialog_->logoStretch, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoActive, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
connect(dialog_->logoDistance,TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(selectionChanged(int)));
|
|
|
|
|
|
|
|
|
|
load(config_);
|
|
|
|
|
}
|
|
|
|
@ -338,7 +338,7 @@ void CrystalConfig::save(TDEConfig*)
|
|
|
|
|
void CrystalConfig::infoDialog()
|
|
|
|
|
{
|
|
|
|
|
InfoDialog d(dialog_);
|
|
|
|
|
connect((TQLabel*)(d.kURLLabel1),TQT_SIGNAL(leftClickedURL(const TQString&)),TDEApplication::kApplication(),TQT_SLOT(invokeBrowser(const TQString &)));
|
|
|
|
|
connect((TQLabel*)(d.kURLLabel1),TQ_SIGNAL(leftClickedURL(const TQString&)),TDEApplication::kApplication(),TQ_SLOT(invokeBrowser(const TQString &)));
|
|
|
|
|
d.exec();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|