~thomas-deruyter-3/qreator/qreator

« back to all changes in this revision

Viewing changes to data/ui/QreatorWindow.ui

  • Committer: David Planella
  • Date: 2012-05-30 08:33:06 UTC
  • Revision ID: david.planella@ubuntu.com-20120530083306-2naqmakzg56jh5mx
Decoupled QR code types from the QR window and from a particular GUI toolkit (right now only GTK is supported)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <object class="GtkImage" id="image1">
7
7
    <property name="visible">True</property>
8
8
    <property name="can_focus">False</property>
9
 
    <property name="tooltip_markup" translatable="yes">About this application</property>
10
9
    <property name="pixbuf">../media/help_white_hex_32.png</property>
11
10
  </object>
12
11
  <object class="GtkImage" id="image2">
121
120
            <property name="hexpand">True</property>
122
121
            <property name="icon_size">5</property>
123
122
            <child>
124
 
              <object class="GtkToolButton" id="toolbuttonNew">
 
123
              <object class="GtkToggleToolButton" id="toolbuttonNew">
125
124
                <property name="use_action_appearance">False</property>
126
125
                <property name="visible">True</property>
127
126
                <property name="can_focus">False</property>
141
140
              </packing>
142
141
            </child>
143
142
            <child>
144
 
              <object class="GtkToolButton" id="toolbuttonHistory">
 
143
              <object class="GtkToggleToolButton" id="toolbuttonHistory">
145
144
                <property name="use_action_appearance">False</property>
146
145
                <property name="can_focus">False</property>
147
 
                <property name="tooltip_text">Browse QR codes history</property>
 
146
                <property name="tooltip_text" translatable="yes">Browse QR codes history</property>
148
147
                <property name="use_action_appearance">False</property>
149
 
                <property name="label">History</property>
 
148
                <property name="label" translatable="yes">History</property>
150
149
                <property name="use_underline">True</property>
151
150
                <property name="icon_name">document-open-recent</property>
152
151
              </object>
156
155
              </packing>
157
156
            </child>
158
157
            <child>
159
 
              <object class="GtkToolButton" id="toolbuttonAbout">
 
158
              <object class="GtkToggleToolButton" id="toolbuttonAbout">
160
159
                <property name="use_action_appearance">False</property>
161
160
                <property name="visible">True</property>
162
161
                <property name="can_focus">False</property>
544
543
                  </packing>
545
544
                </child>
546
545
                <child>
547
 
                  <object class="GtkGrid" id="qr_input">
 
546
                  <object class="GtkNotebook" id="qr_input_notebook">
548
547
                    <property name="visible">True</property>
549
 
                    <property name="can_focus">False</property>
 
548
                    <property name="can_focus">True</property>
550
549
                    <property name="margin_left">12</property>
551
550
                    <property name="margin_right">12</property>
552
551
                    <property name="margin_top">6</property>
553
552
                    <property name="margin_bottom">6</property>
554
 
                    <child>
555
 
                      <object class="GtkGrid" id="qr_location">
556
 
                        <property name="can_focus">False</property>
557
 
                        <child>
558
 
                          <object class="GtkExpander" id="expander1">
559
 
                            <property name="can_focus">True</property>
560
 
                            <property name="margin_top">6</property>
561
 
                            <property name="margin_bottom">6</property>
562
 
                            <property name="hexpand">True</property>
563
 
                            <child>
564
 
                              <object class="GtkGrid" id="grid4">
565
 
                                <property name="visible">True</property>
566
 
                                <property name="can_focus">False</property>
567
 
                                <property name="margin_top">6</property>
568
 
                                <property name="margin_bottom">6</property>
569
 
                                <child>
570
 
                                  <object class="GtkEntry" id="lat_entry">
571
 
                                    <property name="visible">True</property>
572
 
                                    <property name="can_focus">True</property>
573
 
                                    <property name="margin_top">6</property>
574
 
                                    <property name="margin_bottom">3</property>
