lolautoaccept/ui/mainwindow.ui

436 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>579</width>
<height>633</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>LoL-Auto-Accept</string>
</property>
<widget class="QWidget" name="centralwidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Ignored">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>575</width>
<height>809</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<property name="spacing">
<number>9</number>
</property>
<item row="2" column="0">
<widget class="QCheckBox" name="enableSmiteWarning">
<property name="toolTip">
<string>Spam &quot;smite&quot; in the chat when there is not exactly 1 player with smite equiped in champ select</string>
</property>
<property name="text">
<string>Enable Smite Warning</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
<enum>QTabWidget::North</enum>
</property>
<property name="tabShape">
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<property name="elideMode">
<enum>Qt::ElideNone</enum>
</property>
<property name="usesScrollButtons">
<bool>false</bool>
</property>
<property name="tabsClosable">
<bool>false</bool>
</property>
<widget class="SettingsTab" name="tab_default">
<property name="toolTip">
<string>This Tab is used, when you are in a gamemode with no fixed roles</string>
</property>
<property name="position" stdset="0">
<UInt>0</UInt>
</property>
<attribute name="title">
<string>Default</string>
</attribute>
</widget>
<widget class="SettingsTab" name="tab_top">
<property name="position" stdset="0">
<UInt>1</UInt>
</property>
<attribute name="icon">
<iconset resource="../resources/res.qrc">
<normaloff>:/icons/top.svg</normaloff>:/icons/top.svg</iconset>
</attribute>
<attribute name="title">
<string>Top</string>
</attribute>
</widget>
<widget class="SettingsTab" name="tab_jgl">
<property name="position" stdset="0">
<UInt>2</UInt>
</property>
<attribute name="icon">
<iconset resource="../resources/res.qrc">
<normaloff>:/icons/jgl.svg</normaloff>:/icons/jgl.svg</iconset>
</attribute>
<attribute name="title">
<string>Jungle</string>
</attribute>
</widget>
<widget class="SettingsTab" name="tab_mid">
<property name="position" stdset="0">
<UInt>3</UInt>
</property>
<attribute name="icon">
<iconset resource="../resources/res.qrc">
<normaloff>:/icons/mid.svg</normaloff>:/icons/mid.svg</iconset>
</attribute>
<attribute name="title">
<string>Middle</string>
</attribute>
</widget>
<widget class="SettingsTab" name="tab_bot">
<property name="position" stdset="0">
<UInt>4</UInt>
</property>
<attribute name="icon">
<iconset resource="../resources/res.qrc">
<normaloff>:/icons/bot.svg</normaloff>:/icons/bot.svg</iconset>
</attribute>
<attribute name="title">
<string>Bottom</string>
</attribute>
</widget>
<widget class="SettingsTab" name="tab_sup">
<property name="position" stdset="0">
<UInt>5</UInt>
</property>
<attribute name="icon">
<iconset resource="../resources/res.qrc">
<normaloff>:/icons/sup.svg</normaloff>:/icons/sup.svg</iconset>
</attribute>
<attribute name="title">
<string>Support</string>
</attribute>
</widget>
</widget>
</item>
<item row="4" column="0" colspan="2">
<widget class="QTextEdit" name="autoWriteText">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::WheelFocus</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
<property name="placeholderText">
<string>autowriteText</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="enableAutoWrite">
<property name="toolTip">
<string>Write a Text as soon as you are in a champ select lobby.</string>
</property>
<property name="text">
<string>Auto Write</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="enableAll">
<property name="text">
<string>Enable LoL-Auto-Accept</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="mainswitch">
<property name="text">
<string>Mainswitch</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="4">
<widget class="QLabel" name="copyrightlabel">
<property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Developed by MrBesen&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Webseite&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Version: %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::TextBrowserInteraction</set>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
<widget class="RuneDisplay" name="runedisplay" native="true"/>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>579</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<customwidgets>
<customwidget>
<class>SettingsTab</class>
<extends>QWidget</extends>
<header>settingstab.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>RuneDisplay</class>
<extends>QWidget</extends>
<header>runedisplay.h</header>
<container>1</container>
<slots>
<signal>applyRunes()</signal>
</slots>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>mainswitch</tabstop>
<tabstop>enableAll</tabstop>
<tabstop>enableSmiteWarning</tabstop>
<tabstop>enableAutoWrite</tabstop>
<tabstop>autoWriteText</tabstop>
<tabstop>tabWidget</tabstop>
</tabstops>
<resources>
<include location="../resources/res.qrc"/>
</resources>
<connections>
<connection>
<sender>enableAll</sender>
<signal>clicked(bool)</signal>
<receiver>MainWindow</receiver>
<slot>aatoggled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>25</x>
<y>88</y>
</hint>
<hint type="destinationlabel">
<x>393</x>
<y>54</y>
</hint>
</hints>
</connection>
<connection>
<sender>mainswitch</sender>
<signal>clicked(bool)</signal>
<receiver>MainWindow</receiver>
<slot>toggleMainswitch(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>88</x>
<y>38</y>
</hint>
<hint type="destinationlabel">
<x>1</x>
<y>61</y>
</hint>
</hints>
</connection>
<connection>
<sender>MainWindow</sender>
<signal>requestTabChange(int)</signal>
<receiver>tabWidget</receiver>
<slot>setCurrentIndex(int)</slot>
<hints>
<hint type="sourcelabel">
<x>417</x>
<y>86</y>
</hint>
<hint type="destinationlabel">
<x>408</x>
<y>380</y>
</hint>
</hints>
</connection>
<connection>
<sender>runedisplay</sender>
<signal>applyRunes()</signal>
<receiver>MainWindow</receiver>
<slot>applyRunes()</slot>
<hints>
<hint type="sourcelabel">
<x>232</x>
<y>598</y>
</hint>
<hint type="destinationlabel">
<x>452</x>
<y>576</y>
</hint>
</hints>
</connection>
<connection>
<sender>enableSmiteWarning</sender>
<signal>clicked(bool)</signal>
<receiver>MainWindow</receiver>
<slot>smitewarntoggled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>191</x>
<y>111</y>
</hint>
<hint type="destinationlabel">
<x>201</x>
<y>88</y>
</hint>
</hints>
</connection>
<connection>
<sender>enableAutoWrite</sender>
<signal>clicked(bool)</signal>
<receiver>MainWindow</receiver>
<slot>autoWriteChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>188</x>
<y>156</y>
</hint>
<hint type="destinationlabel">
<x>441</x>
<y>147</y>
</hint>
</hints>
</connection>
<connection>
<sender>autoWriteText</sender>
<signal>textChanged()</signal>
<receiver>MainWindow</receiver>
<slot>autoWriteChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>315</x>
<y>169</y>
</hint>
<hint type="destinationlabel">
<x>347</x>
<y>146</y>
</hint>
</hints>
</connection>
<connection>
<sender>enableAutoWrite</sender>
<signal>toggled(bool)</signal>
<receiver>autoWriteText</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>94</x>
<y>156</y>
</hint>
<hint type="destinationlabel">
<x>86</x>
<y>168</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<signal>requestTabChange(int)</signal>
<slot>aatoggled(bool)</slot>
<slot>tabtoggled(Position, LolAutoAccept::State, bool)</slot>
<slot>tabchanged(Position, LolAutoAccept::State)</slot>
<slot>toggleMainswitch(bool)</slot>
<slot>applyRunes()</slot>
<slot>smitewarntoggled(bool)</slot>
<slot>autoWriteChanged()</slot>
</slots>
</ui>