Fix a few graphical glitches

r14.0.x
Timothy Pearson 12 years ago
parent b59fdf2c21
commit 4eb88cc2ef

@ -1591,12 +1591,12 @@ TQWidget* Qt4TDEStyle::initializeInterfaceWidget(TQt3WidgetType wt, const QWidge
|| (wt == TQT3WT_TQRadioButton) || (wt == TQT3WT_TQRadioButton)
|| (wt == TQT3WT_TQCheckBox) || (wt == TQT3WT_TQCheckBox)
|| (wt == TQT3WT_TQPopupMenu) || (wt == TQT3WT_TQPopupMenu)
|| (wt == TQT3WT_TQComboBox) //|| (wt == TQT3WT_TQComboBox)
//|| (wt == TQT3WT_TQSlider) //|| (wt == TQT3WT_TQSlider)
//|| (wt == TQT3WT_TQScrollBar) //|| (wt == TQT3WT_TQScrollBar)
//|| (wt == TQT3WT_TQSpinBox) //|| (wt == TQT3WT_TQSpinBox)
//|| (wt == TQT3WT_TQSpinWidget) //|| (wt == TQT3WT_TQSpinWidget)
|| (wt == TQT3WT_TQTitleBar) //|| (wt == TQT3WT_TQTitleBar)
|| (wt == TQT3WT_TQMenuBar) || (wt == TQT3WT_TQMenuBar)
|| (wt == TQT3WT_TQToolBox) || (wt == TQT3WT_TQToolBox)
|| (wt == TQT3WT_TQToolButton)) { || (wt == TQT3WT_TQToolButton)) {
@ -2920,6 +2920,7 @@ void Qt4TDEStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QP
tqt3opt = TQStyleOption(static_cast<const QStyleOptionFrame*>(opt)->lineWidth, static_cast<const QStyleOptionFrame*>(opt)->midLineWidth); tqt3opt = TQStyleOption(static_cast<const QStyleOptionFrame*>(opt)->lineWidth, static_cast<const QStyleOptionFrame*>(opt)->midLineWidth);
break; break;
case QStyle::PE_PanelButtonBevel: case QStyle::PE_PanelButtonBevel:
sflags = convertQt4ToTQt3SFlags(opt->state, TQT3WT_TQPushButton);
tqtPE = TQStyle::PE_ButtonBevel; tqtPE = TQStyle::PE_ButtonBevel;
break; break;
case QStyle::PE_FrameLineEdit: case QStyle::PE_FrameLineEdit:

Loading…
Cancel
Save