view src/mainwindow.ui @ 218:c3f47d489097

Implement global transactions viewer dialog.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 06 Mar 2018 14:37:39 +0200
parents 5c3e3967bdf3
children 0ad684255485
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>SyntilistaMainWindow</class>
 <widget class="QMainWindow" name="SyntilistaMainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>835</width>
    <height>646</height>
   </rect>
  </property>
  <widget class="QWidget" name="centralwidget">
   <layout class="QHBoxLayout" name="horizontalLayout_2">
    <item>
     <widget class="QGroupBox" name="henkilotGB">
      <property name="title">
       <string>Henkilöt</string>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_3">
         <item>
          <widget class="QLabel" name="label">
           <property name="text">
            <string>Etsi / suodata</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLineEdit" name="edit_PersonFilter"/>
         </item>
         <item>
          <widget class="QPushButton" name="button_ClearFilter">
           <property name="text">
            <string>Tyhjennä suodatin</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QTableView" name="tableview_People">
         <property name="selectionMode">
          <enum>QAbstractItemView::SingleSelection</enum>
         </property>
         <property name="selectionBehavior">
          <enum>QAbstractItemView::SelectRows</enum>
         </property>
        </widget>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_7">
         <item>
          <widget class="QLabel" name="label_NumPeopleText">
           <property name="text">
            <string>Henkilöitä</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="label_NumPeopleValue">
           <property name="text">
            <string>0</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="label_TotalBalanceText">
           <property name="text">
            <string>Kokonaistase:</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="label_TotalBalanceValue">
           <property name="text">
            <string>12345</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="label_EUR2">
           <property name="text">
            <string>EUR</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout">
         <item>
          <widget class="QPushButton" name="button_DeletePerson">
           <property name="text">
            <string>Poista henkilö</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="QPushButton" name="button_AddPerson">
           <property name="text">
            <string>Lisää uusi henkilö</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="button_EditPerson">
           <property name="text">
            <string>Muokkaa henkilöä</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
      </layout>
     </widget>
    </item>
    <item>
     <layout class="QVBoxLayout" name="verticalLayout">
      <property name="sizeConstraint">
       <enum>QLayout::SetMinimumSize</enum>
      </property>
      <item>
       <widget class="QGroupBox" name="personGB">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="title">
         <string>Henkilön syntilista</string>
        </property>
        <property name="alignment">
         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
        </property>
        <property name="flat">
         <bool>false</bool>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout_3">
         <property name="sizeConstraint">
          <enum>QLayout::SetMinimumSize</enum>
         </property>
         <item>
          <widget class="QLabel" name="label_PersonName">
           <property name="text">
            <string>Henkilön nimi</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="Line" name="line">
           <property name="lineWidth">
            <number>4</number>
           </property>
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout_6">
           <item>
            <widget class="QLabel" name="label_CurrentBalance">
             <property name="text">
              <string>Nykyinen tase:</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="label_BalanceValue">
             <property name="text">
              <string>12345</string>
             </property>
             <property name="alignment">
              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="label_EUR">
             <property name="text">
              <string>EUR</string>
             </property>
             <property name="alignment">
              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <widget class="Line" name="line_2">
           <property name="lineWidth">
            <number>4</number>
           </property>
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLineEdit" name="edit_Amount">
           <property name="text">
            <string/>
           </property>
           <property name="alignment">
            <set>Qt::AlignCenter</set>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout_5">
           <item>
            <widget class="QPushButton" name="button_AddDebt">
             <property name="text">
              <string>Lisää velkaa</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QPushButton" name="button_PayDebt">
             <property name="text">
              <string>Maksa velkaa</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <widget class="QLabel" name="label_2">
           <property name="text">
            <string>Viimeisimmät tapahtumat:</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QTableView" name="tableview_Latest">
           <property name="selectionMode">
            <enum>QAbstractItemView::SingleSelection</enum>
           </property>
           <property name="selectionBehavior">
            <enum>QAbstractItemView::SelectRows</enum>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="button_PayFullDebt">
           <property name="text">
            <string>Maksa koko velka</string>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="button_LogoImage">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string/>
        </property>
       </widget>
      </item>
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout_4">
        <property name="sizeConstraint">
         <enum>QLayout::SetMinimumSize</enum>
        </property>
        <item>
         <widget class="QPushButton" name="button_About">
          <property name="text">
           <string/>
          </property>
          <property name="icon">
           <iconset resource="resources.qrc">
            <normaloff>:/icon</normaloff>:/icon</iconset>
          </property>
          <property name="iconSize">
           <size>
            <width>32</width>
            <height>32</height>
           </size>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="button_Print">
          <property name="text">
           <string>Tulosta</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QPushButton" name="button_ViewTransactions">
          <property name="text">
           <string>Tapahtumat</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="QPushButton" name="button_Quit">
          <property name="text">
           <string>Poistu ohjelmasta</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </item>
   </layout>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
 </widget>
 <tabstops>
  <tabstop>edit_PersonFilter</tabstop>
  <tabstop>button_ClearFilter</tabstop>
  <tabstop>button_AddPerson</tabstop>
  <tabstop>button_Quit</tabstop>
 </tabstops>
 <resources>
  <include location="resources.qrc"/>
 </resources>
 <connections/>
</ui>