|
|
@ -643,128 +643,128 @@ QtCurveConfig::QtCurveConfig(TQWidget *parent)
|
|
|
|
colorSelTab->setRange(MIN_COLOR_SEL_TAB_FACTOR, MAX_COLOR_SEL_TAB_FACTOR, 5, false);
|
|
|
|
colorSelTab->setRange(MIN_COLOR_SEL_TAB_FACTOR, MAX_COLOR_SEL_TAB_FACTOR, 5, false);
|
|
|
|
colorSelTab->setValue(DEF_COLOR_SEL_TAB_FACTOR);
|
|
|
|
colorSelTab->setValue(DEF_COLOR_SEL_TAB_FACTOR);
|
|
|
|
|
|
|
|
|
|
|
|
connect(lighterPopupMenuBgnd, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(lighterPopupMenuBgnd, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(tabBgnd, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(tabBgnd, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menuDelay, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(menuDelay, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sliderWidth, SIGNAL(valueChanged(int)), SLOT(sliderWidthChanged()));
|
|
|
|
connect(sliderWidth, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(sliderWidthChanged()));
|
|
|
|
connect(menuStripe, SIGNAL(activated(int)), SLOT(menuStripeChanged()));
|
|
|
|
connect(menuStripe, TQ_SIGNAL(activated(int)), TQ_SLOT(menuStripeChanged()));
|
|
|
|
connect(customMenuStripeColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customMenuStripeColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menuStripeAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(menuStripeAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menuBgndAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(menuBgndAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menuBgndGrad, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(menuBgndGrad, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(round, SIGNAL(activated(int)), SLOT(roundChanged()));
|
|
|
|
connect(round, TQ_SIGNAL(activated(int)), TQ_SLOT(roundChanged()));
|
|
|
|
connect(toolbarBorders, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(toolbarBorders, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sliderThumbs, SIGNAL(activated(int)), SLOT(sliderThumbChanged()));
|
|
|
|
connect(sliderThumbs, TQ_SIGNAL(activated(int)), TQ_SLOT(sliderThumbChanged()));
|
|
|
|
connect(handles, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(handles, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(appearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(appearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(customMenuTextColor, SIGNAL(toggled(bool)), SLOT(customMenuTextColorChanged()));
|
|
|
|
connect(customMenuTextColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(customMenuTextColorChanged()));
|
|
|
|
connect(stripedProgress, SIGNAL(activated(int)), SLOT(stripedProgressChanged()));
|
|
|
|
connect(stripedProgress, TQ_SIGNAL(activated(int)), TQ_SLOT(stripedProgressChanged()));
|
|
|
|
connect(animatedProgress, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(animatedProgress, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(embolden, SIGNAL(toggled(bool)), SLOT(emboldenToggled()));
|
|
|
|
connect(embolden, TQ_SIGNAL(toggled(bool)), TQ_SLOT(emboldenToggled()));
|
|
|
|
connect(defBtnIndicator, SIGNAL(activated(int)), SLOT(defBtnIndicatorChanged()));
|
|
|
|
connect(defBtnIndicator, TQ_SIGNAL(activated(int)), TQ_SLOT(defBtnIndicatorChanged()));
|
|
|
|
connect(highlightTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(highlightTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menubarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(menubarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(toolbarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(toolbarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(lvAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(lvAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sliderAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(sliderAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(tabAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(tabAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(activeTabAppearance, SIGNAL(activated(int)), SLOT(activeTabAppearanceChanged()));
|
|
|
|
connect(activeTabAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(activeTabAppearanceChanged()));
|
|
|
|
connect(toolbarSeparators, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(toolbarSeparators, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(splitters, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(splitters, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
|
|
|
|
#ifdef TQTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT
|
|
|
|
connect(fixParentlessDialogs, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(fixParentlessDialogs, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
connect(fillSlider, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(fillSlider, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sliderStyle, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(sliderStyle, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(roundMbTopOnly, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(roundMbTopOnly, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(fillProgress, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(fillProgress, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(darkerBorders, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(darkerBorders, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(comboSplitter, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(comboSplitter, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(comboBtn, SIGNAL(activated(int)), SLOT(comboBtnChanged()));
|
|
|
|
connect(comboBtn, TQ_SIGNAL(activated(int)), TQ_SLOT(comboBtnChanged()));
|
|
|
|
connect(sortedLv, SIGNAL(activated(int)), SLOT(sortedLvChanged()));
|
|
|
|
connect(sortedLv, TQ_SIGNAL(activated(int)), TQ_SLOT(sortedLvChanged()));
|
|
|
|
connect(customComboBtnColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customComboBtnColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(customSortedLvColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customSortedLvColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(unifySpinBtns, SIGNAL(toggled(bool)), SLOT(unifySpinBtnsToggled()));
|
|
|
|
connect(unifySpinBtns, TQ_SIGNAL(toggled(bool)), TQ_SLOT(unifySpinBtnsToggled()));
|
|
|
|
connect(unifySpin, SIGNAL(toggled(bool)), SLOT(unifySpinToggled()));
|
|
|
|
connect(unifySpin, TQ_SIGNAL(toggled(bool)), TQ_SLOT(unifySpinToggled()));
|
|
|
|
connect(unifyCombo, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(unifyCombo, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(vArrows, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(vArrows, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(xCheck, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(xCheck, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(crHighlight, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(crHighlight, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(crButton, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(crButton, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(colorSelTab, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(colorSelTab, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(roundAllTabs, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(roundAllTabs, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(borderTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(borderTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(borderInactiveTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(borderInactiveTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(invertBotTab, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(invertBotTab, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(doubleGtkComboArrow, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(doubleGtkComboArrow, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(tabMouseOver, SIGNAL(activated(int)), SLOT(tabMoChanged()));
|
|
|
|
connect(tabMouseOver, TQ_SIGNAL(activated(int)), TQ_SLOT(tabMoChanged()));
|
|
|
|
connect(stdSidebarButtons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(stdSidebarButtons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(borderMenuitems, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(borderMenuitems, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(popupBorder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(popupBorder, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(progressAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(progressAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(progressGrooveAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(progressGrooveAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(grooveAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(grooveAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sunkenAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(sunkenAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(progressGrooveColor, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(progressGrooveColor, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menuitemAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(menuitemAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(titlebarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(titlebarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(inactiveTitlebarAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(inactiveTitlebarAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(titlebarButtonAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(titlebarButtonAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(colorTitlebarOnly, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(colorTitlebarOnly, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(selectionAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(selectionAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(shadeCheckRadio, SIGNAL(activated(int)), SLOT(shadeCheckRadioChanged()));
|
|
|
|
connect(shadeCheckRadio, TQ_SIGNAL(activated(int)), TQ_SLOT(shadeCheckRadioChanged()));
|
|
|
|
connect(customCheckRadioColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customCheckRadioColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(focus, SIGNAL(activated(int)), SLOT(focusChanged()));
|
|
|
|
connect(focus, TQ_SIGNAL(activated(int)), TQ_SLOT(focusChanged()));
|
|
|
|
connect(lvLines, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(lvLines, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(lvButton, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(lvButton, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(drawStatusBarFrames, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(drawStatusBarFrames, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(buttonEffect, SIGNAL(activated(int)), SLOT(buttonEffectChanged()));
|
|
|
|
connect(buttonEffect, TQ_SIGNAL(activated(int)), TQ_SLOT(buttonEffectChanged()));
|
|
|
|
connect(coloredMouseOver, SIGNAL(activated(int)), SLOT(coloredMouseOverChanged()));
|
|
|
|
connect(coloredMouseOver, TQ_SIGNAL(activated(int)), TQ_SLOT(coloredMouseOverChanged()));
|
|
|
|
connect(menubarMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(menubarMouseOver, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(shadeMenubarOnlyWhenActive, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(shadeMenubarOnlyWhenActive, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(thinnerMenuItems, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(thinnerMenuItems, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(thinnerBtns, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(thinnerBtns, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(customSlidersColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customSlidersColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(customMenubarsColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customMenubarsColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(customMenuSelTextColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customMenuSelTextColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(customMenuNormTextColor, SIGNAL(changed(const TQColor &)), SLOT(updateChanged()));
|
|
|
|
connect(customMenuNormTextColor, TQ_SIGNAL(changed(const TQColor &)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(shadeSliders, SIGNAL(activated(int)), SLOT(shadeSlidersChanged()));
|
|
|
|
connect(shadeSliders, TQ_SIGNAL(activated(int)), TQ_SLOT(shadeSlidersChanged()));
|
|
|
|
connect(shadeMenubars, SIGNAL(activated(int)), SLOT(shadeMenubarsChanged()));
|
|
|
|
connect(shadeMenubars, TQ_SIGNAL(activated(int)), TQ_SLOT(shadeMenubarsChanged()));
|
|
|
|
connect(highlightFactor, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(highlightFactor, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(scrollbarType, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(scrollbarType, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(shading, SIGNAL(activated(int)), SLOT(shadingChanged()));
|
|
|
|
connect(shading, TQ_SIGNAL(activated(int)), TQ_SLOT(shadingChanged()));
|
|
|
|
connect(gtkScrollViews, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(gtkScrollViews, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(squareScrollViews, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(squareScrollViews, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(highlightScrollViews, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(highlightScrollViews, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(etchEntry, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(etchEntry, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(flatSbarButtons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(flatSbarButtons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(thinSbarGroove, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(thinSbarGroove, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(colorSliderMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(colorSliderMouseOver, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(titlebarBorder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(titlebarBorder, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sbarBgndAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(sbarBgndAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(sliderFill, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(sliderFill, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(dwtAppearance, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(dwtAppearance, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(crColor, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(crColor, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(smallRadio, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(smallRadio, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(splitterHighlight, SIGNAL(valueChanged(int)), SLOT(updateChanged()));
|
|
|
|
connect(splitterHighlight, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(gtkComboMenus, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(gtkComboMenus, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(gtkButtonOrder, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(gtkButtonOrder, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(mapKdeIcons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(mapKdeIcons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(passwordChar, SIGNAL(clicked()), SLOT(passwordCharClicked()));
|
|
|
|
connect(passwordChar, TQ_SIGNAL(clicked()), TQ_SLOT(passwordCharClicked()));
|
|
|
|
#if 0
|
|
|
|
#if 0
|
|
|
|
connect(framelessGroupBoxes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(framelessGroupBoxes, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
connect(colorMenubarMouseOver, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(colorMenubarMouseOver, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(useHighlightForMenu, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(useHighlightForMenu, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
#if 0
|
|
|
|
#if 0
|
|
|
|
connect(groupBoxLine, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(groupBoxLine, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
connect(fadeLines, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(fadeLines, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(menuIcons, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(menuIcons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(stdBtnSizes, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(stdBtnSizes, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(forceAlternateLvCols, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(forceAlternateLvCols, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(squareLvSelection, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(squareLvSelection, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
connect(titlebarAlignment, SIGNAL(activated(int)), SLOT(updateChanged()));
|
|
|
|
connect(titlebarAlignment, TQ_SIGNAL(activated(int)), TQ_SLOT(updateChanged()));
|
|
|
|
|
|
|
|
|
|
|
|
defaultSettings(&defaultStyle);
|
|
|
|
defaultSettings(&defaultStyle);
|
|
|
|
if(!readConfig(NULL, ¤tStyle, &defaultStyle))
|
|
|
|
if(!readConfig(NULL, ¤tStyle, &defaultStyle))
|
|
|
@ -780,11 +780,11 @@ QtCurveConfig::QtCurveConfig(TQWidget *parent)
|
|
|
|
|
|
|
|
|
|
|
|
menu->insertItem(i18n("Predefined Style"), subMenu);
|
|
|
|
menu->insertItem(i18n("Predefined Style"), subMenu);
|
|
|
|
menu->insertSeparator();
|
|
|
|
menu->insertSeparator();
|
|
|
|
menu->insertItem(i18n("Import..."), this, SLOT(importStyle()));
|
|
|
|
menu->insertItem(i18n("Import..."), this, TQ_SLOT(importStyle()));
|
|
|
|
menu->insertItem(i18n("Export..."), this, SLOT(exportStyle()));
|
|
|
|
menu->insertItem(i18n("Export..."), this, TQ_SLOT(exportStyle()));
|
|
|
|
#ifdef TQTC_STYLE_SUPPORT
|
|
|
|
#ifdef TQTC_STYLE_SUPPORT
|
|
|
|
menu->insertSeparator();
|
|
|
|
menu->insertSeparator();
|
|
|
|
menu->insertItem(i18n("Export Theme..."), this, SLOT(exportTheme()));
|
|
|
|
menu->insertItem(i18n("Export Theme..."), this, TQ_SLOT(exportTheme()));
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
loadStyles(subMenu);
|
|
|
|
loadStyles(subMenu);
|
|
|
@ -810,7 +810,7 @@ void QtCurveConfig::loadStyles(TQPopupMenu *menu)
|
|
|
|
for(; it!=end; ++it)
|
|
|
|
for(; it!=end; ++it)
|
|
|
|
if(readConfig(*it, &opts, &defaultStyle))
|
|
|
|
if(readConfig(*it, &opts, &defaultStyle))
|
|
|
|
styles[menu->insertItem(TQFileInfo(*it).fileName().remove(EXTENSION).replace('_', ' '),
|
|
|
|
styles[menu->insertItem(TQFileInfo(*it).fileName().remove(EXTENSION).replace('_', ' '),
|
|
|
|
this, SLOT(setStyle(int)))]=*it;
|
|
|
|
this, TQ_SLOT(setStyle(int)))]=*it;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void QtCurveConfig::save()
|
|
|
|
void QtCurveConfig::save()
|
|
|
@ -1041,7 +1041,7 @@ void QtCurveConfig::setupStack()
|
|
|
|
stackList->setSelected(lastCategory, true);
|
|
|
|
stackList->setSelected(lastCategory, true);
|
|
|
|
stackList->setCurrentItem(lastCategory);
|
|
|
|
stackList->setCurrentItem(lastCategory);
|
|
|
|
stackList->setResizeMode(TQListView::LastColumn);
|
|
|
|
stackList->setResizeMode(TQListView::LastColumn);
|
|
|
|
connect(stackList, SIGNAL(selectionChanged()), SLOT(changeStack()));
|
|
|
|
connect(stackList, TQ_SIGNAL(selectionChanged()), TQ_SLOT(changeStack()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void QtCurveConfig::changeStack()
|
|
|
|
void QtCurveConfig::changeStack()
|
|
|
@ -1274,13 +1274,13 @@ void QtCurveConfig::setupGradientsTab()
|
|
|
|
removeButton->setEnabled(false);
|
|
|
|
removeButton->setEnabled(false);
|
|
|
|
updateButton->setEnabled(false);
|
|
|
|
updateButton->setEnabled(false);
|
|
|
|
gradStops->setResizeMode(TQListView::AllColumns);
|
|
|
|
gradStops->setResizeMode(TQListView::AllColumns);
|
|
|
|
connect(gradCombo, SIGNAL(activated(int)), SLOT(gradChanged(int)));
|
|
|
|
connect(gradCombo, TQ_SIGNAL(activated(int)), TQ_SLOT(gradChanged(int)));
|
|
|
|
connect(previewColor, SIGNAL(changed(const TQColor &)), gradPreview, SLOT(setColor(const TQColor &)));
|
|
|
|
connect(previewColor, TQ_SIGNAL(changed(const TQColor &)), gradPreview, TQ_SLOT(setColor(const TQColor &)));
|
|
|
|
connect(gradStops, SIGNAL(itemRenamed(TQListViewItem *, int)), SLOT(itemChanged(TQListViewItem *, int)));
|
|
|
|
connect(gradStops, TQ_SIGNAL(itemRenamed(TQListViewItem *, int)), TQ_SLOT(itemChanged(TQListViewItem *, int)));
|
|
|
|
connect(addButton, SIGNAL(clicked()), SLOT(addGradStop()));
|
|
|
|
connect(addButton, TQ_SIGNAL(clicked()), TQ_SLOT(addGradStop()));
|
|
|
|
connect(removeButton, SIGNAL(clicked()), SLOT(removeGradStop()));
|
|
|
|
connect(removeButton, TQ_SIGNAL(clicked()), TQ_SLOT(removeGradStop()));
|
|
|
|
connect(updateButton, SIGNAL(clicked()), SLOT(updateGradStop()));
|
|
|
|
connect(updateButton, TQ_SIGNAL(clicked()), TQ_SLOT(updateGradStop()));
|
|
|
|
connect(gradStops, SIGNAL(selectionChanged()), SLOT(stopSelected()));
|
|
|
|
connect(gradStops, TQ_SIGNAL(selectionChanged()), TQ_SLOT(stopSelected()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void QtCurveConfig::setupShadesTab()
|
|
|
|
void QtCurveConfig::setupShadesTab()
|
|
|
@ -1293,13 +1293,13 @@ void QtCurveConfig::setupShadesTab()
|
|
|
|
setupShade(shade3, shade++);
|
|
|
|
setupShade(shade3, shade++);
|
|
|
|
setupShade(shade4, shade++);
|
|
|
|
setupShade(shade4, shade++);
|
|
|
|
setupShade(shade5, shade++);
|
|
|
|
setupShade(shade5, shade++);
|
|
|
|
connect(customShading, SIGNAL(toggled(bool)), SLOT(updateChanged()));
|
|
|
|
connect(customShading, TQ_SIGNAL(toggled(bool)), TQ_SLOT(updateChanged()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void QtCurveConfig::setupShade(KDoubleNumInput *w, int shade)
|
|
|
|
void QtCurveConfig::setupShade(KDoubleNumInput *w, int shade)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
w->setRange(0.0, 2.0, 0.05, false);
|
|
|
|
w->setRange(0.0, 2.0, 0.05, false);
|
|
|
|
connect(w, SIGNAL(valueChanged(double)), SLOT(updateChanged()));
|
|
|
|
connect(w, TQ_SIGNAL(valueChanged(double)), TQ_SLOT(updateChanged()));
|
|
|
|
shadeVals[shade]=w;
|
|
|
|
shadeVals[shade]=w;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|