2
2
3
3
# Form implementation generated from reading ui file 'frmVectorGrid.ui'
4
4
#
5
- # Created: Tue Jan 27 23:10:42 2009
5
+ # Created: Thu Jan 29 18:39:47 2009
6
6
# by: PyQt4 UI code generator 4.3.3
7
7
#
8
8
# WARNING! All changes made in this file will be lost!
@@ -25,16 +25,19 @@ def setupUi(self, Dialog):
25
25
self .gridlayout1 = QtGui .QGridLayout (self .groupBox )
26
26
self .gridlayout1 .setObjectName ("gridlayout1" )
27
27
28
- spacerItem = QtGui .QSpacerItem (80 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
29
- self .gridlayout1 .addItem (spacerItem ,1 ,0 ,1 ,1 )
28
+ self .inShape = QtGui .QComboBox (self .groupBox )
29
+ self .inShape .setObjectName ("inShape" )
30
+ self .gridlayout1 .addWidget (self .inShape ,0 ,0 ,1 ,2 )
30
31
31
32
self .btnUpdate = QtGui .QToolButton (self .groupBox )
32
33
self .btnUpdate .setMinimumSize (QtCore .QSize (0 ,30 ))
33
34
self .btnUpdate .setObjectName ("btnUpdate" )
34
- self .gridlayout1 .addWidget (self .btnUpdate ,1 ,1 ,1 ,2 )
35
+ self .gridlayout1 .addWidget (self .btnUpdate ,1 ,0 ,1 ,1 )
35
36
36
- spacerItem1 = QtGui .QSpacerItem (79 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
37
- self .gridlayout1 .addItem (spacerItem1 ,1 ,3 ,1 ,1 )
37
+ self .btnCanvas = QtGui .QToolButton (self .groupBox )
38
+ self .btnCanvas .setMinimumSize (QtCore .QSize (0 ,30 ))
39
+ self .btnCanvas .setObjectName ("btnCanvas" )
40
+ self .gridlayout1 .addWidget (self .btnCanvas ,1 ,1 ,1 ,1 )
38
41
39
42
self .hboxlayout = QtGui .QHBoxLayout ()
40
43
self .hboxlayout .setObjectName ("hboxlayout" )
@@ -48,7 +51,7 @@ def setupUi(self, Dialog):
48
51
self .xMin .setEnabled (True )
49
52
self .xMin .setObjectName ("xMin" )
50
53
self .hboxlayout .addWidget (self .xMin )
51
- self .gridlayout1 .addLayout (self .hboxlayout ,2 ,0 ,1 ,2 )
54
+ self .gridlayout1 .addLayout (self .hboxlayout ,2 ,0 ,1 ,1 )
52
55
53
56
self .hboxlayout1 = QtGui .QHBoxLayout ()
54
57
self .hboxlayout1 .setObjectName ("hboxlayout1" )
@@ -62,7 +65,7 @@ def setupUi(self, Dialog):
62
65
self .yMin .setEnabled (True )
63
66
self .yMin .setObjectName ("yMin" )
64
67
self .hboxlayout1 .addWidget (self .yMin )
65
- self .gridlayout1 .addLayout (self .hboxlayout1 ,2 ,2 ,1 ,2 )
68
+ self .gridlayout1 .addLayout (self .hboxlayout1 ,2 ,1 ,1 ,1 )
66
69
67
70
self .hboxlayout2 = QtGui .QHBoxLayout ()
68
71
self .hboxlayout2 .setObjectName ("hboxlayout2" )
@@ -76,7 +79,7 @@ def setupUi(self, Dialog):
76
79
self .xMax .setEnabled (True )
77
80
self .xMax .setObjectName ("xMax" )
78
81
self .hboxlayout2 .addWidget (self .xMax )
79
- self .gridlayout1 .addLayout (self .hboxlayout2 ,3 ,0 ,1 ,2 )
82
+ self .gridlayout1 .addLayout (self .hboxlayout2 ,3 ,0 ,1 ,1 )
80
83
81
84
self .hboxlayout3 = QtGui .QHBoxLayout ()
82
85
self .hboxlayout3 .setObjectName ("hboxlayout3" )
@@ -90,11 +93,7 @@ def setupUi(self, Dialog):
90
93
self .yMax .setEnabled (True )
91
94
self .yMax .setObjectName ("yMax" )
92
95
self .hboxlayout3 .addWidget (self .yMax )
93
- self .gridlayout1 .addLayout (self .hboxlayout3 ,3 ,2 ,1 ,2 )
94
-
95
- self .inShape = QtGui .QComboBox (self .groupBox )
96
- self .inShape .setObjectName ("inShape" )
97
- self .gridlayout1 .addWidget (self .inShape ,0 ,0 ,1 ,4 )
96
+ self .gridlayout1 .addLayout (self .hboxlayout3 ,3 ,1 ,1 ,1 )
98
97
self .gridlayout .addWidget (self .groupBox ,0 ,0 ,1 ,2 )
99
98
100
99
self .gridBox = QtGui .QGroupBox (Dialog )
@@ -103,8 +102,8 @@ def setupUi(self, Dialog):
103
102
self .gridlayout2 = QtGui .QGridLayout (self .gridBox )
104
103
self .gridlayout2 .setObjectName ("gridlayout2" )
105
104
106
- spacerItem2 = QtGui .QSpacerItem (40 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
107
- self .gridlayout2 .addItem (spacerItem2 ,0 ,0 ,1 ,1 )
105
+ spacerItem = QtGui .QSpacerItem (40 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
106
+ self .gridlayout2 .addItem (spacerItem ,0 ,0 ,1 ,1 )
108
107
109
108
self .label_7 = QtGui .QLabel (self .gridBox )
110
109
self .label_7 .setObjectName ("label_7" )
@@ -123,11 +122,11 @@ def setupUi(self, Dialog):
123
122
self .chkLock .setObjectName ("chkLock" )
124
123
self .gridlayout2 .addWidget (self .chkLock ,0 ,3 ,2 ,1 )
125
124
126
- spacerItem3 = QtGui .QSpacerItem (40 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
127
- self .gridlayout2 .addItem (spacerItem3 ,0 ,4 ,1 ,1 )
125
+ spacerItem1 = QtGui .QSpacerItem (40 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
126
+ self .gridlayout2 .addItem (spacerItem1 ,0 ,4 ,1 ,1 )
128
127
129
- spacerItem4 = QtGui .QSpacerItem (40 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
130
- self .gridlayout2 .addItem (spacerItem4 ,1 ,0 ,1 ,1 )
128
+ spacerItem2 = QtGui .QSpacerItem (40 ,20 ,QtGui .QSizePolicy .Expanding ,QtGui .QSizePolicy .Minimum )
129
+ self .gridlayout2 .addItem (spacerItem2 ,1 ,0 ,1 ,1 )
131
130
132
131
self .label_8 = QtGui .QLabel (self .gridBox )
133
132
self .label_8 .setEnabled (False )
@@ -200,6 +199,7 @@ def retranslateUi(self, Dialog):
200
199
Dialog .setWindowTitle (QtGui .QApplication .translate ("Dialog" , "Generate Regular Points" , None , QtGui .QApplication .UnicodeUTF8 ))
201
200
self .groupBox .setTitle (QtGui .QApplication .translate ("Dialog" , "Grid extent" , None , QtGui .QApplication .UnicodeUTF8 ))
202
201
self .btnUpdate .setText (QtGui .QApplication .translate ("Dialog" , "Update extents from layer" , None , QtGui .QApplication .UnicodeUTF8 ))
202
+ self .btnCanvas .setText (QtGui .QApplication .translate ("Dialog" , "Update extents from canvas" , None , QtGui .QApplication .UnicodeUTF8 ))
203
203
self .label .setText (QtGui .QApplication .translate ("Dialog" , "X Min" , None , QtGui .QApplication .UnicodeUTF8 ))
204
204
self .label_4 .setText (QtGui .QApplication .translate ("Dialog" , "Y Min" , None , QtGui .QApplication .UnicodeUTF8 ))
205
205
self .label_3 .setText (QtGui .QApplication .translate ("Dialog" , "X Max" , None , QtGui .QApplication .UnicodeUTF8 ))
0 commit comments