~dpm/qreator/snap

« back to all changes in this revision

Viewing changes to data/ui/QreatorWindow.ui

  • Committer: Stefan Schwarzburg
  • Date: 2012-11-22 12:37:55 UTC
  • mfrom: (89.10.28 qreator_sms)
  • Revision ID: stefan.schwarzburg@googlemail.com-20121122123755-92o6seo59l93xvz5
added missing on_prepared callback to QRCodeSMSGtk.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  <!-- interface-requires gtk+ 3.0 -->
4
4
  <!-- interface-requires qreator_window 1.0 -->
5
5
  <!-- interface-local-resource-path ../media -->
 
6
  <object class="GtkAction" id="action1"/>
 
7
  <object class="GtkColorSelectionDialog" id="color_selection_dialog">
 
8
    <property name="can_focus">False</property>
 
9
    <property name="border_width">5</property>
 
10
    <property name="type_hint">dialog</property>
 
11
    <child internal-child="vbox">
 
12
      <object class="GtkBox" id="colorselectiondialog-vbox1">
 
13
        <property name="can_focus">False</property>
 
14
        <property name="orientation">vertical</property>
 
15
        <property name="spacing">2</property>
 
16
        <child internal-child="action_area">
 
17
          <object class="GtkButtonBox" id="colorselectiondialog-action_area1">
 
18
            <property name="can_focus">False</property>
 
19
            <property name="layout_style">end</property>
 
20
            <child internal-child="cancel_button">
 
21
              <object class="GtkButton" id="colorselectiondialog-cancel_button1">
 
22
                <property name="label">gtk-cancel</property>
 
23
                <property name="can_focus">True</property>
 
24
                <property name="can_default">True</property>
 
25
                <property name="receives_default">True</property>
 
26
                <property name="use_underline">True</property>
 
27
                <property name="use_stock">True</property>
 
28
              </object>
 
29
              <packing>
 
30
                <property name="expand">False</property>
 
31
                <property name="fill">True</property>
 
32
                <property name="pack_type">end</property>
 
33
                <property name="position">0</property>
 
34
              </packing>
 
35
            </child>
 
36
            <child internal-child="ok_button">
 
37
              <object class="GtkButton" id="colorselectiondialog-ok_button1">
 
38
                <property name="label">_Selecciona</property>
 
39
                <property name="can_focus">True</property>
 
40
                <property name="can_default">True</property>
 
41
                <property name="receives_default">True</property>
 
42
                <property name="use_underline">True</property>
 
43
                <property name="use_stock">True</property>
 
44
              </object>
 
45
              <packing>
 
46
                <property name="expand">False</property>
 
47
                <property name="fill">True</property>
 
48
                <property name="pack_type">end</property>
 
49
                <property name="position">1</property>
 
50
              </packing>
 
51
            </child>
 
52
            <child internal-child="help_button">
 
53
              <object class="GtkButton" id="colorselectiondialog-help_button1">
 
54
                <property name="label">gtk-help</property>
 
55
                <property name="can_focus">True</property>
 
56
                <property name="can_default">True</property>
 
57
                <property name="receives_default">True</property>
 
58
                <property name="use_underline">True</property>
 
59
                <property name="use_stock">True</property>
 
60
              </object>
 
61
              <packing>
 
62
                <property name="expand">False</property>
 
63
                <property name="fill">True</property>
 
64
                <property name="pack_type">end</property>
 
65
                <property name="position">2</property>
 
66
                <property name="secondary">True</property>
 
67
              </packing>
 
68
            </child>
 
69
          </object>
 
70
          <packing>
 
71
            <property name="expand">False</property>
 
72
            <property name="fill">True</property>
 
73
            <property name="pack_type">end</property>
 
74
            <property name="position">0</property>
 
75
          </packing>
 
76
        </child>
 
77
        <child internal-child="color_selection">
 
78
          <object class="GtkColorSelection" id="colorselectiondialog-color_selection1">
 
79
            <property name="can_focus">False</property>
 
80
            <property name="border_width">5</property>
 
81
            <property name="orientation">vertical</property>
 
82
            <signal name="color-changed" handler="on_colorselectiondialog_color_selection1_color_changed" swapped="no"/>
 
83
          </object>
 
84
          <packing>
 
85
            <property name="expand">False</property>
 
86
            <property name="fill">True</property>
 
87
            <property name="position">1</property>
 
88
          </packing>
 
