tab order fixes

This commit is contained in:
doitux
2007-10-28 00:33:25 +00:00
parent c98465fd7b
commit 2fa888062f
10 changed files with 685 additions and 573 deletions
+7
View File
@@ -280,6 +280,13 @@
</layout>
</widget>
<tabstops>
<tabstop>spinBox_firstSmallBlind</tabstop>
<tabstop>radioButton_raiseBlindsAtHands</tabstop>
<tabstop>spinBox_raiseSmallBlindEveryHands</tabstop>
<tabstop>radioButton_raiseBlindsAtMinutes</tabstop>
<tabstop>spinBox_raiseSmallBlindEveryMinutes</tabstop>
<tabstop>radioButton_alwaysDoubleBlinds</tabstop>
<tabstop>radioButton_manualBlindsOrder</tabstop>
<tabstop>listWidget_blinds</tabstop>
<tabstop>spinBox_input</tabstop>
<tabstop>pushButton_add</tabstop>
@@ -56,6 +56,10 @@
</item>
</layout>
</widget>
<tabstops>
<tabstop>lineEdit</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
+5 -1
View File
@@ -5,7 +5,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>277</width>
<width>305</width>
<height>341</height>
</rect>
</property>
@@ -236,8 +236,12 @@
<tabstops>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>radioButton_useSavedBlindsSettings</tabstop>
<tabstop>radioButton_changeBlindsSettings</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>spinBox_netTimeOutPlayerAction</tabstop>
<tabstop>checkBox_Password</tabstop>
<tabstop>lineEdit_Password</tabstop>
<tabstop>pushButton_createGame</tabstop>
<tabstop>pushButton_cancel</tabstop>
</tabstops>
+3 -1
View File
@@ -5,7 +5,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>277</width>
<width>305</width>
<height>314</height>
</rect>
</property>
@@ -185,6 +185,8 @@
<tabstops>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>radioButton_useSavedBlindsSettings</tabstop>
<tabstop>radioButton_changeBlindsSettings</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>spinBox_netTimeOutPlayerAction</tabstop>
<tabstop>pushButton_createGame</tabstop>
+145 -92
View File
@@ -1842,15 +1842,53 @@
<property name="title" >
<string/>
</property>
<widget class="QLabel" name="textLabel_Button0" >
<property name="geometry" >
<rect>
<x>30</x>
<y>33</y>
<width>40</width>
<height>40</height>
</rect>
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>28</number>
</property>
<property name="topMargin" >
<number>28</number>
</property>
<property name="rightMargin" >
<number>25</number>
</property>
<property name="bottomMargin" >
<number>22</number>
</property>
<property name="horizontalSpacing" >
<number>11</number>
</property>
<property name="verticalSpacing" >
<number>0</number>
</property>
<item rowspan="3" row="0" column="0" >
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>0</number>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<size>
<width>5</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="textLabel_Button0" >
<property name="minimumSize" >
<size>
<width>40</width>
@@ -1870,76 +1908,50 @@
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="MySetLabel" name="textLabel_Set0" >
<property name="geometry" >
<rect>
<x>94</x>
<y>28</y>
<width>118</width>
<height>20</height>
</rect>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="maximumSize" >
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" >
<size>
<width>16777215</width>
<width>5</width>
<height>20</height>
</size>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</spacer>
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
</widget>
<widget class="QFrame" name="frame_Cards0" >
<property name="geometry" >
<rect>
<x>94</x>
<y>53</y>
<width>118</width>
<height>111</height>
</rect>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="minimumSize" >
<property name="sizeHint" >
<size>
<width>118</width>
<height>111</height>
<width>20</width>
<height>28</height>
</size>
</property>
<widget class="MyStatusLabel" name="textLabel_Status0" >
<property name="geometry" >
<rect>
<x>9</x>
<y>35</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="textInteractionFlags" >
<set>Qt::NoTextInteraction</set>
</property>
</widget>
</widget>
</spacer>
</item>
<item>
<widget class="QFrame" name="frame_6" >
<property name="geometry" >
<rect>
<x>30</x>
<y>90</y>
<property name="minimumSize" >
<size>
<width>50</width>
<height>34</height>
</rect>
</size>
</property>
<property name="minimumSize" >
<property name="maximumSize" >
<size>
<width>50</width>
<height>34</height>
@@ -1979,15 +1991,9 @@
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="label_Avatar0" >
<property name="geometry" >
<rect>
<x>30</x>
<y>130</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize" >
<size>
<width>50</width>
@@ -2007,35 +2013,27 @@
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_PlayerName0" >
<property name="geometry" >
<rect>
<x>94</x>
<y>160</y>
<width>118</width>
<height>23</height>
</rect>
</property>
</item>
</layout>
</item>
<item row="0" column="1" >
<widget class="MySetLabel" name="textLabel_Set0" >
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>23</height>
<height>20</height>
</size>
</property>
<property name="alignment" >
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
</widget>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>227</x>
<y>30</y>
<width>144</width>
<height>160</height>
</rect>
</property>
</item>
<item rowspan="3" row="0" column="2" >
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>1</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
@@ -2400,9 +2398,64 @@
</layout>
</item>
</layout>
</item>
<item row="1" column="1" >
<widget class="QFrame" name="frame_Cards0" >
<property name="minimumSize" >
<size>
<width>118</width>
<height>111</height>
</size>
</property>
<widget class="MyStatusLabel" name="textLabel_Status0" >
<property name="geometry" >
<rect>
<x>9</x>
<y>35</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="minimumSize" >
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="textInteractionFlags" >
<set>Qt::NoTextInteraction</set>
</property>
</widget>
</widget>
</item>
<item row="2" column="1" >
<widget class="QLabel" name="label_PlayerName0" >
<property name="minimumSize" >
<size>
<width>0</width>
<height>22</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="alignment" >
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
+3 -5
View File
@@ -3419,13 +3419,11 @@ bool mainWindowImpl::eventFilter(QObject *obj, QEvent *event)
{
QKeyEvent *keyEvent = static_cast<QKeyEvent*>(event);
if (/*obj == lineEdit_ChatInput && lineEdit_ChatInput->text() != "" && */event->type() == QEvent::KeyPress && keyEvent->key() == Qt::Key_Tab)
{
if (/*obj == lineEdit_ChatInput && lineEdit_ChatInput->text() != "" && */event->type() == QEvent::KeyPress && keyEvent->key() == Qt::Key_Tab) {
myChat->nickAutoCompletition();
return true;
}
else if (event->type() == QEvent::Close)
{
else if (event->type() == QEvent::Close) {
event->ignore();
quitPokerTH();
return true;
@@ -3633,7 +3631,7 @@ void mainWindowImpl::myButtonsCheckable(bool state) {
void mainWindowImpl::closeEvent(QCloseEvent* /*event*/) { quitPokerTH(); }
void mainWindowImpl::showMaximized () {
showFullScreen ();
this->showFullScreen ();
}
void mainWindowImpl::quitPokerTH() {
+2
View File
@@ -126,6 +126,8 @@
<tabstops>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>radioButton_useSavedBlindsSettings</tabstop>
<tabstop>radioButton_changeBlindsSettings</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
+3
View File
@@ -128,7 +128,10 @@
</layout>
</widget>
<tabstops>
<tabstop>groupBox</tabstop>
<tabstop>comboBox_avatarViewCategorie</tabstop>
<tabstop>listWidget</tabstop>
<tabstop>groupBox_2</tabstop>
<tabstop>lineEdit</tabstop>
<tabstop>pushButton_OpenAvatarFile</tabstop>
<tabstop>buttonBox</tabstop>
+57 -22
View File
@@ -3002,6 +3002,7 @@ p, li { white-space: pre-wrap; }
</customwidgets>
<tabstops>
<tabstop>listWidget</tabstop>
<tabstop>comboBox_switchLanguage</tabstop>
<tabstop>checkBox_showIntro</tabstop>
<tabstop>checkBox_showLeftToolbox</tabstop>
<tabstop>checkBox_showRightToolbox</tabstop>
@@ -3009,25 +3010,58 @@ p, li { white-space: pre-wrap; }
<tabstop>checkBox_showFadeOutCardsAnimation</tabstop>
<tabstop>checkBox_showFlipCardsAnimation</tabstop>
<tabstop>checkBox_showBlindButtons</tabstop>
<tabstop>checkBox_antiPeekMode</tabstop>
<tabstop>checkBox_alternateFKeysUserActionMode</tabstop>
<tabstop>radioButton_flipsideTux</tabstop>
<tabstop>radioButton_flipsideOwn</tabstop>
<tabstop>lineEdit_OwnFlipsideFilename</tabstop>
<tabstop>pushButton_openFlipsidePicture</tabstop>
<tabstop>groupBox_playSoundEffects</tabstop>
<tabstop>horizontalSlider_soundVolume</tabstop>
<tabstop>checkBox_playGameActions</tabstop>
<tabstop>checkBox_playLobbyChatNotification</tabstop>
<tabstop>checkBox_playNetworkGameNotification</tabstop>
<tabstop>spinBox_quantityPlayers</tabstop>
<tabstop>spinBox_startCash</tabstop>
<tabstop>spinBox_firstSmallBlind</tabstop>
<tabstop>radioButton_raiseBlindsAtHands</tabstop>
<tabstop>spinBox_raiseSmallBlindEveryHands</tabstop>
<tabstop>radioButton_raiseBlindsAtMinutes</tabstop>
<tabstop>spinBox_raiseSmallBlindEveryMinutes</tabstop>
<tabstop>radioButton_alwaysDoubleBlinds</tabstop>
<tabstop>radioButton_manualBlindsOrder</tabstop>
<tabstop>pushButton_editManualBlindsOrder</tabstop>
<tabstop>spinBox_gameSpeed</tabstop>
<tabstop>checkBox_pauseBetweenHands</tabstop>
<tabstop>checkBox_showGameSettingsDialogOnNewGame</tabstop>
<tabstop>spinBox_netQuantityPlayers</tabstop>
<tabstop>spinBox_netStartCash</tabstop>
<tabstop>spinBox_netFirstSmallBlind</tabstop>
<tabstop>radioButton_netRaiseBlindsAtHands</tabstop>
<tabstop>spinBox_netRaiseSmallBlindEveryHands</tabstop>
<tabstop>radioButton_netRaiseBlindsAtMinutes</tabstop>
<tabstop>spinBox_netRaiseSmallBlindEveryMinutes</tabstop>
<tabstop>radioButton_netAlwaysDoubleBlinds</tabstop>
<tabstop>radioButton_netManualBlindsOrder</tabstop>
<tabstop>pushButton_netEditManualBlindsOrder</tabstop>
<tabstop>spinBox_netGameSpeed</tabstop>
<tabstop>spinBox_netTimeOutPlayerAction</tabstop>
<tabstop>spinBox_serverPort</tabstop>
<tabstop>lineEdit_serverPassword</tabstop>
<tabstop>checkBox_useIpv6</tabstop>
<tabstop>checkBox_useSctp</tabstop>
<tabstop>lineEdit_InternetServerAddress</tabstop>
<tabstop>spinBox_InternetServerPort</tabstop>
<tabstop>lineEdit_InternetServerPassword</tabstop>
<tabstop>checkBox_InternetServerUseIpv6</tabstop>
<tabstop>checkBox_InternetServerUseSctp</tabstop>
<tabstop>checkBox_UseInternetGamePassword</tabstop>
<tabstop>lineEdit_InternetGamePassword</tabstop>
<tabstop>groupBox_lobbyChat</tabstop>
<tabstop>lineEdit_IRCServerAddress</tabstop>
<tabstop>spinBox_IRCServerPort</tabstop>
<tabstop>lineEdit_IRCChannel</tabstop>
<tabstop>checkBox_IRCServerUseIpv6</tabstop>
<tabstop>pushButton_HumanPlayerAvatar</tabstop>
<tabstop>lineEdit_HumanPlayerName</tabstop>
<tabstop>pushButton_Opponent1Avatar</tabstop>
@@ -3042,6 +3076,7 @@ p, li { white-space: pre-wrap; }
<tabstop>lineEdit_Opponent5Name</tabstop>
<tabstop>pushButton_Opponent6Avatar</tabstop>
<tabstop>lineEdit_Opponent6Name</tabstop>
<tabstop>groupBox_logOnOff</tabstop>
<tabstop>lineEdit_logDir</tabstop>
<tabstop>pushButton_openLogDir</tabstop>
<tabstop>spinBox_logStoreDuration</tabstop>
@@ -3073,12 +3108,12 @@ p, li { white-space: pre-wrap; }
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>360</x>
<y>395</y>
<x>361</x>
<y>366</y>
</hint>
<hint type="destinationlabel" >
<x>571</x>
<y>395</y>
<y>366</y>
</hint>
</hints>
</connection>
@@ -3089,12 +3124,12 @@ p, li { white-space: pre-wrap; }
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>360</x>
<y>395</y>
<x>361</x>
<y>366</y>
</hint>
<hint type="destinationlabel" >
<x>600</x>
<y>396</y>
<y>368</y>
</hint>
</hints>
</connection>
@@ -3137,12 +3172,12 @@ p, li { white-space: pre-wrap; }
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>314</x>
<y>327</y>
<x>304</x>
<y>38</y>
</hint>
<hint type="destinationlabel" >
<x>515</x>
<y>328</y>
<x>304</x>
<y>38</y>
</hint>
</hints>
</connection>
@@ -3153,12 +3188,12 @@ p, li { white-space: pre-wrap; }
<slot>setNum(int)</slot>
<hints>
<hint type="sourcelabel" >
<x>539</x>
<y>86</y>
<x>304</x>
<y>38</y>
</hint>
<hint type="destinationlabel" >
<x>310</x>
<y>89</y>
<x>304</x>
<y>38</y>
</hint>
</hints>
</connection>
@@ -3169,12 +3204,12 @@ p, li { white-space: pre-wrap; }
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>557</x>
<y>219</y>
<x>304</x>
<y>38</y>
</hint>
<hint type="destinationlabel" >
<x>498</x>
<y>248</y>
<x>304</x>
<y>38</y>
</hint>
</hints>
</connection>
@@ -3185,12 +3220,12 @@ p, li { white-space: pre-wrap; }
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>463</x>
<y>212</y>
<x>304</x>
<y>38</y>
</hint>
<hint type="destinationlabel" >
<x>521</x>
<y>244</y>
<x>304</x>
<y>38</y>
</hint>
</hints>
</connection>
+4
View File
@@ -171,7 +171,11 @@
</layout>
</widget>
<tabstops>
<tabstop>treeWidget</tabstop>
<tabstop>checkBox_fillUpWithComputerOpponents</tabstop>
<tabstop>pushButton_Kick</tabstop>
<tabstop>textBrowser_ChatDisplay</tabstop>
<tabstop>lineEdit_ChatInput</tabstop>
<tabstop>pushButton_startGame</tabstop>
<tabstop>pushButton_cancel</tabstop>
</tabstops>