575
 
                                    <property name="hexpand">True</property>
576
 
                                    <property name="editable">False</property>
577
 
                                    <property name="invisible_char">•</property>
578
 
                                  </object>
579
 
                                  <packing>
580
 
                                    <property name="left_attach">1</property>
581
 
                                    <property name="top_attach">0</property>
582
 
                                    <property name="width">1</property>
583
 
                                    <property name="height">1</property>
584
 
                                  </packing>
585
 
                                </child>
586
 
                                <child>
587
 
                                  <object class="GtkEntry" id="lon_entry">
588
 
                                    <property name="visible">True</property>
589
 
                                    <property name="can_focus">True</property>
590
 
                                    <property name="margin_top">3</property>
591
 
                                    <property name="margin_bottom">6</property>
592
 
                                    <property name="hexpand">True</property>
593
 
                                    <property name="editable">False</property>
594
 
                                    <property name="invisible_char">•</property>
595
 
                                  </object>
596
 
                                  <packing>
597
 
                                    <property name="left_attach">1</property>
598
 
                                    <property name="top_attach">1</property>
599
 
                                    <property name="width">1</property>
600
 
                                    <property name="height">1</property>
601
 
                                  </packing>
602
 
                                </child>
603
 
                                <child>
604
 
                                  <object class="GtkLabel" id="label15">
605
 
                                    <property name="visible">True</property>
606
 
                                    <property name="can_focus">False</property>
607
 
                                    <property name="margin_right">6</property>
608
 
                                    <property name="margin_top">6</property>
609
 
                                    <property name="margin_bottom">3</property>
610
 
                                    <property name="xalign">0</property>
611
 
                                    <property name="label" translatable="yes">Latitude:</property>
612
 
                                  </object>
613
 
                                  <packing>
614
 
                                    <property name="left_attach">0</property>
615
 
                                    <property name="top_attach">0</property>
616
 
                                    <property name="width">1</property>
617
 
                                    <property name="height">1</property>
618
 
                                  </packing>
619
 
                                </child>
620
 
                                <child>
621
 
                                  <object class="GtkLabel" id="label16">
622
 
                                    <property name="visible">True</property>
623
 
                                    <property name="can_focus">False</property>
624
 
                                    <property name="margin_right">6</property>
625
 
                                    <property name="margin_top">3</property>
626
 
                                    <property name="margin_bottom">6</property>
627
 
                                    <property name="xalign">0</property>
628
 
                                    <property name="label" translatable="yes">Longitude:</property>
629
 
                                  </object>
630
 
                                  <packing>
631
 
                                    <property name="left_attach">0</property>
632
 
                                    <property name="top_attach">1</property>
633
 
                                    <property name="width">1</property>
634
 
                                    <property name="height">1</property>
635
 
                                  </packing>
636
 
                                </child>
637
 
                              </object>
638
 
                            </child>
639
 
                            <child type="label">
640
 
                              <object class="GtkLabel" id="label14">
641
 
                                <property name="visible">True</property>
642
 
                                <property name="can_focus">False</property>
643
 
                                <property name="label" translatable="yes">Location details</property>
644
 
                              </object>
645
 
                            </child>
646
 
                          </object>
647
 
                          <packing>
648
 
                            <property name="left_attach">0</property>
649
 
                            <property name="top_attach">1</property>
650
 
                            <property name="width">1</property>
651
 
                            <property name="height">1</property>
652
 
                          </packing>
653
 
                        </child>
654
 
                        <child>
655
 
                          <placeholder/>
656
 
                        </child>
657
 
                      </object>
658
 
                      <packing>
659
 
                        <property name="left_attach">0</property>
660
 
                        <property name="top_attach">1</property>
661
 
                        <property name="width">1</property>
662
 
                        <property name="height">1</property>
663
 
                      </packing>
664
 
                    </child>
665
 
                    <child>
666
 
                      <object class="GtkGrid" id="qr_text">