89
        </child>
 
90
        <child>
 
91
          <object class="GtkGrid" id="grid_radio">
 
92
            <property name="visible">True</property>
 
93
            <property name="can_focus">False</property>
 
94
            <child>
 
95
              <object class="GtkRadioButton" id="radiobuttonfg">
 
96
                <property name="label" translatable="yes">Change foreground color</property>
 
97
                <property name="visible">True</property>
 
98
                <property name="can_focus">True</property>
 
99
                <property name="receives_default">False</property>
 
100
                <property name="xalign">0</property>
 
101
                <property name="active">True</property>
 
102
                <property name="draw_indicator">True</property>
 
103
              </object>
 
104
              <packing>
 
105
                <property name="left_attach">0</property>
 
106
                <property name="top_attach">0</property>
 
107
                <property name="width">1</property>
 
108
                <property name="height">1</property>
 
109
              </packing>
 
110
            </child>
 
111
            <child>
 
112
              <object class="GtkRadioButton" id="radiobuttonbg">
 
113
                <property name="label" translatable="yes">Change background color</property>
 
114
                <property name="visible">True</property>
 
115
                <property name="can_focus">True</property>
 
116
                <property name="receives_default">False</property>
 
117
                <property name="xalign">0</property>
 
118
                <property name="draw_indicator">True</property>
 
119
                <property name="group">radiobuttonfg</property>
 
120
              </object>
 
121
              <packing>
 
122
                <property name="left_attach">0</property>
 
123
                <property name="top_attach">1</property>
 
124
                <property name="width">1</property>
 
125
                <property name="height">1</property>
 
126
              </packing>
 
127
            </child>
 
128
          </object>
 
129
          <packing>
 
130
            <property name="expand">False</property>
 
131
            <property name="fill">True</property>
 
132
            <property name="position">2</property>
 
133
          </packing>
 
134
        </child>
 
135
      </object>
 
136
    </child>
 
137
    <action-widgets>
 
138
      <action-widget response="0">colorselectiondialog-cancel_button1</action-widget>
 
139
      <action-widget response="1">colorselectiondialog-ok_button1</action-widget>
 
140
      <action-widget response="2">colorselectiondialog-help_button1</action-widget>
 
141
    </action-widgets>
 
142
  </object>
6
143
  <object class="GtkImage" id="image1">
7
144
    <property name="visible">True</property>
8
145
    <property name="can_focus">False</property>
26
163
            <property name="can_focus">False</property>
27
164
            <child>
28
165
              <object class="GtkMenuItem" id="mnu_file">
29
 
                <property name="use_action_appearance">False</property>
30
166
                <property name="visible">True</property>
31
167
                <property name="can_focus">False</property>
32
168
                <property name="label" translatable="yes">_File</property>
38
174
                    <child>
39
175
                      <object class="GtkImageMenuItem" id="mnu_new">
40
176
                        <property name="label">gtk-new</property>
41
 
                        <property name="use_action_appearance">False</property>
42
177
                        <property name="visible">True</property>
43
178
                        <property name="can_focus">False</property>
44
179
                        <property name="use_underline">True</property>
55
190
                    <child>
56
191
                      <object class="GtkImageMenuItem" id="mnu_close">
57
192
                        <property name="label">gtk-close</property>
58
 
                        <property name="use_action_appearance">False</property>
59
193
                        <property name="visible">True</property>
60
194
                        <property name="can_focus">False</property>
61
195
                        <property name="use_underline">True</property>
69
203
            </child>
70
204
            <child>
71
205
              <object class="GtkMenuItem" id="mnu_edit">
72
 
                <property name="use_action_appearance">False</property>
73
206
                <property name="can_focus">False</property>
74
207
                <property name="label" translatable="yes">_Edit</property>
75
208
                <property name="use_underline">True</property>
80
213
                    <child>
81
214
                      <object class="GtkImageMenuItem" id="mnu_copy">
82
215
                        <property name="label">gtk-copy</property>
83
 
                        <property name="use_action_appearance">False</property>
84
216
                        <property name="can_focus">False</property>
85
217
                        <property name="use_underline">True</property>
86
218
                        <property name="use_stock">True</property>
96
228
                    <child>
97
229
                      <object class="GtkImageMenuItem" id="mnu_preferences">
98
230
                        <property name="label">gtk-preferences</property>
99
 
                        <property name="use_action_appearance">False</property>
