📄 tripplanner.ui
字号:
<ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>TripPlanner</class> <widget class="QDialog" name="TripPlanner" > <property name="windowTitle" > <string>Trip Planner</string> </property> <layout class="QGridLayout" > <item row="1" column="0" > <widget class="QTableWidget" name="tableWidget" > <property name="columnCount" > <number>6</number> </property> <column> <property name="text" > <string>Date</string> </property> </column> <column> <property name="text" > <string>Departure</string> </property> </column> <column> <property name="text" > <string>Arrival</string> </property> </column> <column> <property name="text" > <string>Duration</string> </property> </column> <column> <property name="text" > <string>Changes</string> </property> </column> <column> <property name="text" > <string>Train type</string> </property> </column> </widget> </item> <item row="0" column="0" > <widget class="QGroupBox" name="tripInfoGroupBox" > <property name="title" > <string>Trip Information</string> </property> <layout class="QGridLayout" > <item row="3" column="0" > <widget class="QLabel" name="timeLabel" > <property name="text" > <string>Appro&ximate Time:</string> </property> <property name="buddy" > <cstring>timeEdit</cstring> </property> </widget> </item> <item row="2" column="1" > <widget class="QDateTimeEdit" name="dateEdit" > <property name="displayFormat" > <string>yyyy-MM-dd</string> </property> </widget> </item> <item row="3" column="1" > <widget class="QDateTimeEdit" name="timeEdit" > <property name="displayFormat" > <string>hh:mm:ss</string> </property> </widget> </item> <item row="2" column="0" > <widget class="QLabel" name="dateLabel" > <property name="text" > <string>&Date:</string> </property> <property name="buddy" > <cstring>dateEdit</cstring> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="toLabel" > <property name="text" > <string>&To:</string> </property> <property name="buddy" > <cstring>toComboBox</cstring> </property> </widget> </item> <item row="4" column="0" colspan="2" > <layout class="QHBoxLayout" > <item> <widget class="QRadioButton" name="departureRadioButton" > <property name="text" > <string>D&eparture</string> </property> <property name="shortcut" > <string>Alt+E</string> </property> <property name="checked" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="arrivalRadioButton" > <property name="text" > <string>&Arrival</string> </property> <property name="shortcut" > <string>Alt+A</string> </property> </widget> </item> </layout> </item> <item row="0" column="1" > <widget class="QComboBox" name="fromComboBox" > <property name="currentIndex" > <number>0</number> </property> <item> <property name="text" > <string>Berlin</string> </property> </item> <item> <property name="text" > <string>Bonn</string> </property> </item> <item> <property name="text" > <string>Bremen</string> </property> </item> <item> <property name="text" > <string>Dresden</string> </property> </item> <item> <property name="text" > <string>Düsseldorf</string> </property> </item> <item> <property name="text" > <string>Dortmund</string> </property> </item> <item> <property name="text" > <string>Frankfurt am Main</string> </property> </item> <item> <property name="text" > <string>Hannover</string> </property> </item> <item> <property name="text" > <string>Hamburg</string> </property> </item> <item> <property name="text" > <string>München</string> </property> </item> <item> <property name="text" > <string>Nürnberg</string> </property> </item> <item> <property name="text" > <string>Rostock</string> </property> </item> <item> <property name="text" > <string>Stuttgart</string> </property> </item> </widget> </item> <item row="1" column="1" > <widget class="QComboBox" name="toComboBox" > <property name="currentIndex" > <number>0</number> </property> <item> <property name="text" > <string>Berlin</string> </property> </item> <item> <property name="text" > <string>Bonn</string> </property> </item> <item> <property name="text" > <string>Bremen</string> </property> </item> <item> <property name="text" > <string>Dresden</string> </property> </item> <item> <property name="text" > <string>Düsseldorf</string> </property> </item> <item> <property name="text" > <string>Dortmund</string> </property> </item> <item> <property name="text" > <string>Frankfurt am Main</string> </property> </item> <item> <property name="text" > <string>Hannover</string> </property> </item> <item> <property name="text" > <string>Hamburg</string> </property> </item> <item> <property name="text" > <string>München</string> </property> </item> <item> <property name="text" > <string>Nürnberg</string> </property> </item> <item> <property name="text" > <string>Rostock</string> </property> </item> <item> <property name="text" > <string>Stuttgart</string> </property> </item> </widget> </item> <item row="0" column="0" > <widget class="QLabel" name="fromLabel" > <property name="text" > <string>&From:</string> </property> <property name="buddy" > <cstring>fromComboBox</cstring> </property> </widget> </item> </layout> </widget> </item> <item rowspan="3" row="0" column="1" > <layout class="QVBoxLayout" > <item> <widget class="QPushButton" name="searchButton" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>&Search</string> </property> <property name="shortcut" > <string>Alt+S</string> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="stopButton" > <property name="enabled" > <bool>false</bool> </property> <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>S&top</string> </property> <property name="shortcut" > <string>Alt+T</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>10</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="quitButton" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>0</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>&Quit</string> </property> <property name="shortcut" > <string>Alt+Q</string> </property> </widget> </item> </layout> </item> <item row="2" column="0" > <layout class="QHBoxLayout" > <item> <widget class="QLabel" name="statusLabel" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>Ready</string> </property> </widget> </item> <item> <widget class="QProgressBar" name="progressBar" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>0</number> </property> </widget> </item> </layout> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections> <connection> <sender>quitButton</sender> <signal>clicked()</signal> <receiver>TripPlanner</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>455</x> <y>413</y> </hint> <hint type="destinationlabel" > <x>485</x> <y>316</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -