This commit is contained in:
@@ -1520,7 +1520,7 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
<number>3</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" >
|
||||
@@ -1528,7 +1528,7 @@
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
<number>3</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_10" >
|
||||
@@ -1682,6 +1682,14 @@
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSlider" name="horizontalSlider_speed" >
|
||||
<property name="sizePolicy" >
|
||||
<sizepolicy>
|
||||
<hsizetype>3</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="palette" >
|
||||
<palette>
|
||||
<active>
|
||||
@@ -1741,12 +1749,26 @@
|
||||
<property name="enabled" >
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<property name="sizePolicy" >
|
||||
<sizepolicy>
|
||||
<hsizetype>3</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
<horstretch>10</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="palette" >
|
||||
<palette>
|
||||
<active>
|
||||
|
||||
@@ -2001,7 +2001,7 @@ void mainWindowImpl::startNewHand() {
|
||||
}
|
||||
else {
|
||||
pushButton_break->setDisabled(FALSE);
|
||||
pushButton_break->setText("Start");
|
||||
pushButton_break->setText(tr("Start"));
|
||||
breakAfterActualHand=FALSE;
|
||||
|
||||
blinkingStartButtonAnimationTimer->start(500);
|
||||
@@ -2112,7 +2112,7 @@ void mainWindowImpl::setSpeeds() {
|
||||
|
||||
void mainWindowImpl::breakButtonClicked() {
|
||||
|
||||
if (pushButton_break->text() == "Stop") {
|
||||
if (pushButton_break->text() == tr("Stop")) {
|
||||
pushButton_break->setDisabled(TRUE);
|
||||
breakAfterActualHand=TRUE;
|
||||
}
|
||||
@@ -2124,7 +2124,9 @@ void mainWindowImpl::breakButtonClicked() {
|
||||
tempPalette.setColor(QPalette::ButtonText, QColor(240,240,240));
|
||||
pushButton_break->setPalette(tempPalette);
|
||||
|
||||
pushButton_break->setText("Stop");
|
||||
// QFontMetrics tempMetrics = this->fontMetrics();
|
||||
// int width = tempMetrics()
|
||||
pushButton_break->setText(tr("Stop"));
|
||||
startNewHand();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<qresource prefix="/translations" >
|
||||
<file>resources/translations/pokerth_de.qm</file>
|
||||
<file>resources/translations/pokerth_nl.qm</file>
|
||||
<file>resources/translations/pokerth_fr.qm</file>
|
||||
</qresource>
|
||||
<qresource prefix="/actions" >
|
||||
<file>resources/graphics/actions/action_allin.png</file>
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -77,7 +77,7 @@ int main( int argc, char **argv )
|
||||
QString locale = QLocale::system().name();
|
||||
|
||||
QTranslator translator;
|
||||
translator.load(QString(":/translations/resources/translations/pokerth_") + locale);
|
||||
translator.load(QString(":/translations/resources/translations/pokerth_fr") /*+ locale*/);
|
||||
a.installTranslator(&translator);
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user