100
231
                        <property name="can_focus">False</property>
101
232
                        <property name="use_underline">True</property>
102
233
                        <property name="use_stock">True</property>
120
251
            <property name="hexpand">True</property>
121
252
            <property name="icon_size">5</property>
122
253
            <child>
123
 
              <object class="GtkRadioToolButton" id="toolbuttonNew">
124
 
                <property name="use_action_appearance">False</property>
 
254
              <object class="GtkToggleToolButton" id="toolbuttonNew">
125
255
                <property name="visible">True</property>
126
256
                <property name="can_focus">False</property>
127
257
                <property name="tooltip_text" translatable="yes">Create a new QR code</property>
128
258
                <property name="margin_left">12</property>
129
259
                <property name="margin_top">3</property>
130
260
                <property name="margin_bottom">3</property>
131
 
                <property name="use_action_appearance">False</property>
132
261
                <property name="is_important">True</property>
133
262
                <property name="label" translatable="yes">New</property>
134
263
                <property name="use_underline">True</property>
140
269
              </packing>
141
270
            </child>
142
271
            <child>
143
 
              <object class="GtkRadioToolButton" id="toolbuttonHistory">
144
 
                <property name="use_action_appearance">False</property>
 
272
              <object class="GtkToggleToolButton" id="toolbuttonHistory">
145
273
                <property name="can_focus">False</property>
146
274
                <property name="tooltip_text" translatable="yes">Browse QR codes history</property>
147
 
                <property name="use_action_appearance">False</property>
148
275
                <property name="label" translatable="yes">History</property>
149
276
                <property name="use_underline">True</property>
150
277
                <property name="icon_name">document-open-recent</property>
151
 
                <property name="group">toolbuttonNew</property>
152
278
              </object>
153
279
              <packing>
154
280
                <property name="expand">False</property>
156
282
              </packing>
157
283
            </child>
158
284
            <child>
159
 
              <object class="GtkRadioToolButton" id="toolbuttonAbout">
160
 
                <property name="use_action_appearance">False</property>
 
285
              <object class="GtkToggleToolButton" id="toolbuttonAbout">
161
286
                <property name="visible">True</property>
162
287
                <property name="can_focus">False</property>
163
288
                <property name="tooltip_text" translatable="yes">About this application</property>
164
 
                <property name="use_action_appearance">False</property>
165
289
                <property name="label" translatable="yes">About</property>
166
290
                <property name="use_underline">True</property>
167
291
                <property name="icon_widget">image1</property>
168
 
                <property name="group">toolbuttonNew</property>
169
292
              </object>
170
293
              <packing>
171
294
                <property name="expand">False</property>
292
415
                        <child>
293
416
                          <object class="GtkLinkButton" id="linkbuttonTranslate">
294
417
                            <property name="label" translatable="yes">Translate it!</property>
295
 
                            <property name="use_action_appearance">False</property>
296
418
                            <property name="visible">True</property>
297
419
                            <property name="can_focus">True</property>
298
420
                            <property name="receives_default">True</property>
299
421
                            <property name="has_tooltip">True</property>
300
422
                            <property name="margin_top">3</property>
301
423
                            <property name="margin_bottom">3</property>
302
 
                            <property name="use_action_appearance">False</property>
303
424
                            <property name="relief">none</property>
304
425
                            <property name="uri">https://translations.launchpad.net/qreator</property>
305
426
                          </object>
313
434
                        <child>
314
435
                          <object class="GtkLinkButton" id="linkbuttonReportBug">
315
436
                            <property name="label" translatable="yes">Report a bug!</property>
316
 
                            <property name="use_action_appearance">False</property>
317
437
                            <property name="visible">True</property>
318
438
                            <property name="can_focus">True</property>
319
439
                            <property name="receives_default">True</property>
320
440
                            <property name="has_tooltip">True</property>
321
441
                            <property name="margin_top">3</property>
322
442
                            <property name="margin_bottom">3</property>
323
 
                            <property name="use_action_appearance">False</property>
324
443
                            <property name="relief">none</property>
325
444
                            <property name="uri">https://bugs.launchpad.net/qreator/+filebug</property>
326
445
                          </object>
334
453
                        <child>
335
454
                          <object class="GtkLinkButton" id="linkbuttonContributeCode">
336
455
                            <property name="label" translatable="yes">Contribute code!</property>
337
 
                            <property name="use_action_appearance">False</property>
