first re-commit.
This commit is contained in:
76
swdummypushdial.ui
Normal file
76
swdummypushdial.ui
Normal file
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>SWDummyPushDial</class>
|
||||
<widget class="QWidget" name="SWDummyPushDial">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>90</width>
|
||||
<height>135</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background:black</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="_button">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>85</y>
|
||||
<width>70</width>
|
||||
<height>40</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton {
|
||||
color: #333;
|
||||
border: 2px solid #555;
|
||||
border-radius: 20px;
|
||||
border-style: outset;
|
||||
background: qradialgradient(
|
||||
cx: 0.3, cy: -0.4, fx: 0.3, fy: -0.4,
|
||||
radius: 1.35, stop: 0 #fff, stop: 1 #888
|
||||
);
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
QPushButton:hover {
|
||||
background: qradialgradient(
|
||||
cx: 0.3, cy: -0.4, fx: 0.3, fy: -0.4,
|
||||
radius: 1.35, stop: 0 #fff, stop: 1 #bbb
|
||||
);
|
||||
}
|
||||
|
||||
QPushButton:pressed {
|
||||
border-style: inset;
|
||||
background: qradialgradient(
|
||||
cx: 0.4, cy: -0.1, fx: 0.4, fy: -0.1,
|
||||
radius: 1.35, stop: 0 #fff, stop: 1 #ddd
|
||||
);
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>click me!</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QDial" name="_dial">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>-3</y>
|
||||
<width>90</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Reference in New Issue
Block a user