Changeset 1059
- Timestamp:
- Oct 30, 2016, 5:01:17 PM (8 years ago)
- Location:
- Vago/trunk/Vago
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Vago/trunk/Vago/libs/LineNumberDisplay/LineNumberDisplay.cpp
r1058 r1059 111 111 112 112 QFontMetrics fm(d_text_edit->currentFont(), this); 113 setMaximumWidth(2*fm.boundingRect(QString::number(lines)).width()); 113 setMaximumWidth(2.5*fm.boundingRect(QString::number(lines)).width()); // 2.5 small fix to display numbers correctly on macos 114 114 verticalScrollBar()->setValue(d_text_edit->verticalScrollBar()->value()); 115 115 } -
Vago/trunk/Vago/soundWizard/soundpagefinal.cpp
r1054 r1059 77 77 bool priorityLowImp = false, priorityNormalImp = false, 78 78 priorityHighImp = false, priorityHighestImp = false; 79 80 // Create temp folder if it doesn't exist 81 if(!QDir(GlobalVars::VagoTemporaryDir).exists()){ 82 QDir().mkdir(GlobalVars::VagoTemporaryDir); 83 } 79 84 80 85 // Get data page 2 -
Vago/trunk/Vago/xmlToolsInterface/xmltoolsinterface.cpp
r1058 r1059 155 155 QFile oldFile(previewFileLocation); 156 156 157 // Create temp folder if it doesn't exist 158 if(!QDir(GlobalVars::VagoTemporaryDir).exists()){ 159 QDir().mkdir(GlobalVars::VagoTemporaryDir); 160 } 161 157 162 if(oldFile.exists()){ 158 163 if(!oldFile.remove()){ -
Vago/trunk/Vago/xmlToolsInterface/xmltoolsinterface.ui
r1058 r1059 7 7 <x>0</x> 8 8 <y>0</y> 9 <width>6 40</width>10 <height> 480</height>9 <width>650</width> 10 <height>660</height> 11 11 </rect> 12 12 </property> 13 13 <property name="minimumSize"> 14 14 <size> 15 <width>6 40</width>16 <height> 480</height>15 <width>650</width> 16 <height>660</height> 17 17 </size> 18 18 </property> … … 94 94 <layout class="QVBoxLayout" name="verticalLayout_3"> 95 95 <item> 96 <layout class="Q HBoxLayout" name="horizontalLayout_6">96 <layout class="QVBoxLayout" name="verticalLayout"> 97 97 <item> 98 <widget class="QRadioButton" name="rbFilterRelativeElements"> 99 <property name="minimumSize"> 100 <size> 101 <width>110</width> 102 <height>0</height> 103 </size> 104 </property> 105 <property name="text"> 106 <string>Relative Elements</string> 107 </property> 108 <property name="checked"> 109 <bool>true</bool> 110 </property> 111 </widget> 98 <layout class="QHBoxLayout" name="horizontalLayout"> 99 <item> 100 <widget class="QRadioButton" name="rbFilterRelativeElements"> 101 <property name="minimumSize"> 102 <size> 103 <width>140</width> 104 <height>0</height> 105 </size> 106 </property> 107 <property name="text"> 108 <string>Relative Elements</string> 109 </property> 110 <property name="checked"> 111 <bool>true</bool> 112 </property> 113 </widget> 114 </item> 115 <item> 116 <layout class="QGridLayout" name="gridLayout"> 117 <item row="0" column="0"> 118 <widget class="QLabel" name="lbFilterElement"> 119 <property name="sizePolicy"> 120 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 121 <horstretch>0</horstretch> 122 <verstretch>0</verstretch> 123 </sizepolicy> 124 </property> 125 <property name="text"> 126 <string>Element:</string> 127 </property> 128 </widget> 129 </item> 130 <item row="0" column="1"> 131 <widget class="QLineEdit" name="leFilterElement"/> 132 </item> 133 <item row="0" column="2"> 134 <widget class="QCheckBox" name="cbFilterParentElement"> 135 <property name="text"> 136 <string>Parent Element:</string> 137 </property> 138 </widget> 139 </item> 140 <item row="0" column="3"> 141 <widget class="QLineEdit" name="leFilterParentElement"/> 142 </item> 143 <item row="1" column="0"> 144 <widget class="QCheckBox" name="cbFilterAttributeName"> 145 <property name="text"> 146 <string>Attribute Name:</string> 147 </property> 148 </widget> 149 </item> 150 <item row="1" column="1"> 151 <widget class="QLineEdit" name="leFilterAttributeName"/> 152 </item> 153 <item row="1" column="2"> 154 <widget class="QLabel" name="lbFilterAttributeValue"> 155 <property name="text"> 156 <string>Attribute Value:</string> 157 </property> 158 </widget> 159 </item> 160 <item row="1" column="3"> 161 <widget class="QLineEdit" name="leFilterAttributeValue"> 162 <property name="minimumSize"> 163 <size> 164 <width>80</width> 165 <height>0</height> 166 </size> 167 </property> 168 </widget> 169 </item> 170 </layout> 171 </item> 172 </layout> 112 173 </item> 113 174 <item> 114 <layout class="Q VBoxLayout" name="verticalLayout">175 <layout class="QHBoxLayout" name="horizontalLayout_2"> 115 176 <item> 116 <layout class="QHBoxLayout" name="horizontalLayout"> 117 <item> 118 <layout class="QFormLayout" name="formLayout_2"> 119 <item row="0" column="0"> 120 <widget class="QLabel" name="lbFilterElement"> 121 <property name="minimumSize"> 122 <size> 123 <width>102</width> 124 <height>0</height> 125 </size> 126 </property> 127 <property name="text"> 128 <string>Element:</string> 129 </property> 130 </widget> 131 </item> 132 <item row="0" column="1"> 133 <widget class="QLineEdit" name="leFilterElement"> 134 <property name="minimumSize"> 135 <size> 136 <width>120</width> 137 <height>0</height> 138 </size> 139 </property> 140 </widget> 141 </item> 142 </layout> 143 </item> 144 <item> 145 <layout class="QFormLayout" name="formLayout_7"> 146 <item row="0" column="0"> 147 <widget class="QCheckBox" name="cbFilterParentElement"> 148 <property name="minimumSize"> 149 <size> 150 <width>100</width> 151 <height>0</height> 152 </size> 153 </property> 154 <property name="text"> 155 <string>Parent Element:</string> 156 </property> 157 </widget> 158 </item> 159 <item row="0" column="1"> 160 <widget class="QLineEdit" name="leFilterParentElement"/> 161 </item> 162 </layout> 163 </item> 164 </layout> 177 <widget class="QRadioButton" name="rbFilterXPathExpression"> 178 <property name="minimumSize"> 179 <size> 180 <width>140</width> 181 <height>0</height> 182 </size> 183 </property> 184 <property name="text"> 185 <string>X-Path Expression</string> 186 </property> 187 </widget> 165 188 </item> 166 189 <item> 167 <layout class="QHBoxLayout" name="horizontalLayout_2"> 168 <item> 169 <layout class="QFormLayout" name="formLayout_4"> 170 <item row="0" column="0"> 171 <widget class="QCheckBox" name="cbFilterAttributeName"> 172 <property name="minimumSize"> 173 <size> 174 <width>102</width> 175 <height>0</height> 176 </size> 177 </property> 178 <property name="text"> 179 <string>Attribute Name:</string> 180 </property> 181 </widget> 182 </item> 183 <item row="0" column="1"> 184 <widget class="QLineEdit" name="leFilterAttributeName"> 185 <property name="minimumSize"> 186 <size> 187 <width>120</width> 188 <height>0</height> 189 </size> 190 </property> 191 </widget> 192 </item> 193 </layout> 194 </item> 195 <item> 196 <layout class="QFormLayout" name="formLayout_3"> 197 <item row="0" column="0"> 198 <widget class="QLabel" name="lbFilterAttributeValue"> 199 <property name="minimumSize"> 200 <size> 201 <width>100</width> 202 <height>0</height> 203 </size> 204 </property> 205 <property name="text"> 206 <string>Attribute Value:</string> 207 </property> 208 </widget> 209 </item> 210 <item row="0" column="1"> 211 <widget class="QLineEdit" name="leFilterAttributeValue"/> 212 </item> 213 </layout> 214 </item> 215 </layout> 190 <widget class="QLineEdit" name="leFilterXPathExpression"/> 216 191 </item> 217 192 </layout> 218 </item>219 </layout>220 </item>221 <item>222 <layout class="QFormLayout" name="formLayout">223 <item row="0" column="0">224 <widget class="QRadioButton" name="rbFilterXPathExpression">225 <property name="minimumSize">226 <size>227 <width>110</width>228 <height>0</height>229 </size>230 </property>231 <property name="text">232 <string>X-Path Expression</string>233 </property>234 </widget>235 </item>236 <item row="0" column="1">237 <widget class="QLineEdit" name="leFilterXPathExpression"/>238 193 </item> 239 194 </layout> … … 262 217 <layout class="QVBoxLayout" name="verticalLayout_4"> 263 218 <item> 264 <layout class="Q FormLayout" name="formLayout_6">219 <layout class="QGridLayout" name="gridLayout_2"> 265 220 <item row="0" column="0"> 266 221 <widget class="QLabel" name="label_2"> … … 271 226 </sizepolicy> 272 227 </property> 273 <property name="minimumSize">274 <size>275 <width>156</width>276 <height>0</height>277 </size>278 </property>279 228 <property name="text"> 280 229 <string>Input File(s):</string> … … 283 232 </item> 284 233 <item row="0" column="1"> 285 <layout class="QHBoxLayout" name="horizontalLayout_3"> 286 <item> 287 <widget class="QLineEdit" name="leInputInputFiles"/> 288 </item> 289 <item> 234 <layout class="QGridLayout" name="gridLayout_3"> 235 <item row="0" column="0"> 236 <widget class="QLineEdit" name="leInputInputFiles"> 237 <property name="minimumSize"> 238 <size> 239 <width>200</width> 240 <height>0</height> 241 </size> 242 </property> 243 </widget> 244 </item> 245 <item row="0" column="1"> 290 246 <widget class="QPushButton" name="pbInputBrowse"> 291 247 <property name="text"> … … 296 252 </layout> 297 253 </item> 298 </layout> 299 </item> 300 <item> 301 <layout class="QFormLayout" name="formLayout_8"> 302 <item row="0" column="0"> 254 <item row="1" column="0"> 303 255 <widget class="QLabel" name="lbInputCurrentValues"> 304 256 <property name="sizePolicy"> … … 308 260 </sizepolicy> 309 261 </property> 310 <property name="minimumSize">311 <size>312 <width>156</width>313 <height>0</height>314 </size>315 </property>316 262 <property name="text"> 317 263 <string>Current Value(s):</string> … … 319 265 </widget> 320 266 </item> 321 <item row=" 0" column="1">267 <item row="1" column="1"> 322 268 <widget class="QLineEdit" name="leInputCurrentValues"> 323 269 <property name="text"> … … 326 272 </widget> 327 273 </item> 328 </layout> 329 </item> 330 <item> 331 <layout class="QFormLayout" name="formLayout_9"> 332 <item row="0" column="0"> 274 <item row="2" column="0"> 333 275 <widget class="QLabel" name="lbInputNewValues"> 334 276 <property name="sizePolicy"> … … 338 280 </sizepolicy> 339 281 </property> 340 <property name="minimumSize">341 <size>342 <width>156</width>343 <height>0</height>344 </size>345 </property>346 282 <property name="text"> 347 283 <string>New Value(s):</string> … … 349 285 </widget> 350 286 </item> 351 <item row=" 0" column="1">287 <item row="2" column="1"> 352 288 <widget class="QLineEdit" name="leInputNewValues"/> 353 289 </item> 354 </layout> 355 </item> 356 <item> 357 <layout class="QFormLayout" name="formLayout_10"> 358 <item row="0" column="0"> 290 <item row="3" column="0"> 359 291 <widget class="QLabel" name="lbInputPositions"> 360 292 <property name="sizePolicy"> … … 364 296 </sizepolicy> 365 297 </property> 366 <property name="minimumSize">367 <size>368 <width>156</width>369 <height>0</height>370 </size>371 </property>372 298 <property name="text"> 373 299 <string>Position(s):</string> … … 375 301 </widget> 376 302 </item> 377 <item row=" 0" column="1">303 <item row="3" column="1"> 378 304 <widget class="QLineEdit" name="leInputPositions"> 379 305 <property name="text"> … … 382 308 </widget> 383 309 </item> 384 </layout> 385 </item> 386 <item> 387 <layout class="QFormLayout" name="formLayout_12"> 388 <item row="0" column="0"> 310 <item row="4" column="0"> 389 311 <widget class="QLabel" name="lbInputDiffOldNewValue"> 390 312 <property name="text"> … … 393 315 </widget> 394 316 </item> 395 <item row=" 0" column="1">317 <item row="4" column="1"> 396 318 <widget class="QLineEdit" name="leInputDiffOldNewValue"/> 397 319 </item> -
Vago/trunk/Vago/xmlToolsInterface/xmltoolsinterfacecommandpreview.ui
r1058 r1059 4 4 <widget class="QMainWindow" name="XmlToolsInterfaceCommandPreview"> 5 5 <property name="windowModality"> 6 <enum>Qt:: WindowModal</enum>6 <enum>Qt::ApplicationModal</enum> 7 7 </property> 8 8 <property name="geometry"> … … 10 10 <x>0</x> 11 11 <y>0</y> 12 <width> 560</width>13 <height>4 00</height>12 <width>600</width> 13 <height>480</height> 14 14 </rect> 15 15 </property>
Note:
See TracChangeset
for help on using the changeset viewer.