338
456
                            <property name="visible">True</property>
339
457
                            <property name="can_focus">True</property>
340
458
                            <property name="receives_default">True</property>
341
459
                            <property name="has_tooltip">True</property>
342
460
                            <property name="margin_top">3</property>
343
 
                            <property name="use_action_appearance">False</property>
344
461
                            <property name="relief">none</property>
345
462
                            <property name="uri">https://code.launchpad.net/qreator</property>
346
463
                          </object>
459
576
                <property name="visible">True</property>
460
577
                <property name="can_focus">False</property>
461
578
                <child>
462
 
                  <object class="GtkDrawingArea" id="qr_drawingarea">
463
 
                    <property name="visible">True</property>
464
 
                    <property name="can_focus">False</property>
465
 
                    <property name="margin_left">12</property>
466
 
                    <property name="margin_right">12</property>
467
 
                    <property name="margin_top">6</property>
468
 
                    <property name="margin_bottom">6</property>
469
 
                    <property name="hexpand">True</property>
470
 
                    <property name="vexpand">True</property>
471
 
                  </object>
472
 
                  <packing>
473
 
                    <property name="left_attach">0</property>
474
 
                    <property name="top_attach">1</property>
475
 
                    <property name="width">1</property>
476
 
                    <property name="height">1</property>
477
 
                  </packing>
478
 
                </child>
479
 
                <child>
480
579
                  <object class="GtkToolbar" id="qr_toolbar">
481
580
                    <property name="visible">True</property>
482
581
                    <property name="can_focus">False</property>
483
582
                    <property name="margin_left">12</property>
484
583
                    <property name="margin_top">6</property>
485
584
                    <property name="margin_bottom">6</property>
 
585
                    <property name="toolbar_style">icons</property>
486
586
                    <property name="icon_size">5</property>
487
587
                    <child>
488
588
                      <object class="GtkToolButton" id="toolbuttonSave">
489
 
                        <property name="use_action_appearance">False</property>
490
589
                        <property name="visible">True</property>
491
590
                        <property name="can_focus">False</property>
492
591
                        <property name="has_tooltip">True</property>
493
592
                        <property name="tooltip_markup" translatable="yes">Save</property>
494
593
                        <property name="tooltip_text" translatable="yes">Save QR code to disk</property>
495
 
                        <property name="use_action_appearance">False</property>
496
594
                        <property name="label" translatable="yes">Save</property>
497
595
                        <property name="use_underline">True</property>
498
596
                        <property name="icon_name">document-save-symbolic</property>
504
602
                    </child>
505
603
                    <child>
506
604
                      <object class="GtkToolButton" id="toolbuttonCopy">
507
 
                        <property name="use_action_appearance">False</property>
508
605
                        <property name="visible">True</property>
509
606
                        <property name="can_focus">False</property>
510
607
                        <property name="has_tooltip">True</property>
511
608
                        <property name="tooltip_markup" translatable="yes">Copy</property>
512
609
                        <property name="tooltip_text" translatable="yes">Copy QR code to clipboard</property>
513
 
                        <property name="use_action_appearance">False</property>
514
610
                        <property name="label" translatable="yes">Copy</property>
515
611
                        <property name="use_underline">True</property>
516
612
                        <property name="icon_name">edit-copy-symbolic</property>
521
617
                      </packing>
522
618
                    </child>
523
619
                    <child>
524
 
                      <object class="GtkToolButton" id="toolbuttonEdit">
 
620
                      <object class="GtkToggleToolButton" id="toolbuttonEdit">
525
621
                        <property name="use_action_appearance">False</property>
 
622
                        <property name="related_action">action1</property>
 
623
                        <property name="visible">True</property>
526
624
                        <property name="can_focus">False</property>
527
625
                        <property name="has_tooltip">True</property>
528
626
                        <property name="tooltip_markup" translatable="yes">Edit</property>
529
 
                        <property name="tooltip_text" translatable="yes">Edit</property>
530
 
                        <property name="use_action_appearance">False</property>
531
 
                        <property name="label">Edit</property>
 
627
                        <property name="tooltip_text" translatable="yes">Edit QR code</property>
 
628
                        <property name="label" translatable="yes">Edit</property>
532
629
                        <property name="use_underline">True</property>
 
630
                        <property name="icon_name">text-editor-symbolic</property>
533
631
                      </object>
534
632
                      <packing>
535
633
                        <property name="expand">False</property>