667
 
                        <property name="can_focus">False</property>
668
 
                        <property name="hexpand">True</property>
669
 
                        <child>
670
 
                          <object class="GtkScrolledWindow" id="scrolledwindow2">
671
 
                            <property name="height_request">100</property>
672
 
                            <property name="visible">True</property>
673
 
                            <property name="can_focus">True</property>
674
 
                            <property name="hexpand">True</property>
675
 
                            <property name="shadow_type">in</property>
676
 
                            <child>
677
 
                              <object class="GtkTextView" id="entryText">
678
 
                                <property name="height_request">100</property>
679
 
                                <property name="visible">True</property>
680
 
                                <property name="can_focus">True</property>
681
 
                                <property name="has_focus">True</property>
682
 
                                <property name="wrap_mode">word</property>
683
 
                              </object>
684
 
                            </child>
685
 
                          </object>
686
 
                          <packing>
687
 
                            <property name="left_attach">0</property>
688
 
                            <property name="top_attach">0</property>
689
 
                            <property name="width">1</property>
690
 
                            <property name="height">1</property>
691
 
                          </packing>
692
 
                        </child>
693
 
                      </object>
694
 
                      <packing>
695
 
                        <property name="left_attach">0</property>
696
 
                        <property name="top_attach">0</property>
697
 
                        <property name="width">1</property>
698
 
                        <property name="height">1</property>
699
 
                      </packing>
700
 
                    </child>
701
 
                    <child>
702
 
                      <object class="GtkGrid" id="qr_url">
703
 
                        <property name="visible">True</property>
704
 
                        <property name="can_focus">False</property>
705
 
                        <child>
706
 
                          <object class="GtkEntry" id="entryURL">
707
 
                            <property name="visible">True</property>
708
 
                            <property name="can_focus">True</property>
709
 
                            <property name="has_focus">True</property>
710
 
                            <property name="hexpand">True</property>
711
 
                            <property name="invisible_char">•</property>
712
 
                            <property name="placeholder_text">[URL]</property>
713
 
                            <signal name="changed" handler="on_entryURL_changed" swapped="no"/>
714
 
                            <signal name="icon-press" handler="on_entryURL_icon_press" swapped="no"/>
715
 
                          </object>
716
 
                          <packing>
717
 
                            <property name="left_attach">1</property>
718
 
                            <property name="top_attach">0</property>
719
 
                            <property name="width">1</property>
720
 
                            <property name="height">1</property>
721
 
                          </packing>
722
 
                        </child>
723
 
                        <child>
724
 
                          <object class="GtkComboBoxText" id="comboboxtextProtocol">
725
 
                            <property name="visible">True</property>
726
 
                            <property name="can_focus">False</property>
727
 
                            <property name="margin_right">6</property>
728
 
                            <property name="active">0</property>
729
 
                            <property name="active_id">0</property>
730
 
                            <items>
731
 
                              <item>http://</item>
732
 
                              <item>https://</item>
733
 
                            </items>
734
 
                          </object>
735
 
                          <packing>
736
 
                            <property name="left_attach">0</property>
737
 
                            <property name="top_attach">0</property>
738
 
                            <property name="width">1</property>
739
 
                            <property name="height">1</property>
740
 
                          </packing>
741
 
                        </child>
742
 
                      </object>
743
 
                      <packing>
744
 
                        <property name="left_attach">0</property>
745
 
                        <property name="top_attach">2</property>
746
 
                        <property name="width">1</property>
747
 
                        <property name="height">1</property>
748
 
                      </packing>
749
 
                    </child>
750
 
                    <child>
751
 
                      <object class="GtkGrid" id="qr_wifi">
752
 
                        <property name="visible">True</property>
753
 
                        <property name="can_focus">False</property>
754
 
                        <child>
755
 
                          <object class="GtkComboBoxText" id="comboboxtextSecurity">
756
 
                            <property name="visible">True</property>
