Skip to content

Commit 443ff58

Browse files
committed
Buttons should be push, not radio now
1 parent 72c89c8 commit 443ff58

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

src/Interface/Application/SCIRunMainWindow.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ SCIRunMainWindow::SCIRunMainWindow() : firstTimePythonShown_(true)
199199
//TODO: will be a user or network setting
200200
makePipesEuclidean();
201201

202-
connect(largeModuleSizeRadioButton_, SIGNAL(clicked()), this, SLOT(makeModulesLargeSize()));
203-
connect(smallModuleSizeRadioButton_, SIGNAL(clicked()), this, SLOT(makeModulesSmallSize()));
202+
connect(largeModuleSizeToolButton_, SIGNAL(clicked()), this, SLOT(makeModulesLargeSize()));
203+
connect(smallModuleSizeToolButton_, SIGNAL(clicked()), this, SLOT(makeModulesSmallSize()));
204204

205205
for (int i = 0; i < MaxRecentFiles; ++i)
206206
{

src/Interface/Application/SCIRunMainWindow.ui

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -467,32 +467,26 @@
467467
</spacer>
468468
</item>
469469
<item>
470-
<widget class="QRadioButton" name="largeModuleSizeRadioButton_">
470+
<widget class="QToolButton" name="largeModuleSizeToolButton_">
471471
<property name="enabled">
472472
<bool>true</bool>
473473
</property>
474474
<property name="text">
475-
<string>Large</string>
475+
<string>All Large</string>
476476
</property>
477477
<property name="checked">
478-
<bool>true</bool>
478+
<bool>false</bool>
479479
</property>
480-
<attribute name="buttonGroup">
481-
<string notr="true">moduleSizeButtonGroup_</string>
482-
</attribute>
483480
</widget>
484481
</item>
485482
<item>
486-
<widget class="QRadioButton" name="smallModuleSizeRadioButton_">
483+
<widget class="QToolButton" name="smallModuleSizeToolButton_">
487484
<property name="enabled">
488485
<bool>true</bool>
489486
</property>
490487
<property name="text">
491-
<string>Small</string>
488+
<string>All Small</string>
492489
</property>
493-
<attribute name="buttonGroup">
494-
<string notr="true">moduleSizeButtonGroup_</string>
495-
</attribute>
496490
</widget>
497491
</item>
498492
</layout>

0 commit comments

Comments
 (0)