153 lines
3.7 KiB
XML
153 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>LoveDialog</class>
|
|
<widget class="QDialog" name="LoveDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>400</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>300</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>400</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Quickly rate the playing track</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../../data/data.qrc">
|
|
<normaloff>:/icon.png</normaloff>:/icon.png</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QTextEdit" name="summary">
|
|
<property name="styleSheet">
|
|
<string notr="true">QTextEdit {
|
|
background: transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,0">
|
|
<property name="horizontalSpacing">
|
|
<number>18</number>
|
|
</property>
|
|
<item row="2" column="0">
|
|
<widget class="RatingWidget" name="rating" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="button_box">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>RatingWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>widgets/ratingwidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../../data/data.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>button_box</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>LoveDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>65</x>
|
|
<y>552</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>84</x>
|
|
<y>533</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>button_box</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>LoveDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>236</x>
|
|
<y>542</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>242</x>
|
|
<y>532</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|