Clementine-audio-player-Mac.../src/scripting/scriptdialog.ui

220 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ScriptDialog</class>
<widget class="QDialog" name="ScriptDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>758</width>
<height>489</height>
</rect>
</property>
<property name="windowTitle">
<string>Script Manager</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTabWidget" name="tab_widget">
<property name="minimumSize">
<size>
<width>0</width>
<height>300</height>
</size>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>My scripts</string>
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="ScriptDialogList" name="list">
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QPushButton" name="enable">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Enable</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="disable">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Disable</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="settings">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Settings...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="reload">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Reload</string>
</property>
</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>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Get new scripts</string>
</attribute>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="developer_mode">
<property name="text">
<string>Developer mode</string>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="button_box">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTextEdit" name="console">
<property name="minimumSize">
<size>
<width>0</width>
<height>130</height>
</size>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>ScriptDialogList</class>
<extends>QListView</extends>
<header>scripting/scriptdialoglist.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>button_box</sender>
<signal>accepted()</signal>
<receiver>ScriptDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>548</x>
<y>342</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>button_box</sender>
<signal>rejected()</signal>
<receiver>ScriptDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>616</x>
<y>342</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>developer_mode</sender>
<signal>toggled(bool)</signal>
<receiver>console</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>78</x>
<y>339</y>
</hint>
<hint type="destinationlabel">
<x>81</x>
<y>455</y>
</hint>
</hints>
</connection>
<connection>
<sender>developer_mode</sender>
<signal>toggled(bool)</signal>
<receiver>reload</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>118</x>
<y>330</y>
</hint>
<hint type="destinationlabel">
<x>699</x>
<y>164</y>
</hint>
</hints>
</connection>
</connections>
</ui>