Files
gwui/ui/mainwindow.ui
Rainer Koschnick 9eb9af0ec6 Initial commit
2025-07-12 16:19:22 +02:00

285 lines
8.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>543</width>
<height>544</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>GreaseWeazle UI</string>
</property>
<widget class="QWidget" name="central_widget">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QGroupBox" name="gb_actions">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Action</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0">
<item>
<widget class="QWidget" name="widget_left" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,0,0">
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QRadioButton" name="rb_read">
<property name="text">
<string>Read from Disk</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_write">
<property name="text">
<string>Write to Disk</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_clean_heads">
<property name="text">
<string>Clean Heads</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_erase_disk">
<property name="text">
<string>Erase Disk</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_convert_files">
<property name="text">
<string>Convert Files</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_middle" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QRadioButton" name="rb_info">
<property name="text">
<string>Info on Setup</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_measure">
<property name="text">
<string>Measure Bandwidth</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_pin_level">
<property name="text">
<string>Pin Level</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_reset">
<property name="text">
<string>Reset Device</string>
</property>
</widget>
</item>
<item>
<spacer name="vertical_spacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_right" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QRadioButton" name="rb_rpm">
<property name="text">
<string>RPM of Spindle</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_seek">
<property name="text">
<string>Seek Cylinder</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_delays">
<property name="text">
<string>Set Delays</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_update_firmware">
<property name="text">
<string>Update Firmware</string>
</property>
</widget>
</item>
<item>
<spacer name="vertical_spacer_2">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="gb_serial">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>USB Serial Ports</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0">
<item>
<widget class="QListView" name="list_view">
<property name="resizeMode">
<enum>QListView::ResizeMode::Adjust</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_refresh_ports">
<property name="text">
<string>Refresh</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="pb_execute">
<property name="text">
<string>Execute</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_close">
<property name="text">
<string>Close</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menu_bar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>543</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menu_file">
<property name="title">
<string>File</string>
</property>
<addaction name="action_quit"/>
</widget>
<addaction name="menu_file"/>
</widget>
<widget class="QStatusBar" name="status_bar"/>
<action name="action_quit">
<property name="text">
<string>Quit</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>