1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-30 17:07:41 +00:00

OS X: GUI tweak for Retina display (close #158)

This commit is contained in:
Paweł Jastrzębski
2015-09-28 22:34:00 +02:00
parent 112917754a
commit 0f8daaf9f3
2 changed files with 22 additions and 8 deletions

View File

@@ -183,9 +183,9 @@
<property name="geometry">
<rect>
<x>8</x>
<y>201</y>
<y>206</y>
<width>151</width>
<height>34</height>
<height>26</height>
</rect>
</property>
<property name="font">
@@ -200,14 +200,20 @@
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p style='white-space:pre'&gt;Target device.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="iconSize">
<size>
<width>15</width>
<height>15</height>
</size>
</property>
</widget>
<widget class="QComboBox" name="FormatBox">
<property name="geometry">
<rect>
<x>262</x>
<y>201</y>
<width>152</width>
<height>34</height>
<x>263</x>
<y>206</y>
<width>151</width>
<height>26</height>
</rect>
</property>
<property name="font">
@@ -222,6 +228,12 @@
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p style='white-space:pre'&gt;Output format.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="iconSize">
<size>
<width>15</width>
<height>15</height>
</size>
</property>
</widget>
<widget class="QPushButton" name="ConvertButton">
<property name="geometry">

View File

@@ -85,21 +85,23 @@ class Ui_KCC(object):
self.NoRotateBox.setObjectName("NoRotateBox")
self.gridLayout.addWidget(self.NoRotateBox, 1, 2, 1, 1)
self.DeviceBox = QtWidgets.QComboBox(self.Form)
self.DeviceBox.setGeometry(QtCore.QRect(8, 201, 151, 34))
self.DeviceBox.setGeometry(QtCore.QRect(8, 206, 151, 26))
font = QtGui.QFont()
font.setFamily("Lucida Grande")
font.setPointSize(11)
self.DeviceBox.setFont(font)
self.DeviceBox.setFocusPolicy(QtCore.Qt.NoFocus)
self.DeviceBox.setObjectName("DeviceBox")
self.DeviceBox.setIconSize(QtCore.QSize(15, 15))
self.FormatBox = QtWidgets.QComboBox(self.Form)
self.FormatBox.setGeometry(QtCore.QRect(262, 201, 152, 34))
self.FormatBox.setGeometry(QtCore.QRect(263, 206, 151, 26))
font = QtGui.QFont()
font.setFamily("Lucida Grande")
font.setPointSize(11)
self.FormatBox.setFont(font)
self.FormatBox.setFocusPolicy(QtCore.Qt.NoFocus)
self.FormatBox.setObjectName("FormatBox")
self.FormatBox.setIconSize(QtCore.QSize(15, 15))
self.ConvertButton = QtWidgets.QPushButton(self.Form)
self.ConvertButton.setGeometry(QtCore.QRect(160, 200, 101, 41))
font = QtGui.QFont()