Mon, 16 Jun 2014 15:32:33 +0300
- allow 5 decimals for grid precision
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ConfigUI</class> <widget class="QDialog" name="ConfigUI"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>717</width> <height>419</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_3" stretch="0,0,0"> <item> <layout class="QFormLayout" name="formLayout"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::ExpandingFieldsGrow</enum> </property> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Main color:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QPushButton" name="mainColorButton"> <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="1" 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="1" column="1"> <widget class="QSlider" name="mainColorAlpha"> <property name="whatsThis"> <string>Opacity of main color in the viewport.</string> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>10</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> <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="selColorButton"> <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_2"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Background:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QPushButton" name="backgroundColorButton"> <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> </layout> </item> <item> <layout class="QFormLayout" name="formLayout_2"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::ExpandingFieldsGrow</enum> </property> <item row="0" column="1"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QSlider" name="lineThickness"> <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 row="0" column="0"> <widget class="QLabel" name="label_5"> <property name="whatsThis"> <string/> </property> <property name="text"> <string>Line thickness:</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <layout class="QVBoxLayout" name="verticalLayout_11"> <item> <widget class="QCheckBox" name="blackEdges"> <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> <widget class="QCheckBox" name="colorBFC"> <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> <widget class="QCheckBox" name="colorizeObjects"> <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> <widget class="QCheckBox" name="m_aa"> <property name="text"> <string>Anti-aliased lines</string> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_12"> <item> <widget class="QCheckBox" name="m_logostuds"> <property name="text"> <string>Use logoed studs</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="linelengths"> <property name="text"> <string>Display line lenghts when drawing</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="implicitFiles"> <property name="text"> <string>List implicitly loaded files</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="highlightObjectBelowCursor"> <property name="text"> <string>Highlight object below cursor</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="0"> <widget class="QLabel" name="label_17"> <property name="text"> <string>Position decimals:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="roundPosition"/> </item> <item row="1" column="0"> <widget class="QLabel" name="label_18"> <property name="text"> <string>Matrix decimals:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="roundMatrix"/> </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="QFormLayout" name="formLayout_3"> <item row="2" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Username:</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Name:</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_9"> <property name="text"> <string>License:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="m_profileName"/> </item> <item row="2" column="1"> <widget class="QLineEdit" name="m_profileUsername"/> </item> <item row="3" column="1"> <widget class="QComboBox" name="m_profileLicense"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <item> <property name="text"> <string>CA - redistributable</string> </property> </item> <item> <property name="text"> <string>NonCA - not redistributable</string> </property> </item> <item> <property name="text"> <string>None</string> </property> </item> </widget> </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" columnstretch="0,0,1,1"> <item row="0" column="2"> <widget class="QLabel" name="label_15"> <property name="text"> <string>Coordinate snap</string> </property> </widget> </item> <item row="0" column="3"> <widget class="QLabel" name="label_16"> <property name="text"> <string>Angle snap</string> </property> </widget> </item> <item row="1" column="0"> <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="1"> <widget class="QLabel" name="label_12"> <property name="text"> <string>Coarse</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QDoubleSpinBox" name="gridCoarseCoordinateSnap"> <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="1" column="3"> <widget class="QDoubleSpinBox" name="gridCoarseAngleSnap"> <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="0"> <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="1"> <widget class="QLabel" name="label_13"> <property name="text"> <string>Medium</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QDoubleSpinBox" name="gridMediumCoordinateSnap"> <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="3"> <widget class="QDoubleSpinBox" name="gridMediumAngleSnap"> <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="0"> <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="3" column="1"> <widget class="QLabel" name="label_14"> <property name="text"> <string>Fine</string> </property> </widget> </item> <item row="3" column="2"> <widget class="QDoubleSpinBox" name="gridFineCoordinateSnap"> <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="3"> <widget class="QDoubleSpinBox" name="gridFineAngleSnap"> <property name="suffix"> <string>°</string> </property> <property name="decimals"> <number>3</number> </property> <property name="maximum"> <double>360.000000000000000</double> </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="downloadPath"/> </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="guessNetPaths"> <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="autoCloseNetPrompt"> <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>