Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
1ca89e0b
Commit
1ca89e0b
authored
Aug 16, 2015
by
marco
Browse files
Moved counters to a new tab
parent
713a8148
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/sequenceEdit/ui_shortcutstab.h
View file @
1ca89e0b
...
...
@@ -266,6 +266,7 @@ public:
QLabel
*
lbl_Player_aAlwaysRevealTopCard
;
SecuenceEdit
*
Player_aAlwaysRevealTopCard
;
QSpacerItem
*
verticalSpacer_3
;
QWidget
*
tab_4
;
void
setupUi
(
QWidget
*
shortcutsTab
)
{
...
...
@@ -726,9 +727,6 @@ public:
horizontalLayout
->
addWidget
(
groupBox_7
);
gridLayout_3
->
addWidget
(
groupBox_3
,
1
,
0
,
1
,
2
);
verticalSpacer
=
new
QSpacerItem
(
20
,
40
,
QSizePolicy
::
Minimum
,
QSizePolicy
::
Expanding
);
gridLayout_3
->
addItem
(
verticalSpacer
,
2
,
0
,
1
,
1
);
...
...
@@ -1420,6 +1418,13 @@ public:
tabWidget
->
addTab
(
tab_3
,
QString
());
tab_4
=
new
QWidget
(
tabWidget
);
QGridLayout
*
grid
=
new
QGridLayout
(
tab_4
);
grid
->
addWidget
(
groupBox_3
);
grid
->
addItem
(
new
QSpacerItem
(
20
,
40
,
QSizePolicy
::
Minimum
,
QSizePolicy
::
Expanding
),
1
,
0
);
tabWidget
->
addTab
(
tab_4
,
QString
());
gridLayout_9
->
addWidget
(
tabWidget
,
0
,
0
,
1
,
1
);
...
...
@@ -1481,7 +1486,7 @@ public:
lbl_Player_aSCYellow
->
setText
(
QApplication
::
translate
(
"shortcutsTab"
,
"Set"
,
0
));
lbl_Player_aCCYellow
->
setText
(
QApplication
::
translate
(
"shortcutsTab"
,
"Add"
,
0
));
lbl_Player_aRCYellow
->
setText
(
QApplication
::
translate
(
"shortcutsTab"
,
"Remove"
,
0
));
tabWidget
->
setTabText
(
tabWidget
->
indexOf
(
tab
),
QApplication
::
translate
(
"shortcutsTab"
,
"Mainwindow / Deck editor
/ Counters
"
,
0
));
tabWidget
->
setTabText
(
tabWidget
->
indexOf
(
tab
),
QApplication
::
translate
(
"shortcutsTab"
,
"Mainwindow / Deck editor"
,
0
));
groupBox_9
->
setTitle
(
QApplication
::
translate
(
"shortcutsTab"
,
"Power / toughness"
,
0
));
groupBox_12
->
setTitle
(
QApplication
::
translate
(
"shortcutsTab"
,
"Power and toughness"
,
0
));
lbl_Player_aIncPT
->
setText
(
QApplication
::
translate
(
"shortcutsTab"
,
"Add (+1/+1)"
,
0
));
...
...
@@ -1554,6 +1559,7 @@ public:
lbl_Player_aUndoDraw
->
setText
(
QApplication
::
translate
(
"shortcutsTab"
,
"Undo draw"
,
0
));
lbl_Player_aAlwaysRevealTopCard
->
setText
(
QApplication
::
translate
(
"shortcutsTab"
,
"Always reveal top card"
,
0
));
tabWidget
->
setTabText
(
tabWidget
->
indexOf
(
tab_3
),
QApplication
::
translate
(
"shortcutsTab"
,
"Draw / Move / View / Game play"
,
0
));
tabWidget
->
setTabText
(
tabWidget
->
indexOf
(
tab_4
),
QApplication
::
translate
(
"shortcutsTab"
,
"Counters"
,
0
));
}
// retranslateUi
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment