188 lines
4.5 KiB
XML
188 lines
4.5 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>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>FediPotato</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QHBoxLayout" name="vbox_main">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hbox_trees">
|
|
<item>
|
|
<widget class="QTreeView" name="treeview_channel">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="textElideMode">
|
|
<enum>Qt::ElideNone</enum>
|
|
</property>
|
|
<property name="headerHidden">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeWidget" name="treewidget_posts">
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::NoSelection</enum>
|
|
</property>
|
|
<property name="indentation">
|
|
<number>20</number>
|
|
</property>
|
|
<attribute name="headerVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFediPotato">
|
|
<property name="title">
|
|
<string>&FediPotato</string>
|
|
</property>
|
|
<addaction name="action_account_add"/>
|
|
<addaction name="action_quit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuHelp">
|
|
<property name="title">
|
|
<string>&Help</string>
|
|
</property>
|
|
<addaction name="action_website"/>
|
|
<addaction name="action_about"/>
|
|
</widget>
|
|
<addaction name="menuFediPotato"/>
|
|
<addaction name="menuHelp"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="action_quit">
|
|
<property name="text">
|
|
<string>Quit</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Q</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_website">
|
|
<property name="text">
|
|
<string>Website</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_about">
|
|
<property name="text">
|
|
<string>About FediPotato</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_account_add">
|
|
<property name="text">
|
|
<string>Add account</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>action_about</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>show_about()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>action_quit</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>close()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>action_website</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>open_website()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>-1</x>
|
|
<y>-1</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>treeview_channel</sender>
|
|
<signal>clicked(QModelIndex)</signal>
|
|
<receiver>MainWindow</receiver>
|
|
<slot>clicked_channel(QModelIndex)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>137</x>
|
|
<y>300</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>399</x>
|
|
<y>299</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>show_about()</slot>
|
|
<slot>open_website()</slot>
|
|
<slot>clicked_channel(QModelIndex)</slot>
|
|
</slots>
|
|
</ui>
|