]> git.tdb.fi Git - r2c2.git/blobdiff - data/clockdialog.ui
Add a dialog to control the clock
[r2c2.git] / data / clockdialog.ui
diff --git a/data/clockdialog.ui b/data/clockdialog.ui
new file mode 100644 (file)
index 0000000..321b138
--- /dev/null
@@ -0,0 +1,83 @@
+layout
+{
+       margin
+       {
+               top 2;
+               horizontal 8;
+               bottom 6;
+       };
+};
+
+column
+{
+       row
+       {
+               label "lbl_title"
+               {
+                       text "Clock";
+               };
+
+               split;
+
+               action_button "btn_close" 0
+               {
+                       style "red_cross";
+               };
+       };
+
+       label "placeholder";
+
+       row
+       {
+               label ""
+               {
+                       text "Rate";
+               };
+
+               entry "ent_rate";
+
+               button "btn_rate"
+               {
+                       text "Set";
+               };
+
+               split;
+
+               button "btn_stop"
+               {
+                       text "Stop";
+               };
+       };
+
+       row
+       {
+               label ""
+               {
+                       text "Time";
+               };
+
+               entry "ent_hour";
+
+               label ""
+               {
+                       text ":";
+               };
+
+               entry "ent_minute";
+
+               button "btn_time"
+               {
+                       text "Set";
+               };
+       };
+};
+
+indicator "ind_stopped";
+constraint ALIGN_LEFT "btn_stop";
+constraint ALIGN_RIGHT "btn_stop";
+constraint ABOVE "btn_stop";
+
+draghandle "";
+expand true false;
+constraint COPY_HEIGHT "lbl_title";
+constraint LEFT_OF "btn_close";