Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/gui.stetic @ 70:4b82515586ac
Re #60: Add UI to add/remove/edit weapons in GTK
* Fix widget enabling/disabling (sometimes enabling ratio input for numeric limit)
* Correct behaviour of Edit dialog (setting wrong value on edit)
* Add setting of limits based on specific equipment item to base dialog controller
* Make sure that we catch all radio button click events from Edit dialog
* Add ability to ignore and listen to widgets to make sure that changes don't cascade
TODO: See if code can be tidied up and common classes created
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 06 Nov 2010 17:03:13 +0000 |
parents | 7028e24b67ec |
children | 91354245218a |
comparison
equal
deleted
inserted
replaced
69:3b4a646b4054 | 70:4b82515586ac |
---|---|
1446 <child> | 1446 <child> |
1447 <widget class="Gtk.RadioButton" id="rbEquipAll"> | 1447 <widget class="Gtk.RadioButton" id="rbEquipAll"> |
1448 <property name="MemberName" /> | 1448 <property name="MemberName" /> |
1449 <property name="CanFocus">True</property> | 1449 <property name="CanFocus">True</property> |
1450 <property name="Label" translatable="yes" /> | 1450 <property name="Label" translatable="yes" /> |
1451 <property name="Active">True</property> | |
1451 <property name="DrawIndicator">True</property> | 1452 <property name="DrawIndicator">True</property> |
1452 <property name="HasLabel">True</property> | 1453 <property name="HasLabel">True</property> |
1453 <property name="UseUnderline">True</property> | 1454 <property name="UseUnderline">True</property> |
1454 <property name="Group">group1</property> | 1455 <property name="Group">group1</property> |
1456 <signal name="Clicked" handler="RadioButtonClicked" /> | |
1455 </widget> | 1457 </widget> |
1456 <packing> | 1458 <packing> |
1457 <property name="TopAttach">2</property> | 1459 <property name="TopAttach">2</property> |
1458 <property name="BottomAttach">3</property> | 1460 <property name="BottomAttach">3</property> |
1459 <property name="AutoSize">True</property> | 1461 <property name="AutoSize">True</property> |
1497 <property name="Label" translatable="yes" /> | 1499 <property name="Label" translatable="yes" /> |
1498 <property name="DrawIndicator">True</property> | 1500 <property name="DrawIndicator">True</property> |
1499 <property name="HasLabel">True</property> | 1501 <property name="HasLabel">True</property> |
1500 <property name="UseUnderline">True</property> | 1502 <property name="UseUnderline">True</property> |
1501 <property name="Group">group1</property> | 1503 <property name="Group">group1</property> |
1504 <signal name="Clicked" handler="RadioButtonClicked" /> | |
1502 </widget> | 1505 </widget> |
1503 <packing> | 1506 <packing> |
1504 <property name="TopAttach">1</property> | 1507 <property name="TopAttach">1</property> |
1505 <property name="BottomAttach">2</property> | 1508 <property name="BottomAttach">2</property> |
1506 <property name="AutoSize">True</property> | 1509 <property name="AutoSize">True</property> |