Thu, 23 Feb 2017 20:21:40 +0200
At long last, the g_win pointer has been removed. Down with global variables!
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ConfigDialog</class> <widget class="QDialog" name="ConfigDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>792</width> <height>408</height> </rect> </property> <property name="windowTitle"> <string>Settings</string> </property> <property name="windowIcon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/settings.png</normaloff>:/icons/settings.png</iconset> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout" name="horizontalLayout_7" stretch="0,0"> <item> <widget class="QListWidget" name="m_pagelist"> <property name="minimumSize"> <size> <width>144</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>144</width> <height>16777215</height> </size> </property> <item> <property name="text"> <string>Interface</string> </property> </item> <item> <property name="text"> <string>Editing tools</string> </property> </item> <item> <property name="text"> <string>Profile</string> </property> </item> <item> <property name="text"> <string>Shortcuts</string> </property> </item> <item> <property name="text"> <string>Color Toolbar</string> </property> </item> <item> <property name="text"> <string>Grids</string> </property> </item> <item> <property name="text"> <string>External Programs</string> </property> </item> <item> <property name="text"> <string>Downloads</string> </property> </item> </widget> </item> <item> <widget class="QStackedWidget" name="m_pages"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="page_3"> <layout class="QVBoxLayout" name="verticalLayout_13"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Interface</string> </property> <layout class="QVBoxLayout" name="verticalLayout_10"> <item> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Background color</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QPushButton" name="configBackgroundColor"> <property name="whatsThis"> <string>This is the background color for the viewport.</string> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/colorselect.png</normaloff>:/icons/colorselect.png</iconset> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Main color</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QPushButton" name="configMainColor"> <property name="whatsThis"> <string>This color is used for the main color.</string> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/colorselect.png</normaloff>:/icons/colorselect.png</iconset> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="selectedColorLabel"> <property name="text"> <string>Selected color</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QPushButton" name="configSelectColorBlend"> <property name="whatsThis"> <string>This color is used for the main color.</string> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/colorselect.png</normaloff>:/icons/colorselect.png</iconset> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_3"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Main color alpha</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QDoubleSpinBox" name="configMainColorAlpha"> <property name="maximum"> <double>1.000000000000000</double> </property> <property name="singleStep"> <double>0.050000000000000</double> </property> <property name="value"> <double>1.000000000000000</double> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_5"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Line thickness</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QSlider" name="configLineThickness"> <property name="whatsThis"> <string>How thick lines should be drawn in the viewport.</string> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>8</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksAbove</enum> </property> <property name="tickInterval"> <number>1</number> </property> </widget> </item> </layout> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="2"> <widget class="QCheckBox" name="configUseLogoStuds"> <property name="text"> <string>Use logoed studs</string> </property> </widget> </item> <item row="0" column="0"> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="3" column="1"> <widget class="QCheckBox" name="configAntiAliasedLines"> <property name="text"> <string>Anti-aliased lines</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QCheckBox" name="configDrawLineLengths"> <property name="text"> <string>Display line lenghts when drawing</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QCheckBox" name="configBfcRedGreenView"> <property name="whatsThis"> <string>Polygons' front sides become green and back sides red.</string> </property> <property name="text"> <string>Red/green BFC view (incomplete)</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QCheckBox" name="configColorizeObjectsList"> <property name="whatsThis"> <string>Makes colored objects (non-16 and 24) appear colored in the list view. A red triangle will, for instance, have its entry written in red text. This can be useful to locate colored objects.</string> </property> <property name="text"> <string>Colorize objects in list view</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QCheckBox" name="configBlackEdges"> <property name="whatsThis"> <string>Makes all edgelines appear black. If this is not set, edge lines take their color as defined in LDConfig.ldr.</string> </property> <property name="text"> <string>Black edges</string> </property> </widget> </item> <item row="1" column="3"> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="3" column="2"> <widget class="QCheckBox" name="configHighlightObjectBelowCursor"> <property name="text"> <string>Highlight object below cursor</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QCheckBox" name="configListImplicitFiles"> <property name="text"> <string>List implicitly loaded files</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="page"> <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <widget class="QGroupBox" name="groupBox_6"> <property name="title"> <string>Editing tools</string> </property> <layout class="QVBoxLayout" name="verticalLayout_7"> <item> <widget class="QGroupBox" name="groupBox_7"> <property name="title"> <string>Rounding</string> </property> <layout class="QVBoxLayout" name="verticalLayout_9"> <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="1"> <widget class="QLabel" name="label_17"> <property name="text"> <string>Position decimals:</string> </property> </widget> </item> <item row="0" column="2"> <widget class="QSpinBox" name="configRoundPositionPrecision"/> </item> <item row="1" column="1"> <widget class="QLabel" name="label_18"> <property name="text"> <string>Matrix decimals:</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QSpinBox" name="configRoundMatrixPrecision"/> </item> <item row="0" column="0"> <spacer name="horizontalSpacer_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="3"> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> </item> <item> <spacer name="verticalSpacer_6"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="page_4"> <layout class="QVBoxLayout" name="verticalLayout_14"> <item> <widget class="QGroupBox" name="groupBox_4"> <property name="title"> <string>Profile</string> </property> <layout class="QVBoxLayout" name="verticalLayout_8"> <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <layout class="QFormLayout" name="formLayout_3"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::ExpandingFieldsGrow</enum> </property> <item row="1" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Name:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="configDefaultName"> <property name="minimumSize"> <size> <width>250</width> <height>0</height> </size> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Username:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="configDefaultUser"/> </item> <item row="3" column="1"> <widget class="QCheckBox" name="configUseCaLicense"> <property name="text"> <string>Use CA license</string> </property> </widget> </item> </layout> </item> <item> <spacer name="horizontalSpacer_8"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <spacer name="verticalSpacer_7"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="page_5"> <layout class="QVBoxLayout" name="verticalLayout_15"> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="whatsThis"> <string>Here you can alter keyboard shortcuts for almost all LDForge actions. Only exceptions are the controls for the viewport. Use the set button to set a key shortcut, clear to remove it and reset to restore the shortcut to its default value. Shortcut changes apply immediately after closing this window.</string> </property> <property name="title"> <string>Shortcuts</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QListWidget" name="shortcutsList"> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAsNeeded</enum> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QPushButton" name="shortcut_set"> <property name="text"> <string>Set</string> </property> </widget> </item> <item> <widget class="QPushButton" name="shortcut_reset"> <property name="text"> <string>Reset</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/undo.png</normaloff>:/icons/undo.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="shortcut_clear"> <property name="text"> <string>Clear</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/delete.png</normaloff>:/icons/delete.png</iconset> </property> </widget> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="page_6"> <layout class="QVBoxLayout" name="verticalLayout_16"> <item> <widget class="QGroupBox" name="groupBox_3"> <property name="whatsThis"> <string>Here you can alter the layout of the quick colors toolbar. Use the controls to add, remove or edit the colors used. You can also add separators in between colors. Usually this contains MainColor, EdgeColor and some auxiliary colors used to group objects.</string> </property> <property name="title"> <string>Color Toolbar</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <widget class="QListWidget" name="quickColorList"> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAsNeeded</enum> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <widget class="QPushButton" name="quickColor_add"> <property name="text"> <string>Add Color</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/palette.png</normaloff>:/icons/palette.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="quickColor_addSep"> <property name="text"> <string>Add Separator</string> </property> </widget> </item> <item> <widget class="QPushButton" name="quickColor_edit"> <property name="text"> <string>Edit</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/mode-draw.png</normaloff>:/icons/mode-draw.png</iconset> </property> </widget> </item> <item> <widget class="Line" name="line_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QPushButton" name="quickColor_moveUp"> <property name="text"> <string>Move Up</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/arrow-up.png</normaloff>:/icons/arrow-up.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="quickColor_moveDown"> <property name="text"> <string>Move Down</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/arrow-down.png</normaloff>:/icons/arrow-down.png</iconset> </property> </widget> </item> <item> <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QPushButton" name="quickColor_remove"> <property name="text"> <string>Remove</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/delete.png</normaloff>:/icons/delete.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="quickColor_clear"> <property name="text"> <string>Clear List</string> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/delete.png</normaloff>:/icons/delete.png</iconset> </property> </widget> </item> <item> <spacer name="verticalSpacer_3"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="page_7"> <layout class="QVBoxLayout" name="verticalLayout_17"> <item> <widget class="QGroupBox" name="grids"> <property name="title"> <string>Grids</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="3" column="3"> <widget class="QDoubleSpinBox" name="configGridFineCoordinateSnap"> <property name="suffix"> <string> LDU</string> </property> <property name="decimals"> <number>5</number> </property> <property name="maximum"> <double>10000.000000000000000</double> </property> </widget> </item> <item row="3" column="4"> <widget class="QDoubleSpinBox" name="configGridFineAngleSnap"> <property name="suffix"> <string>°</string> </property> <property name="decimals"> <number>3</number> </property> <property name="maximum"> <double>360.000000000000000</double> </property> </widget> </item> <item row="0" column="3"> <widget class="QLabel" name="label_15"> <property name="text"> <string>Coordinate snap</string> </property> </widget> </item> <item row="0" column="4"> <widget class="QLabel" name="label_16"> <property name="text"> <string>Angle snap</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLabel" name="label_6"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="../../ldforge.qrc">:/icons/grid-coarse.png</pixmap> </property> </widget> </item> <item row="1" column="2"> <widget class="QLabel" name="label_12"> <property name="text"> <string>Coarse</string> </property> </widget> </item> <item row="1" column="3"> <widget class="QDoubleSpinBox" name="configGridCoarseCoordinateSnap"> <property name="suffix"> <string> LDU</string> </property> <property name="decimals"> <number>5</number> </property> <property name="maximum"> <double>10000.000000000000000</double> </property> </widget> </item> <item row="2" column="2"> <widget class="QLabel" name="label_13"> <property name="text"> <string>Medium</string> </property> </widget> </item> <item row="1" column="4"> <widget class="QDoubleSpinBox" name="configGridCoarseAngleSnap"> <property name="suffix"> <string>°</string> </property> <property name="decimals"> <number>3</number> </property> <property name="maximum"> <double>360.000000000000000</double> </property> </widget> </item> <item row="2" column="1"> <widget class="QLabel" name="label_10"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="../../ldforge.qrc">:/icons/grid-medium.png</pixmap> </property> </widget> </item> <item row="2" column="3"> <widget class="QDoubleSpinBox" name="configGridMediumCoordinateSnap"> <property name="suffix"> <string> LDU</string> </property> <property name="decimals"> <number>5</number> </property> <property name="maximum"> <double>10000.000000000000000</double> </property> </widget> </item> <item row="2" column="4"> <widget class="QDoubleSpinBox" name="configGridMediumAngleSnap"> <property name="suffix"> <string>°</string> </property> <property name="decimals"> <number>3</number> </property> <property name="maximum"> <double>360.000000000000000</double> </property> </widget> </item> <item row="3" column="2"> <widget class="QLabel" name="label_14"> <property name="text"> <string>Fine</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLabel" name="label_11"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap resource="../../ldforge.qrc">:/icons/grid-fine.png</pixmap> </property> </widget> </item> <item row="1" column="0"> <spacer name="horizontalSpacer_9"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="6"> <spacer name="horizontalSpacer_10"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="5"> <widget class="QLabel" name="label_9"> <property name="text"> <string>Bézier curve segments</string> </property> </widget> </item> <item row="1" column="5"> <widget class="QSpinBox" name="configGridCoarseBezierCurveSegments"> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>1000</number> </property> </widget> </item> <item row="2" column="5"> <widget class="QSpinBox" name="configGridMediumBezierCurveSegments"> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>1000</number> </property> </widget> </item> <item row="3" column="5"> <widget class="QSpinBox" name="configGridFineBezierCurveSegments"> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>10000</number> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>165</height> </size> </property> </spacer> </item> </layout> </widget> </item> </layout> </widget> <widget class="QWidget" name="page_8"> <layout class="QVBoxLayout" name="verticalLayout_18"> <item> <widget class="QGroupBox" name="extProgs"> <property name="whatsThis"> <string>LDForge supports launching of several third-party utility tools; here you can set the file paths to these tools. Set the paths of the tools to the exe files. Under Linux, you can also set the programs to be launched with Wine, so you can use Windows binaries here as well. You will obviously need Wine installed. A 'wine' command in PATH is necessary for this to work.</string> </property> <property name="title"> <string>External Programs</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_4"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="page_9"> <layout class="QVBoxLayout" name="verticalLayout_19"> <item> <widget class="QGroupBox" name="groupBox_5"> <property name="title"> <string>Downloads</string> </property> <layout class="QVBoxLayout" name="verticalLayout_20"> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="label_4"> <property name="text"> <string>Download path:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="configDownloadFilePath"/> </item> <item> <widget class="QPushButton" name="findDownloadPath"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="../../ldforge.qrc"> <normaloff>:/icons/folder.png</normaloff>:/icons/folder.png</iconset> </property> </widget> </item> </layout> </item> <item> <widget class="QCheckBox" name="configTryDownloadMissingFiles"> <property name="text"> <string>Attempt to download missing parts from the PT</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="configGuessDownloadPaths"> <property name="whatsThis"> <string><p>When this is set, LDForge tries to adjust and correct part paths based on the input. A full path given to the download prompt should be of form <tt>"&lt;dir&gt;/&lt;file&gt;.dat"</tt> - with this set, input can be automatically completed.</p> <p>Examples: <ul> <li>3002 -> parts/3002.dat</li> <li>3002.da -> parts/3002.dat</li> <li>3002s01 -> parts/s/3002s01.dat</li> <li>4-4cyli -> p/4-4cyli.dat</li> </ul></p></string> </property> <property name="text"> <string>Correct and guess part paths</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="configAutoCloseDownloadDialog"> <property name="whatsThis"> <string>If this is set, LDForge will close the download prompt after everything has been downloaded. The prompt will not be closed if a download has failed.</string> </property> <property name="text"> <string>Close download prompt after completion</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_5"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>187</height> </size> </property> </spacer> </item> </layout> </widget> </item> </layout> </widget> </widget> </item> </layout> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources> <include location="../../ldforge.qrc"/> </resources> <connections/> </ui>