summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/qconstanteditor.ui
blob: 92baf7e5fb04937b153bad912e954ce8dc1ab25e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>QConstantEditor</class>
<widget class="QWidget">
    <property name="name">
        <cstring>QConstantEditor</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>388</width>
            <height>341</height>
        </rect>
    </property>
    <property name="caption">
        <string>Constant Editor</string>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QPushButton" row="2" column="1">
            <property name="name">
                <cstring>cmdDelete</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="text">
                <string>&amp;Delete</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>delete selected constant</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Click here to delete the selected constant; it can only be removed if it is not currently used by a plot.</string>
            </property>
        </widget>
        <widget class="QPushButton" row="1" column="1">
            <property name="name">
                <cstring>cmdEdit</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="text">
                <string>&amp;Change Value...</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Change the value of a user-defined constant</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Click here to edit the value of the selected constant. Its name cannot be changed.</string>
            </property>
        </widget>
        <widget class="QPushButton" row="3" column="1">
            <property name="name">
                <cstring>cmdDuplicate</cstring>
            </property>
            <property name="enabled">
                <bool>false</bool>
            </property>
            <property name="text">
                <string>D&amp;uplicate</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Duplicate the selected constant</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Click here to Copy the selected constant to another constant. You can choose the new name from a list.</string>
            </property>
        </widget>
        <widget class="QPushButton" row="0" column="1">
            <property name="name">
                <cstring>cmdNew</cstring>
            </property>
            <property name="text">
                <string>&amp;New...</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Add a new constant</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Click this button to add a new constant.</string>
            </property>
        </widget>
        <widget class="KListView" row="0" column="0" rowspan="5" colspan="1">
            <column>
                <property name="text">
                    <string>Variable</string>
                </property>
                <property name="clickable">
                    <bool>true</bool>
                </property>
                <property name="resizable">
                    <bool>true</bool>
                </property>
            </column>
            <column>
                <property name="text">
                    <string>Value</string>
                </property>
                <property name="clickable">
                    <bool>true</bool>
                </property>
                <property name="resizable">
                    <bool>true</bool>
                </property>
            </column>
            <property name="name">
                <cstring>varlist</cstring>
            </property>
            <property name="showSortIndicator">
                <bool>true</bool>
            </property>
            <property name="itemsMovable">
                <bool>false</bool>
            </property>
            <property name="toolTip" stdset="0">
                <string>List of user-defined constants</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Select a constant to change its value, remove it or duplicate it.</string>
            </property>
        </widget>
        <spacer row="4" column="1">
            <property name="name">
                <cstring>spacer2</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>20</width>
                    <height>147</height>
                </size>
            </property>
        </spacer>
    </grid>
</widget>
<connections>
    <connection>
        <sender>cmdNew</sender>
        <signal>clicked()</signal>
        <receiver>QConstantEditor</receiver>
        <slot>cmdNew_clicked()</slot>
    </connection>
    <connection>
        <sender>cmdEdit</sender>
        <signal>clicked()</signal>
        <receiver>QConstantEditor</receiver>
        <slot>cmdEdit_clicked()</slot>
    </connection>
    <connection>
        <sender>cmdDelete</sender>
        <signal>clicked()</signal>
        <receiver>QConstantEditor</receiver>
        <slot>cmdDelete_clicked()</slot>
    </connection>
    <connection>
        <sender>varlist</sender>
        <signal>clicked(QListViewItem*)</signal>
        <receiver>QConstantEditor</receiver>
        <slot>varlist_clicked(QListViewItem*)</slot>
    </connection>
    <connection>
        <sender>cmdDuplicate</sender>
        <signal>clicked()</signal>
        <receiver>QConstantEditor</receiver>
        <slot>cmdDuplicate_clicked()</slot>
    </connection>
    <connection>
        <sender>varlist</sender>
        <signal>doubleClicked(QListViewItem*)</signal>
        <receiver>QConstantEditor</receiver>
        <slot>varlist_doubleClicked(QListViewItem*)</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in implementation">qconstanteditor.ui.h</include>
</includes>
<slots>
    <slot>cmdCancel_clicked()</slot>
    <slot>cmdNew_clicked()</slot>
    <slot>cmdEdit_clicked()</slot>
    <slot>cmdDelete_clicked()</slot>
    <slot>varlist_clicked( QListViewItem * item )</slot>
    <slot>cmdDuplicate_clicked()</slot>
    <slot>newNewConstantSlot()</slot>
    <slot>varlist_doubleClicked( QListViewItem * )</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>klistview.h</includehint>
</includehints>
</UI>