Added tab for Mobile testing.

This commit is contained in:
NissimHadar 2019-01-22 13:26:46 -08:00
parent a734135462
commit 4099fe333b
2 changed files with 9 additions and 4 deletions

View file

@ -98,9 +98,9 @@ void Nitpick::startTestsEvaluation(const bool isRunningFromCommandLine,
void Nitpick::on_tabWidget_currentChanged(int index) {
// Enable the GitHub edit boxes as required
#ifdef Q_OS_WIN
if (index == 0 || index == 2 || index == 3) {
if (index == 0 || index == 2 || index == 3 || index == 4) {
#else
if (index == 0 || index == 1 || index == 2) {
if (index == 0 || index == 1 || index == 2 || index == 3) {
#endif
_ui.userLineEdit->setDisabled(false);
_ui.branchLineEdit->setDisabled(false);

View file

@ -43,7 +43,7 @@
</rect>
</property>
<property name="currentIndex">
<number>0</number>
<number>3</number>
</property>
<widget class="QWidget" name="tab_1">
<attribute name="title">
@ -187,7 +187,7 @@
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Run</string>
<string>Run on Desktop</string>
</attribute>
<widget class="QPushButton" name="runNowButton">
<property name="enabled">
@ -547,6 +547,11 @@
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>Run on Device</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Evaluate</string>