301 lines
9.9 KiB
XML
301 lines
9.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>StatsDialog</class>
|
|
<widget class="QDialog" name="StatsDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>139</width>
|
|
<height>316</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Statistics</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="dialogLayout">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetFixedSize</enum>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="currentSessionSection">
|
|
<property name="title">
|
|
<string>Current Session</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="currentSessionSectionLayout" columnstretch="0,1">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="currentUploadedLabel">
|
|
<property name="text">
|
|
<string>Uploaded:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>currentUploadedValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="SqueezeLabel" name="currentUploadedValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="currentDownloadedLabel">
|
|
<property name="text">
|
|
<string>Downloaded:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>currentDownloadedValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="SqueezeLabel" name="currentDownloadedValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="currentRatioLabel">
|
|
<property name="text">
|
|
<string>Ratio:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>currentRatioValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="SqueezeLabel" name="currentRatioValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="currentDurationLabel">
|
|
<property name="text">
|
|
<string>Duration:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>currentDurationValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="SqueezeLabel" name="currentDurationValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="totalSection">
|
|
<property name="title">
|
|
<string>Total</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="totalSectionLayout" columnstretch="0,1">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="SqueezeLabel" name="startCountLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="totalUploadedLabel">
|
|
<property name="text">
|
|
<string>Uploaded:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>totalUploadedValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="SqueezeLabel" name="totalUploadedValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="totalDownloadedLabel">
|
|
<property name="text">
|
|
<string>Downloaded:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>totalDownloadedValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="SqueezeLabel" name="totalDownloadedValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="totalRatioLabel">
|
|
<property name="text">
|
|
<string>Ratio:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>totalRatioValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="SqueezeLabel" name="totalRatioValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="totalDurationLabel">
|
|
<property name="text">
|
|
<string>Duration:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>totalDurationValueLabel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="SqueezeLabel" name="totalDurationValueLabel">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="dialogButtons">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Close</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>SqueezeLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>SqueezeLabel.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>dialogButtons</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>StatsDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>20</x>
|
|
<y>20</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>20</x>
|
|
<y>20</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|