diff options
author | Tobias Markmann <tm@ayena.de> | 2016-11-11 11:28:53 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-11-11 13:50:52 (GMT) |
commit | 97c87cf3e9b5e150152898e7907577c3ca3fdd86 (patch) | |
tree | 17c23b1a10537261e0d1e662493cc4ddf137026c /Swift/QtUI/QtUpdateFeedSelectionDialog.ui | |
parent | 94ec9c25311f8d54519f045205d58526d885412a (diff) | |
download | swift-97c87cf3e9b5e150152898e7907577c3ca3fdd86.zip swift-97c87cf3e9b5e150152898e7907577c3ca3fdd86.tar.bz2 |
Add update channel configuration dialog to the about window
If software updates are enabled the about dialog will show
the currently configured update channel and provides a link
to a dialog to change the update channel.
Test-Information:
Builds on macOS 10.12.1, unit tests pass, and dialogs behave
as expected. Did not test Sparkle updating.
Change-Id: I05d5014f0d719ba9b2146c1e599db4f7fde80558
Diffstat (limited to 'Swift/QtUI/QtUpdateFeedSelectionDialog.ui')
-rw-r--r-- | Swift/QtUI/QtUpdateFeedSelectionDialog.ui | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/Swift/QtUI/QtUpdateFeedSelectionDialog.ui b/Swift/QtUI/QtUpdateFeedSelectionDialog.ui new file mode 100644 index 0000000..4107f3a --- /dev/null +++ b/Swift/QtUI/QtUpdateFeedSelectionDialog.ui @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>QtUpdateFeedSelectionDialog</class> + <widget class="QDialog" name="QtUpdateFeedSelectionDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>335</width> + <height>158</height> + </rect> + </property> + <property name="windowTitle"> + <string>Select Update Channel</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QComboBox" name="currentChannelComboBox"> + <property name="currentText"> + <string/> + </property> + <property name="currentIndex"> + <number>-1</number> + </property> + <item> + <property name="text"> + <string>Stable Channel</string> + </property> + <property name="icon"> + <iconset theme=":/icons/delivery-success.svg"/> + </property> + </item> + <item> + <property name="text"> + <string>Testing Channel</string> + </property> + <property name="icon"> + <iconset theme=":/icons/delivery-warning.svg"/> + </property> + </item> + <item> + <property name="text"> + <string>Development Channel</string> + </property> + <property name="icon"> + <iconset theme=":/icons/delivery-warning.svg"/> + </property> + </item> + </widget> + </item> + <item> + <widget class="QLabel" name="stableDescriptionLabel"> + <property name="text"> + <string>This release channel includes our stable releases. They went throught internal QA testing and had previous RC releases to find critical bugs.</string> + </property> + <property name="textFormat"> + <enum>Qt::PlainText</enum> + </property> + <property name="alignment"> + <set>Qt::AlignJustify|Qt::AlignTop</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + <property name="textInteractionFlags"> + <set>Qt::NoTextInteraction</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="testingDescriptionLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="text"> + <string>This release channel includes our stable releases, beta releases and release candidates. They should be free from obvious bugs and are released for wider testing to find more obscure bugs.</string> + </property> + <property name="alignment"> + <set>Qt::AlignJustify|Qt::AlignTop</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="developmentDescriptionLabel"> + <property name="text"> + <string>This release channel includes our stable releases, beta releases, release candidates and development releases. The development releases are not thoroughly tested and might contained bugs.</string> + </property> + <property name="alignment"> + <set>Qt::AlignJustify|Qt::AlignTop</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>QtUpdateFeedSelectionDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>QtUpdateFeedSelectionDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>316</x> + <y>260</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui> |