2
2
3
3
# Form implementation generated from reading ui file 'frmVisual.ui'
4
4
#
5
- # Created: Mon Nov 10 00:01:18 2008
6
- # by: PyQt4 UI code generator 4.3 .3
5
+ # Created: Tue Apr 21 15:10:47 2009
6
+ # by: PyQt4 UI code generator 4.4 .3
7
7
#
8
8
# WARNING! All changes made in this file will be lost!
9
9
@@ -13,87 +13,74 @@ class Ui_Dialog(object):
13
13
def setupUi (self , Dialog ):
14
14
Dialog .setObjectName ("Dialog" )
15
15
Dialog .setWindowModality (QtCore .Qt .NonModal )
16
- Dialog .resize (QtCore . QSize ( QtCore . QRect ( 0 , 0 , 374 ,485 ). size ()). expandedTo ( Dialog . minimumSizeHint ()) )
16
+ Dialog .resize (374 , 485 )
17
17
Dialog .setSizeGripEnabled (True )
18
-
19
- self .gridlayout = QtGui .QGridLayout (Dialog )
20
- self .gridlayout .setObjectName ("gridlayout" )
21
-
18
+ self .gridLayout = QtGui .QGridLayout (Dialog )
19
+ self .gridLayout .setObjectName ("gridLayout" )
22
20
self .vboxlayout = QtGui .QVBoxLayout ()
23
21
self .vboxlayout .setObjectName ("vboxlayout" )
24
-
25
22
self .label_3 = QtGui .QLabel (Dialog )
26
23
self .label_3 .setObjectName ("label_3" )
27
24
self .vboxlayout .addWidget (self .label_3 )
28
-
29
25
self .inShape = QtGui .QComboBox (Dialog )
30
26
self .inShape .setObjectName ("inShape" )
31
27
self .vboxlayout .addWidget (self .inShape )
32
- self .gridlayout .addLayout (self .vboxlayout ,0 ,0 ,1 ,2 )
33
-
28
+ self .gridLayout .addLayout (self .vboxlayout , 0 , 0 , 1 , 2 )
34
29
self .vboxlayout1 = QtGui .QVBoxLayout ()
35
30
self .vboxlayout1 .setObjectName ("vboxlayout1" )
36
-
37
31
self .label = QtGui .QLabel (Dialog )
38
32
self .label .setObjectName ("label" )
39
33
self .vboxlayout1 .addWidget (self .label )
40
-
41
34
self .cmbField = QtGui .QComboBox (Dialog )
42
35
self .cmbField .setObjectName ("cmbField" )
43
36
self .vboxlayout1 .addWidget (self .cmbField )
44
- self .gridlayout .addLayout (self .vboxlayout1 ,1 ,0 ,1 ,2 )
45
-
37
+ self .gridLayout .addLayout (self .vboxlayout1 , 1 , 0 , 1 , 2 )
46
38
self .vboxlayout2 = QtGui .QVBoxLayout ()
47
39
self .vboxlayout2 .setObjectName ("vboxlayout2" )
48
-
49
40
self .label_2 = QtGui .QLabel (Dialog )
50
41
self .label_2 .setObjectName ("label_2" )
51
42
self .vboxlayout2 .addWidget (self .label_2 )
52
-
53
43
self .lstUnique = QtGui .QListWidget (Dialog )
54
44
self .lstUnique .setEditTriggers (QtGui .QAbstractItemView .NoEditTriggers )
45
+ self .lstUnique .setProperty ("showDropIndicator" , QtCore .QVariant (False ))
55
46
self .lstUnique .setAlternatingRowColors (True )
56
47
self .lstUnique .setSelectionMode (QtGui .QAbstractItemView .ExtendedSelection )
57
48
self .lstUnique .setSelectionBehavior (QtGui .QAbstractItemView .SelectRows )
58
49
self .lstUnique .setSelectionRectVisible (True )
59
50
self .lstUnique .setObjectName ("lstUnique" )
60
51
self .vboxlayout2 .addWidget (self .lstUnique )
61
- self .gridlayout .addLayout (self .vboxlayout2 ,2 ,0 ,1 ,2 )
62
-
52
+ self .gridLayout .addLayout (self .vboxlayout2 , 2 , 0 , 1 , 2 )
63
53
self .hboxlayout = QtGui .QHBoxLayout ()
64
54
self .hboxlayout .setObjectName ("hboxlayout" )
65
-
66
55
self .label_4 = QtGui .QLabel (Dialog )
67
56
self .label_4 .setObjectName ("label_4" )
68
57
self .hboxlayout .addWidget (self .label_4 )
69
-
70
58
self .lstCount = QtGui .QLineEdit (Dialog )
71
59
self .lstCount .setReadOnly (True )
72
60
self .lstCount .setObjectName ("lstCount" )
73
61
self .hboxlayout .addWidget (self .lstCount )
74
- self .gridlayout .addLayout (self .hboxlayout ,3 ,0 ,1 ,2 )
75
-
62
+ self .gridLayout .addLayout (self .hboxlayout , 3 , 0 , 1 , 2 )
76
63
self .progressBar = QtGui .QProgressBar (Dialog )
77
- self .progressBar .setProperty ("value" ,QtCore .QVariant (24 ))
64
+ self .progressBar .setProperty ("value" , QtCore .QVariant (24 ))
78
65
self .progressBar .setAlignment (QtCore .Qt .AlignCenter )
79
66
self .progressBar .setObjectName ("progressBar" )
80
- self .gridlayout .addWidget (self .progressBar ,4 ,0 ,1 ,1 )
81
-
67
+ self .gridLayout .addWidget (self .progressBar , 4 , 0 , 1 , 1 )
82
68
self .buttonBox_2 = QtGui .QDialogButtonBox (Dialog )
83
69
self .buttonBox_2 .setOrientation (QtCore .Qt .Horizontal )
84
70
self .buttonBox_2 .setStandardButtons (QtGui .QDialogButtonBox .Close | QtGui .QDialogButtonBox .Ok )
85
71
self .buttonBox_2 .setObjectName ("buttonBox_2" )
86
- self .gridlayout .addWidget (self .buttonBox_2 ,4 , 1 , 1 , 1 )
72
+ self .gridLayout .addWidget (self .buttonBox_2 , 4 , 1 , 1 , 1 )
87
73
88
74
self .retranslateUi (Dialog )
89
- QtCore .QObject .connect (self .buttonBox_2 ,QtCore .SIGNAL ("accepted()" ),Dialog .accept )
90
- QtCore .QObject .connect (self .buttonBox_2 ,QtCore .SIGNAL ("rejected()" ),Dialog .close )
75
+ QtCore .QObject .connect (self .buttonBox_2 , QtCore .SIGNAL ("accepted()" ), Dialog .accept )
76
+ QtCore .QObject .connect (self .buttonBox_2 , QtCore .SIGNAL ("rejected()" ), Dialog .close )
91
77
QtCore .QMetaObject .connectSlotsByName (Dialog )
92
78
93
79
def retranslateUi (self , Dialog ):
94
80
Dialog .setWindowTitle (QtGui .QApplication .translate ("Dialog" , "List Unique Values" , None , QtGui .QApplication .UnicodeUTF8 ))
95
81
self .label_3 .setText (QtGui .QApplication .translate ("Dialog" , "Input Vector Layer" , None , QtGui .QApplication .UnicodeUTF8 ))
96
82
self .label .setText (QtGui .QApplication .translate ("Dialog" , "Target field" , None , QtGui .QApplication .UnicodeUTF8 ))
97
83
self .label_2 .setText (QtGui .QApplication .translate ("Dialog" , "Unique values list" , None , QtGui .QApplication .UnicodeUTF8 ))
84
+ self .lstUnique .setSortingEnabled (True )
98
85
self .label_4 .setText (QtGui .QApplication .translate ("Dialog" , "Unique value count" , None , QtGui .QApplication .UnicodeUTF8 ))
99
86
0 commit comments