1
0
Fork 0
fgdata/gui/dialogs/timeofday.xml
mfranz c1c86bb8a5 - use <hrule/> and <vrule/> without dummy children
- minor improvements/cosmetics
2007-03-26 15:25:27 +00:00

147 lines
2.7 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>timeofday</name>
<layout>vbox</layout>
<default-padding>4</default-padding>
<modal>false</modal>
<text>
<label>Set Time of Day</label>
</text>
<hrule/>
<group>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<default-padding>0</default-padding>
<text>
<label>UTC</label>
</text>
<text>
<label>000:00:00</label>
<live>true</live>
<property>/sim/time/gmt-string</property>
</text>
<empty><pref-height>6</pref-height></empty>
<hrule/>
<empty><pref-height>6</pref-height></empty>
<text>
<label>local</label>
</text>
<text>
<label>00:00</label>
<live>true</live>
<property>/instrumentation/clock/local-short-string</property>
</text>
<empty><pref-height>6</pref-height></empty>
<hrule/>
<empty><pref-height>6</pref-height></empty>
<empty>
<stretch>true</stretch>
</empty>
<button>
<legend>Clock Time</legend>
<equal>true</equal>
<key>0</key>
<binding>
<command>timeofday</command>
<timeofday>real</timeofday>
</binding>
</button>
</group>
<empty><pref-width>2</pref-width></empty>
<group>
<layout>vbox</layout>
<default-padding>0</default-padding>
<button>
<legend>Dawn</legend>
<equal>true</equal>
<key>1</key>
<binding>
<command>timeofday</command>
<timeofday>dawn</timeofday>
</binding>
</button>
<button>
<legend>Morning</legend>
<equal>true</equal>
<key>2</key>
<binding>
<command>timeofday</command>
<timeofday>morning</timeofday>
</binding>
</button>
<button>
<legend>Noon</legend>
<equal>true</equal>
<key>3</key>
<binding>
<command>timeofday</command>
<timeofday>noon</timeofday>
</binding>
</button>
<button>
<legend>Afternoon</legend>
<equal>true</equal>
<key>4</key>
<binding>
<command>timeofday</command>
<timeofday>afternoon</timeofday>
</binding>
</button>
<button>
<legend>Dusk</legend>
<equal>true</equal>
<key>5</key>
<binding>
<command>timeofday</command>
<timeofday>dusk</timeofday>
</binding>
</button>
<button>
<legend>Evening</legend>
<equal>true</equal>
<key>6</key>
<binding>
<command>timeofday</command>
<timeofday>evening</timeofday>
</binding>
</button>
<button>
<legend>Night</legend>
<equal>true</equal>
<key>7</key>
<binding>
<command>timeofday</command>
<timeofday>midnight</timeofday>
</binding>
</button>
</group>
</group>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>