563
661
                    <property name="height">1</property>
564
662
                  </packing>
565
663
                </child>
 
664
                <child>
 
665
                  <object class="GtkGrid" id="grid1">
 
666
                    <property name="visible">True</property>
 
667
                    <property name="can_focus">False</property>
 
668
                    <property name="margin_right">12</property>
 
669
                    <property name="hexpand">True</property>
 
670
                    <property name="vexpand">True</property>
 
671
                    <child>
 
672
                      <object class="GtkDrawingArea" id="qr_drawingarea">
 
673
                        <property name="visible">True</property>
 
674
                        <property name="can_focus">False</property>
 
675
                        <property name="margin_left">12</property>
 
676
                        <property name="margin_top">6</property>
 
677
                        <property name="margin_bottom">6</property>
 
678
                        <property name="hexpand">True</property>
 
679
                        <property name="vexpand">True</property>
 
680
                      </object>
 
681
                      <packing>
 
682
                        <property name="left_attach">0</property>
 
683
                        <property name="top_attach">0</property>
 
684
                        <property name="width">1</property>
 
685
                        <property name="height">1</property>
 
686
                      </packing>
 
687
                    </child>
 
688
                    <child>
 
689
                      <object class="GtkToolbar" id="toolbar2">
 
690
                        <property name="can_focus">False</property>
 
691
                        <property name="margin_left">6</property>
 
692
                        <property name="margin_top">6</property>
 
693
                        <property name="orientation">vertical</property>
 
694
                        <property name="toolbar_style">icons</property>
 
695
                        <child>
 
696
                          <object class="GtkToolButton" id="toolbuttonColorSelector">
 
697
                            <property name="use_action_appearance">False</property>
 
698
                            <property name="related_action">action1</property>
 
699
                            <property name="visible">True</property>
 
700
                            <property name="can_focus">False</property>
 
701
                            <property name="tooltip_text" translatable="yes">Change the QR code colors</property>
 
702
                            <property name="use_underline">True</property>
 
703
                            <property name="icon_name">preferences-color-symbolic</property>
 
704
                          </object>
 
705
                          <packing>
 
706
                            <property name="expand">False</property>
 
707
                            <property name="homogeneous">True</property>
 
708
                          </packing>
 
709
                        </child>
 
710
                        <child>
 
711
                          <object class="GtkToolButton" id="toolbuttonColorSwap">
 
712
                            <property name="use_action_appearance">False</property>
 
713
                            <property name="related_action">action1</property>
 
714
                            <property name="visible">True</property>
 
715
                            <property name="can_focus">False</property>
 
716
                            <property name="tooltip_text" translatable="yes">Swap the foreground and background color</property>
 
717
                            <property name="use_underline">True</property>
 
718
                            <property name="icon_name">edit-select-all-symbolic</property>
 
719
                          </object>
 
720
                          <packing>
 
721
                            <property name="expand">False</property>
 
722
                            <property name="homogeneous">True</property>
 
723
                          </packing>
 
724
                        </child>
 
725
                        <child>
 
726
                          <object class="GtkToolButton" id="toolbuttonColorReset">
 
727
                            <property name="use_action_appearance">False</property>
 
728
                            <property name="related_action">action1</property>
 
729
                            <property name="visible">True</property>
 
730
                            <property name="can_focus">False</property>
 
731
                            <property name="tooltip_text" translatable="yes">Reset to defaults</property>
 
732
                            <property name="use_underline">True</property>
 
733
                            <property name="icon_name">edit-undo-symbolic</property>
 
734
                          </object>
 
735
                          <packing>
 
736
                            <property name="expand">False</property>
 
737
                            <property name="homogeneous">True</property>
 
738
                          </packing>
 
739
                        </child>
 
740
                      </object>
 
741
                      <packing>
 
742
                        <property name="left_attach">1</property>
 
743
                        <property name="top_attach">0</property>
 
744
                        <property name="width">1</property>
 
745
                        <property name="height">1</property>
 
746
                      </packing>
 
747
                    </child>
 
748
                  </object>
 
749
                  <packing>
 
750
                    <property name="left_attach">0</property>
 
751
                    <property name="top_attach">1</property>
 
752
                    <property name="width">1</property>
 
753
                    <property name="height">1</property>
 
754
                  </packing>
 
755
                </child>
566
756
              </object>
567
757
              <packing>
568
758
                <property name="position">2</property>