-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from OpenAstroTech/js/new-internal-ui-structure
New internal UI structure
- Loading branch information
Showing
9 changed files
with
424 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>TopLevelWidget</class> | ||
<widget class="QWidget" name="TopLevelWidget"> | ||
<property name="enabled"> | ||
<bool>true</bool> | ||
</property> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>766</width> | ||
<height>513</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Form</string> | ||
</property> | ||
<layout class="QGridLayout" name="gridLayout_2"> | ||
<item row="0" column="0"> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<property name="sizeConstraint"> | ||
<enum>QLayout::SetMaximumSize</enum> | ||
</property> | ||
<item> | ||
<layout class="QGridLayout" name="gridLayout"> | ||
<item row="1" column="3"> | ||
<widget class="QPushButton" name="wBtn_select_local_config"> | ||
<property name="text"> | ||
<string>Select local config file</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="5" column="3"> | ||
<widget class="QPushButton" name="wBtn_what_stats"> | ||
<property name="text"> | ||
<string>What will be uploaded?</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="3" column="3"> | ||
<widget class="QPushButton" name="wBtn_upload_fw"> | ||
<property name="enabled"> | ||
<bool>false</bool> | ||
</property> | ||
<property name="text"> | ||
<string>Upload FW</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="3" column="1"> | ||
<widget class="QComboBox" name="wCombo_serial_port"> | ||
<property name="placeholderText"> | ||
<string>No port selected</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QComboBox" name="wCombo_pio_env"> | ||
<property name="placeholderText"> | ||
<string>No FW downloaded yet...</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="0"> | ||
<widget class="QLabel" name="wMsg_fw_version"> | ||
<property name="text"> | ||
<string>Select firmware version:</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="3"> | ||
<widget class="QPushButton" name="wBtn_download_fw"> | ||
<property name="enabled"> | ||
<bool>false</bool> | ||
</property> | ||
<property name="text"> | ||
<string>Download</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="4" column="3"> | ||
<widget class="QCheckBox" name="wChk_upload_stats"> | ||
<property name="toolTip"> | ||
<string>After a successful firmware update, upload anonymous firmware details to the OAT devs</string> | ||
</property> | ||
<property name="text"> | ||
<string>Upload anonymous statistics?</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="QLabel" name="wMsg_pio_env"> | ||
<property name="text"> | ||
<string>Select board:</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QComboBox" name="wCombo_fw_version"> | ||
<property name="placeholderText"> | ||
<string>Grabbing FW Versions...</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="6" column="3"> | ||
<spacer name="verticalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>20</width> | ||
<height>40</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item row="2" column="4"> | ||
<widget class="QBusyIndicatorGoodBad" name="wSpn_build"/> | ||
</item> | ||
<item row="1" column="4"> | ||
<widget class="QPushButton" name="wBtn_build_fw"> | ||
<property name="enabled"> | ||
<bool>false</bool> | ||
</property> | ||
<property name="text"> | ||
<string>Build FW</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="3" column="0"> | ||
<widget class="QPushButton" name="wBtn_refresh_ports"> | ||
<property name="text"> | ||
<string>Refresh ports</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item row="3" column="4"> | ||
<widget class="QBusyIndicatorGoodBad" name="wSpn_upload"/> | ||
</item> | ||
<item row="0" column="4"> | ||
<widget class="QBusyIndicatorGoodBad" name="wSpn_download"/> | ||
</item> | ||
<item row="2" column="0" colspan="4"> | ||
<widget class="QLabel" name="wMsg_config_path"> | ||
<property name="text"> | ||
<string>No config file selected</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="QPlainTextEdit" name="logText"> | ||
<property name="font"> | ||
<font> | ||
<family>Monospace</family> | ||
</font> | ||
</property> | ||
<property name="lineWrapMode"> | ||
<enum>QPlainTextEdit::NoWrap</enum> | ||
</property> | ||
<property name="readOnly"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<customwidgets> | ||
<customwidget> | ||
<class>QBusyIndicatorGoodBad</class> | ||
<extends>QWidget</extends> | ||
<header>qbusyindicatorgoodbad</header> | ||
<container>1</container> | ||
</customwidget> | ||
</customwidgets> | ||
<resources/> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.