diff options
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/NewDialogCache.ui | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/qtmips_gui/NewDialogCache.ui b/qtmips_gui/NewDialogCache.ui index 8ee6cc2..b636fde 100644 --- a/qtmips_gui/NewDialogCache.ui +++ b/qtmips_gui/NewDialogCache.ui @@ -31,7 +31,11 @@ </widget> </item> <item row="0" column="1"> - <widget class="QSpinBox" name="number_of_sets"/> + <widget class="QSpinBox" name="number_of_sets"> + <property name="minimum"> + <number>1</number> + </property> + </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> @@ -41,7 +45,11 @@ </widget> </item> <item row="1" column="1"> - <widget class="QSpinBox" name="block_size"/> + <widget class="QSpinBox" name="block_size"> + <property name="minimum"> + <number>1</number> + </property> + </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_5"> @@ -51,7 +59,11 @@ </widget> </item> <item row="2" column="1"> - <widget class="QSpinBox" name="degree_of_associativity"/> + <widget class="QSpinBox" name="degree_of_associativity"> + <property name="minimum"> + <number>1</number> + </property> + </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_6"> |