Newer
Older
saori / saoriview.ui
@TAM (Teppei Tamra) TAM (Teppei Tamra) on 21 Aug 2018 7 KB Oldestボタンの追加。
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>SaoriView</class>
 <widget class="QWidget" name="SaoriView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>331</width>
    <height>465</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="SaoriViewEntry" name="header" native="true">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QScrollArea" name="scrollArea">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="verticalScrollBarPolicy">
      <enum>Qt::ScrollBarAlwaysOn</enum>
     </property>
     <property name="horizontalScrollBarPolicy">
      <enum>Qt::ScrollBarAsNeeded</enum>
     </property>
     <property name="sizeAdjustPolicy">
      <enum>QAbstractScrollArea::AdjustIgnored</enum>
     </property>
     <property name="widgetResizable">
      <bool>true</bool>
     </property>
     <property name="alignment">
      <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
     </property>
     <widget class="QWidget" name="scrollAreaWidgetContents">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
        <width>297</width>
        <height>368</height>
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout_2"/>
     </widget>
    </widget>
   </item>
   <item>
    <widget class="SaoriTootWidget" name="tootWidget" native="true">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QFrame" name="frame_buttons">
     <property name="frameShape">
      <enum>QFrame::StyledPanel</enum>
     </property>
     <property name="frameShadow">
      <enum>QFrame::Plain</enum>
     </property>
     <property name="lineWidth">
      <number>0</number>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout_4">
      <property name="spacing">
       <number>0</number>
      </property>
      <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="QLabel" name="labelAvatar">
        <property name="text">
         <string/>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="horizontalSpacer_2">
        <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="QToolBar" name="toolBar">
        <property name="movable">
         <bool>false</bool>
        </property>
        <property name="floatable">
         <bool>false</bool>
        </property>
        <addaction name="actionPin"/>
        <addaction name="actionNotification"/>
        <addaction name="actionAutoreload"/>
        <addaction name="separator"/>
        <addaction name="actionNewest"/>
        <addaction name="actionOldest"/>
        <addaction name="actionReload"/>
        <addaction name="separator"/>
        <addaction name="actionToot"/>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
  <action name="actionReload">
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-refresh.svg</normaloff>:/icons/ionicons-md/md-refresh.svg</iconset>
   </property>
   <property name="text">
    <string>Reload</string>
   </property>
   <property name="shortcut">
    <string>F5</string>
   </property>
  </action>
  <action name="actionNotification">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-notifications.svg</normaloff>:/icons/ionicons-md/md-notifications.svg</iconset>
   </property>
   <property name="text">
    <string>Notification</string>
   </property>
  </action>
  <action name="actionAutoreload">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-sync.svg</normaloff>:/icons/ionicons-md/md-sync.svg</iconset>
   </property>
   <property name="text">
    <string>Autoreload</string>
   </property>
  </action>
  <action name="actionNewest">
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-arrow-round-up.svg</normaloff>:/icons/ionicons-md/md-arrow-round-up.svg</iconset>
   </property>
   <property name="text">
    <string>Newest</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Home</string>
   </property>
  </action>
  <action name="actionToot">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-text.svg</normaloff>:/icons/ionicons-md/md-text.svg</iconset>
   </property>
   <property name="text">
    <string>Toot</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+T</string>
   </property>
  </action>
  <action name="actionPin">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-pin.svg</normaloff>:/icons/ionicons-md/md-pin.svg</iconset>
   </property>
   <property name="text">
    <string>Pin</string>
   </property>
  </action>
  <action name="actionOldest">
   <property name="icon">
    <iconset resource="saori.qrc">
     <normaloff>:/icons/ionicons-md/md-arrow-round-down.svg</normaloff>:/icons/ionicons-md/md-arrow-round-down.svg</iconset>
   </property>
   <property name="text">
    <string>Oldest</string>
   </property>
   <property name="toolTip">
    <string>Oldest</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+End</string>
   </property>
  </action>
 </widget>
 <customwidgets>
  <customwidget>
   <class>SaoriTootWidget</class>
   <extends>QWidget</extends>
   <header>saoritootwidget.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>SaoriViewEntry</class>
   <extends>QWidget</extends>
   <header>saoriviewentry.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="saori.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionToot</sender>
   <signal>toggled(bool)</signal>
   <receiver>tootWidget</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>165</x>
     <y>355</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>