enable scroll wheel bet value change

This commit is contained in:
doitux
2010-09-14 10:28:35 +00:00
parent 3a9db4957b
commit 9551bbe4a1
5 changed files with 50 additions and 77 deletions
+2 -2
View File
@@ -794,9 +794,9 @@ void GameTableStyleReader::setPlayerSeatActiveStyle(QGroupBox *ps)
}
}
void GameTableStyleReader::setBetValueInputStyle(QLineEdit *bv)
void GameTableStyleReader::setBetValueInputStyle(QSpinBox *bv)
{
bv->setStyleSheet("QLineEdit { "+ font2String +" font-size: "+betValueFontSize+"px; font-weight: bold; background-color: #"+BetInputBgColor+"; color: #"+BetInputTextColor+"; } QLineEdit:disabled { background-color: #"+BetInputDisabledBgColor+"; color: #"+BetInputDisabledTextColor+" }");
bv->setStyleSheet("QSpinBox { "+ font2String +" font-size: "+betValueFontSize+"px; font-weight: bold; background-color: #"+BetInputBgColor+"; color: #"+BetInputTextColor+"; } QSpinBox:disabled { background-color: #"+BetInputDisabledBgColor+"; color: #"+BetInputDisabledTextColor+" }");
}
void GameTableStyleReader::setAwayRadioButtonsStyle(QRadioButton *rb)
+1 -1
View File
@@ -114,7 +114,7 @@ public:
void setSpeedStringStyle(QLabel*);
void setVoteButtonStyle(QPushButton*);
void setVoteStringsStyle(QLabel*);
void setBetValueInputStyle(QLineEdit*);
void setBetValueInputStyle(QSpinBox*);
void setSliderStyle(QSlider*);
void setTabWidgetStyle(QTabWidget*, QTabBar*);