|
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>SettingsW</class>
- <widget class="QDialog" name="SettingsW">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>600</width>
- <height>465</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>600</width>
- <height>0</height>
- </size>
- </property>
- <property name="windowTitle">
- <string>Settings</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QTableWidget" name="lw_page">
- <property name="maximumSize">
- <size>
- <width>125</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="editTriggers">
- <set>QAbstractItemView::NoEditTriggers</set>
- </property>
- <property name="showDropIndicator" stdset="0">
- <bool>false</bool>
- </property>
- <property name="dragDropOverwriteMode">
- <bool>false</bool>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::SingleSelection</enum>
- </property>
- <property name="selectionBehavior">
- <enum>QAbstractItemView::SelectRows</enum>
- </property>
- <property name="iconSize">
- <size>
- <width>48</width>
- <height>48</height>
- </size>
- </property>
- <property name="textElideMode">
- <enum>Qt::ElideMiddle</enum>
- </property>
- <property name="wordWrap">
- <bool>false</bool>
- </property>
- <property name="cornerButtonEnabled">
- <bool>false</bool>
- </property>
- <attribute name="horizontalHeaderVisible">
- <bool>false</bool>
- </attribute>
- <attribute name="horizontalHeaderStretchLastSection">
- <bool>true</bool>
- </attribute>
- <attribute name="verticalHeaderVisible">
- <bool>false</bool>
- </attribute>
- <attribute name="verticalHeaderDefaultSectionSize">
- <number>52</number>
- </attribute>
- <row>
- <property name="text">
- <string>main</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>canvas</string>
- </property>
- </row>
- <row>
- <property name="text">
- <string>ladish</string>
- </property>
- </row>
- <column>
- <property name="text">
- <string>Widget</string>
- </property>
- </column>
- <item row="0" column="0">
- <property name="text">
- <string>Main</string>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="textAlignment">
- <set>AlignLeft|AlignVCenter</set>
- </property>
- <property name="icon">
- <iconset resource="../resources.qrc">
- <normaloff>:/48x48/exec.png</normaloff>:/48x48/exec.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsEnabled</set>
- </property>
- </item>
- <item row="1" column="0">
- <property name="text">
- <string>Canvas</string>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="icon">
- <iconset resource="../resources.qrc">
- <normaloff>:/48x48/canvas.png</normaloff>:/48x48/canvas.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsEnabled</set>
- </property>
- </item>
- <item row="2" column="0">
- <property name="text">
- <string>LADISH</string>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="icon">
- <iconset resource="../resources.qrc">
- <normaloff>:/48x48/ladish.png</normaloff>:/48x48/ladish.png</iconset>
- </property>
- <property name="flags">
- <set>ItemIsSelectable|ItemIsEnabled</set>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <widget class="QStackedWidget" name="stackedWidget">
- <property name="lineWidth">
- <number>0</number>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="page_main">
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <property name="margin">
- <number>2</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string><b>Main</b></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </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>
- <item>
- <widget class="QLabel" name="label_icon_main">
- <property name="text">
- <string notr="true"/>
- </property>
- <property name="pixmap">
- <pixmap resource="../resources.qrc">:/48x48/exec.png</pixmap>
- </property>
- <property name="alignment">
- <set>Qt::AlignHCenter|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QGroupBox" name="group_main_paths">
- <property name="title">
- <string>Paths</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Default project folder:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="le_main_def_folder"/>
- </item>
- <item>
- <widget class="QPushButton" name="b_main_def_folder_open">
- <property name="maximumSize">
- <size>
- <width>22</width>
- <height>22</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="icon">
- <iconset resource="../resources.qrc">
- <normaloff>:/16x16/document-open.png</normaloff>:/16x16/document-open.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="group_tray">
- <property name="title">
- <string>System Tray</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_5">
- <item row="1" column="0">
- <widget class="QCheckBox" name="cb_tray_close_to">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Close Main Window to System Tray</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QCheckBox" name="cb_tray_enable">
- <property name="text">
- <string>Use System Tray (App-Indicator support)</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>Misc</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QLabel" name="label_8">
- <property name="text">
- <string>GUI Refresh interval:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QSpinBox" name="sb_gui_refresh">
- <property name="suffix">
- <string> ms</string>
- </property>
- <property name="minimum">
- <number>10</number>
- </property>
- <property name="maximum">
- <number>1000</number>
- </property>
- <property name="value">
- <number>250</number>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <spacer name="horizontalSpacer_12">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>10</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_jack_port_alias">
- <property name="text">
- <string>JACK Port Aliases:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="cb_jack_port_alias">
- <item>
- <property name="text">
- <string>0 (none)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>1st alias</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>2nd alias</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <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_canvas">
- <layout class="QVBoxLayout" name="verticalLayout_8">
- <property name="margin">
- <number>2</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_10">
- <item>
- <widget class="QLabel" name="label_9">
- <property name="text">
- <string><b>Canvas</b></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- <item>
- <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>
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string notr="true"/>
- </property>
- <property name="pixmap">
- <pixmap resource="../resources.qrc">:/48x48/canvas.png</pixmap>
- </property>
- <property name="alignment">
- <set>Qt::AlignHCenter|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_4">
- <property name="title">
- <string>Theme</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="4">
- <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>
- <item row="1" column="0" colspan="2">
- <spacer name="horizontalSpacer_8">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>80</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item row="1" column="2" colspan="3">
- <widget class="QCheckBox" name="cb_canvas_bezier_lines">
- <property name="text">
- <string>Bezier Lines</string>
- </property>
- </widget>
- </item>
- <item row="0" column="3">
- <widget class="QComboBox" name="cb_canvas_theme"/>
- </item>
- <item row="0" column="1" colspan="2">
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>Theme:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <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>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_7">
- <property name="title">
- <string>Options</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <widget class="QCheckBox" name="cb_canvas_hide_groups">
- <property name="text">
- <string>Auto-hide groups with no ports</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cb_canvas_eyecandy">
- <property name="text">
- <string>Fancy Eye-candy</string>
- </property>
- <property name="tristate">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cb_canvas_use_opengl">
- <property name="text">
- <string>Use OpenGL for rendering (EXPERIMENTAL, needs restart)</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_5">
- <property name="title">
- <string>Render Hints</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_9">
- <item>
- <widget class="QCheckBox" name="cb_canvas_render_aa">
- <property name="text">
- <string>Antialiasing</string>
- </property>
- <property name="tristate">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cb_canvas_render_hq_aa">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>High Quality Antiliasing (OpenGL only)</string>
- </property>
- </widget>
- </item>
- </layout>
- </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>
- </widget>
- <widget class="QWidget" name="page_ladish">
- <layout class="QVBoxLayout" name="verticalLayout_10">
- <property name="margin">
- <number>2</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_11">
- <item>
- <widget class="QLabel" name="label_13">
- <property name="text">
- <string><b>LADISH</b></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- <item>
- <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>
- <widget class="QLabel" name="label_14">
- <property name="text">
- <string notr="true"/>
- </property>
- <property name="pixmap">
- <pixmap resource="../resources.qrc">:/48x48/ladish.png</pixmap>
- </property>
- <property name="alignment">
- <set>Qt::AlignHCenter|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_6">
- <property name="title">
- <string>Options</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
- <widget class="QCheckBox" name="cb_ladish_studio_autostart">
- <property name="text">
- <string>Start studio on load</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cb_ladish_notify">
- <property name="text">
- <string>Send notifications</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <widget class="QLabel" name="label_15">
- <property name="text">
- <string>Shell to use:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLineEdit" name="le_ladish_shell"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_16">
- <property name="text">
- <string>Terminal to use:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QLineEdit" name="le_ladish_terminal"/>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>JS delay:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="sb_ladish_jsdelay">
- <property name="suffix">
- <string> seconds</string>
- </property>
- <property name="prefix">
- <string/>
- </property>
- <property name="maximum">
- <number>1000</number>
- </property>
- </widget>
- </item>
- </layout>
- </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"/>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources>
- <include location="../resources.qrc"/>
- <include location="../resources.qrc"/>
- <include location="../resources.qrc"/>
- <include location="../resources.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>SettingsW</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>254</x>
- <y>458</y>
- </hint>
- <hint type="destinationlabel">
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>SettingsW</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>254</x>
- <y>458</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>lw_page</sender>
- <signal>currentCellChanged(int,int,int,int)</signal>
- <receiver>stackedWidget</receiver>
- <slot>setCurrentIndex(int)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>113</x>
- <y>17</y>
- </hint>
- <hint type="destinationlabel">
- <x>170</x>
- <y>27</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cb_canvas_use_opengl</sender>
- <signal>toggled(bool)</signal>
- <receiver>cb_canvas_render_hq_aa</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>385</x>
- <y>227</y>
- </hint>
- <hint type="destinationlabel">
- <x>385</x>
- <y>299</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>cb_tray_enable</sender>
- <signal>toggled(bool)</signal>
- <receiver>cb_tray_close_to</receiver>
- <slot>setEnabled(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>295</x>
- <y>153</y>
- </hint>
- <hint type="destinationlabel">
- <x>289</x>
- <y>175</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|