Files
picard/ui/options_script.ui

266 lines
7.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ScriptingOptionsPage</class>
<widget class="QWidget" name="ScriptingOptionsPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>605</width>
<height>551</height>
</rect>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QGroupBox" name="enable_tagger_scripts">
<property name="title">
<string>Tagger Script(s)</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QSplitter" name="splitter">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="childrenCollapsible">
<bool>false</bool>
</property>
<widget class="ScriptListWidget" name="script_list">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
</widget>
<widget class="QWidget" name="formWidget" native="true">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QTextEdit" name="tagger_script">
<property name="acceptRichText">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QToolButton" name="add_button">
<property name="toolTip">
<string>Add new script</string>
</property>
<property name="text">
<string>Add new script</string>
</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="QToolButton" name="move_up_button">
<property name="toolTip">
<string>Move script up</string>
</property>
<property name="icon">
<iconset theme=":/images/16x16/go-up.png">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="move_down_button">
<property name="toolTip">
<string>Move script down</string>
</property>
<property name="icon">
<iconset theme=":/images/16x16/go-down.png">
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="remove_button">
<property name="text">
<string>Remove script</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="script_error">
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="scripting_doc_link">
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ScriptListWidget</class>
<extends>QListWidget</extends>
<header location="global">picard.ui.widgets.scriptlistwidget</header>
<slots>
<slot>remove_selected_script()</slot>
<slot>add_script()</slot>
</slots>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>enable_tagger_scripts</tabstop>
<tabstop>add_button</tabstop>
<tabstop>script_list</tabstop>
<tabstop>tagger_script</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>add_button</sender>
<signal>clicked()</signal>
<receiver>script_list</receiver>
<slot>add_script()</slot>
<hints>
<hint type="sourcelabel">
<x>85</x>
<y>475</y>
</hint>
<hint type="destinationlabel">
<x>170</x>
<y>246</y>
</hint>
</hints>
</connection>
<connection>
<sender>tagger_script</sender>
<signal>textChanged()</signal>
<receiver>ScriptingOptionsPage</receiver>
<slot>live_update_and_check()</slot>
<hints>
<hint type="sourcelabel">
<x>450</x>
<y>267</y>
</hint>
<hint type="destinationlabel">
<x>302</x>
<y>275</y>
</hint>
</hints>
</connection>
<connection>
<sender>script_list</sender>
<signal>itemSelectionChanged()</signal>
<receiver>ScriptingOptionsPage</receiver>
<slot>script_selected()</slot>
<hints>
<hint type="sourcelabel">
<x>170</x>
<y>246</y>
</hint>
<hint type="destinationlabel">
<x>302</x>
<y>275</y>
</hint>
</hints>
</connection>
<connection>
<sender>remove_button</sender>
<signal>clicked()</signal>
<receiver>script_list</receiver>
<slot>remove_selected_script()</slot>
<hints>
<hint type="sourcelabel">
<x>537</x>
<y>475</y>
</hint>
<hint type="destinationlabel">
<x>170</x>
<y>246</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>live_update_and_check()</slot>
<slot>script_selected()</slot>
<slot>move_selected_script_up()</slot>
<slot>move_selected_script_down()</slot>
</slots>
</ui>