757
 
                            <property name="can_focus">False</property>
758
 
                            <property name="has_focus">True</property>
759
 
                            <property name="margin_bottom">3</property>
760
 
                            <property name="active">0</property>
761
 
                            <property name="entry_text_column">0</property>
762
 
                            <property name="id_column">1</property>
763
 
                            <items>
764
 
                              <item>WPA</item>
765
 
                              <item>WEP</item>
766
 
                            </items>
767
 
                            <signal name="changed" handler="on_comboboxtextSecurity_changed" swapped="no"/>
768
 
                          </object>
769
 
                          <packing>
770
 
                            <property name="left_attach">1</property>
771
 
                            <property name="top_attach">0</property>
772
 
                            <property name="width">1</property>
773
 
                            <property name="height">1</property>
774
 
                          </packing>
775
 
                        </child>
776
 
                        <child>
777
 
                          <object class="GtkLabel" id="label1">
778
 
                            <property name="visible">True</property>
779
 
                            <property name="can_focus">False</property>
780
 
                            <property name="margin_right">6</property>
781
 
                            <property name="xalign">0</property>
782
 
                            <property name="label" translatable="yes">Security:</property>
783
 
                          </object>
784
 
                          <packing>
785
 
                            <property name="left_attach">0</property>
786
 
                            <property name="top_attach">0</property>
787
 
                            <property name="width">1</property>
788
 
                            <property name="height">1</property>
789
 
                          </packing>
790
 
                        </child>
791
 
                        <child>
792
 
                          <object class="GtkLabel" id="label3">
793
 
                            <property name="visible">True</property>
794
 
                            <property name="can_focus">False</property>
795
 
                            <property name="margin_right">6</property>
796
 
                            <property name="xalign">0</property>
797
 
                            <property name="label" translatable="yes">SSID:</property>
798
 
                          </object>
799
 
                          <packing>
800
 
                            <property name="left_attach">0</property>
801
 
                            <property name="top_attach">1</property>
802
 
                            <property name="width">1</property>
803
 
                            <property name="height">1</property>
804
 
                          </packing>
805
 
                        </child>
806
 
                        <child>
807
 
                          <object class="GtkLabel" id="label4">
808
 
                            <property name="visible">True</property>
809
 
                            <property name="can_focus">False</property>
810
 
                            <property name="margin_right">6</property>
811
 
                            <property name="xalign">0</property>
812
 
                            <property name="label" translatable="yes">Password:</property>
813
 
                          </object>
814
 
                          <packing>
815
 
                            <property name="left_attach">0</property>
816
 
                            <property name="top_attach">2</property>
817
 
                            <property name="width">1</property>
818
 
                            <property name="height">1</property>
819
 
                          </packing>
820
 
                        </child>
821
 
                        <child>
822
 
                          <object class="GtkEntry" id="entryPassword">
823
 
                            <property name="visible">True</property>
824
 
                            <property name="can_focus">True</property>
825
 
                            <property name="margin_top">3</property>
826
 
                            <property name="margin_bottom">3</property>
827
 
                            <property name="hexpand">True</property>
828
 
                            <property name="visibility">False</property>
829
 
                            <property name="invisible_char">•</property>
830
 
                            <property name="placeholder_text">[Network password]</property>
831
 
                            <signal name="changed" handler="on_entryPassword_changed" swapped="no"/>
832
 
                            <signal name="icon-press" handler="on_entryPassword_icon_press" swapped="no"/>
833
 
                          </object>
834
 
                          <packing>
835
 
                            <property name="left_attach">1</property>
836
 
                            <property name="top_attach">2</property>
837
 
                            <property name="width">1</property>
838
 
                            <property name="height">1</property>
839
 
                          </packing>
840
 
                        </child>
841
 
                        <child>
842
 
                          <object class="GtkCheckButton" id="checkbutton1">
843
 
                            <property name="label" translatable="yes">Show Password</property>
