126 lines
3.2 KiB
Plaintext
126 lines
3.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>TransactionsFrame</class>
|
||
|
<widget class="QFrame" name="TransactionsFrame">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>830</width>
|
||
|
<height>614</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Frame</string>
|
||
|
</property>
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::StyledPanel</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Raised</enum>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QTreeView" name="m_transactionsView">
|
||
|
<property name="sizeAdjustPolicy">
|
||
|
<enum>QAbstractScrollArea::AdjustIgnored</enum>
|
||
|
</property>
|
||
|
<property name="editTriggers">
|
||
|
<set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::CurrentChanged|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
|
||
|
</property>
|
||
|
<property name="alternatingRowColors">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="rootIsDecorated">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="uniformRowHeights">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="itemsExpandable">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<property name="sortingEnabled">
|
||
|
<bool>false</bool>
|
||
|
</property>
|
||
|
<attribute name="headerCascadingSectionResizes">
|
||
|
<bool>true</bool>
|
||
|
</attribute>
|
||
|
<attribute name="headerShowSortIndicator" stdset="0">
|
||
|
<bool>false</bool>
|
||
|
</attribute>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<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="m_csvButton">
|
||
|
<property name="text">
|
||
|
<string>Export</string>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../resources.qrc">
|
||
|
<normaloff>:/icons/export</normaloff>:/icons/export</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources>
|
||
|
<include location="../../resources.qrc"/>
|
||
|
</resources>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>m_csvButton</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>TransactionsFrame</receiver>
|
||
|
<slot>exportToCsv()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>761</x>
|
||
|
<y>587</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>414</x>
|
||
|
<y>306</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>m_transactionsView</sender>
|
||
|
<signal>doubleClicked(QModelIndex)</signal>
|
||
|
<receiver>TransactionsFrame</receiver>
|
||
|
<slot>showTransactionDetails(QModelIndex)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>414</x>
|
||
|
<y>287</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>414</x>
|
||
|
<y>306</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<slots>
|
||
|
<slot>exportToCsv()</slot>
|
||
|
<slot>showTransactionDetails(QModelIndex)</slot>
|
||
|
</slots>
|
||
|
</ui>
|