konaclient-qt/konapreviewimageview.ui

134 lines
3.0 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>KonaPreviewImageView</class>
<widget class="QWidget" name="KonaPreviewImageView">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<height>170</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>170</height>
</size>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">background: rgb(0, 0, 0);</string>
</property>
<widget class="QPushButton" name="btnResolution">
<property name="geometry">
<rect>
<x>2</x>
<y>152</y>
<width>196</width>
<height>16</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true">color: #333;
border: 1px solid #555;
background: qradialgradient(cx: 0.3, cy: -0.4, fx: 0.3, fy: -0.4, radius: 1.35, stop: 0 #fff, stop: 1 #888);</string>
</property>
<property name="text">
<string>0000 x 0000</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="imgLabel">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<height>150</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="btnImage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>200</width>
<height>150</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: none;
background: none;
</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>btnResolution</sender>
<signal>clicked()</signal>
<receiver>KonaPreviewImageView</receiver>
<slot>downloadImage()</slot>
<hints>
<hint type="sourcelabel">
<x>34</x>
<y>157</y>
</hint>
<hint type="destinationlabel">
<x>40</x>
<y>150</y>
</hint>
</hints>
</connection>
<connection>
<sender>btnImage</sender>
<signal>clicked()</signal>
<receiver>KonaPreviewImageView</receiver>
<slot>OpenImage()</slot>
<hints>
<hint type="sourcelabel">
<x>134</x>
<y>93</y>
</hint>
<hint type="destinationlabel">
<x>184</x>
<y>151</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>OpenImage()</slot>
<slot>RMB()</slot>
<slot>downloadImage()</slot>
</slots>
</ui>