Files
libpigpio/QtGPIOMain.ui
2025-08-05 22:33:23 +02:00

115 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QtGPIOMain</class>
<widget class="QMainWindow" name="QtGPIOMain">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>473</width>
<height>342</height>
</rect>
</property>
<property name="windowTitle">
<string>libPiGPio Widget Demo</string>
</property>
<widget class="QWidget" name="centralwidget">
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QFrame" name="_frame">
<property name="styleSheet">
<string notr="true">background: grey</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="lineWidth">
<number>10</number>
</property>
<property name="midLineWidth">
<number>10</number>
</property>
<widget class="QPushButton" name="_LED">
<property name="geometry">
<rect>
<x>50</x>
<y>60</y>
<width>91</width>
<height>81</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background: grey</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="QtGPIO.qrc">
<normaloff>:/images/Green.png</normaloff>
<normalon>:/images/Red.png</normalon>:/images/Green.png</iconset>
</property>
<property name="iconSize">
<size>
<width>64</width>
<height>64</height>
</size>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QDial" name="_dial">
<property name="geometry">
<rect>
<x>130</x>
<y>60</y>
<width>80</width>
<height>80</height>
</rect>
</property>
</widget>
<widget class="QLCDNumber" name="_display">
<property name="geometry">
<rect>
<x>250</x>
<y>90</y>
<width>131</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background:lightgrey</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>473</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources>
<include location="QtGPIO.qrc"/>
</resources>
<connections/>
</ui>