844
 
                            <property name="use_action_appearance">False</property>
845
 
                            <property name="visible">True</property>
846
 
                            <property name="can_focus">True</property>
847
 
                            <property name="receives_default">False</property>
848
 
                            <property name="use_action_appearance">False</property>
849
 
                            <property name="xalign">0</property>
850
 
                            <property name="draw_indicator">True</property>
851
 
                          </object>
852
 
                          <packing>
853
 
                            <property name="left_attach">1</property>
854
 
                            <property name="top_attach">3</property>
855
 
                            <property name="width">1</property>
856
 
                            <property name="height">1</property>
857
 
                          </packing>
858
 
                        </child>
859
 
                        <child>
860
 
                          <object class="GtkLabel" id="label5">
861
 
                            <property name="visible">True</property>
862
 
                            <property name="can_focus">False</property>
863
 
                          </object>
864
 
                          <packing>
865
 
                            <property name="left_attach">0</property>
866
 
                            <property name="top_attach">3</property>
867
 
                            <property name="width">1</property>
868
 
                            <property name="height">1</property>
869
 
                          </packing>
870
 
                        </child>
871
 
                        <child>
872
 
                          <object class="GtkComboBoxText" id="comboboxtextSSID">
873
 
                            <property name="visible">True</property>
874
 
                            <property name="can_focus">False</property>
875
 
                            <property name="has_entry">True</property>
876
 
                            <property name="entry_text_column">0</property>
877
 
                            <property name="id_column">1</property>
878
 
                            <child internal-child="entry">
879
 
                              <object class="GtkEntry" id="entrySSID">
880
 
                                <property name="can_focus">True</property>
881
 
                                <property name="invisible_char">•</property>
882
 
                                <property name="shadow_type">out</property>
883
 
                                <property name="placeholder_text">[Network SSID - expand for autodetection]</property>
884
 
                                <signal name="icon-press" handler="on_entrySSID_icon_press" swapped="no"/>
885
 
                              </object>
886
 
                            </child>
887
 
                          </object>
888
 
                          <packing>
889
 
                            <property name="left_attach">1</property>
890
 
                            <property name="top_attach">1</property>
891
 
                            <property name="width">1</property>
892
 
                            <property name="height">1</property>
893
 
                          </packing>
894
 
                        </child>
895
 
                      </object>
896
 
                      <packing>
897
 
                        <property name="left_attach">0</property>
898
 
                        <property name="top_attach">3</property>
899
 
                        <property name="width">1</property>
900
 
                        <property name="height">1</property>
901
 
                      </packing>
902
 
                    </child>
903
 
                    <child>
904
 
                      <object class="GtkGrid" id="qr_app">
905
 
                        <property name="visible">True</property>
906
 
                        <property name="can_focus">False</property>
907
 
                        <child>
908
 
                          <object class="GtkLabel" id="labelApp">
909
 
                            <property name="visible">True</property>
910
 
                            <property name="can_focus">False</property>
911
 
                            <property name="margin_right">6</property>
912
 
                            <property name="xalign">0</property>
913
 
                            <property name="label" translatable="yes">Ubuntu Software Center app:</property>
914
 
                          </object>
915
 
                          <packing>
916
 
                            <property name="left_attach">0</property>
917
 
                            <property name="top_attach">0</property>
918
 
                            <property name="width">1</property>
919
 
                            <property name="height">1</property>
920
 
                          </packing>
921
 
                        </child>
922
 
                      </object>
923
 
                      <packing>
924
 
                        <property name="left_attach">0</property>
925
 
                        <property name="top_attach">4</property>
926
 
                        <property name="width">1</property>
927
 
                        <property name="height">1</property>
928
 
                      </packing>
929
 
                    </child>
 
553
                    <property name="show_tabs">False</property>
 
554
                    <property name="show_border">False</property>
930
555
                  </object>
931
556
                  <packing>
932
557
                    <property name="left_attach">0</property>