forked from Silverfish/proton-bridge
feat(GODT-3046): tester UI cleanup.
This commit is contained in:
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1214</width>
|
<width>1160</width>
|
||||||
<height>864</height>
|
<height>777</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -812,6 +812,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QGridLayout" name="gridLayout_5">
|
<layout class="QGridLayout" name="gridLayout_5">
|
||||||
|
<property name="horizontalSpacing">
|
||||||
|
<number>-1</number>
|
||||||
|
</property>
|
||||||
|
<property name="verticalSpacing">
|
||||||
|
<number>8</number>
|
||||||
|
</property>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QPushButton" name="buttonInternetOn">
|
<widget class="QPushButton" name="buttonInternetOn">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -849,9 +855,6 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_9"/>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="groupBox">
|
<widget class="QGroupBox" name="groupBox">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
@ -961,15 +964,60 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
<layout class="QGridLayout" name="gridLayout_6">
|
||||||
<item>
|
<property name="verticalSpacing">
|
||||||
<widget class="QPushButton" name="buttonUpdateError">
|
<number>8</number>
|
||||||
|
</property>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QPushButton" name="buttonUpdateManualReady">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Update error</string>
|
<string>Update Manual Ready</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="0" column="2">
|
||||||
|
<widget class="QLineEdit" name="editUpdateVersion">
|
||||||
|
<property name="text">
|
||||||
|
<string>4.0</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="0">
|
||||||
|
<widget class="QPushButton" name="buttonUpdateVersionChanged">
|
||||||
|
<property name="text">
|
||||||
|
<string>Update version changed</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QPushButton" name="buttonUpdateForce">
|
||||||
|
<property name="text">
|
||||||
|
<string>Update Force</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QPushButton" name="buttonUpdateManualRestart">
|
||||||
|
<property name="text">
|
||||||
|
<string>Update manual restart</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="2">
|
||||||
|
<widget class="QPushButton" name="buttonUpdateCheckFinished">
|
||||||
|
<property name="text">
|
||||||
|
<string>Update check finished</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QPushButton" name="buttonUpdateSilentRestart">
|
||||||
|
<property name="text">
|
||||||
|
<string>Update silent restart</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="2">
|
||||||
<widget class="QComboBox" name="comboUpdateError">
|
<widget class="QComboBox" name="comboUpdateError">
|
||||||
<property name="sizeAdjustPolicy">
|
<property name="sizeAdjustPolicy">
|
||||||
<enum>QComboBox::AdjustToContents</enum>
|
<enum>QComboBox::AdjustToContents</enum>
|
||||||
@ -991,89 +1039,22 @@
|
|||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="2" column="1">
|
||||||
<spacer name="horizontalSpacer_4">
|
<widget class="QPushButton" name="buttonUpdateError">
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>1</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_17">
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="buttonUpdateManualReady">
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Update Manual Ready</string>
|
<string>Update error</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="2" column="0">
|
||||||
<widget class="QPushButton" name="buttonUpdateForce">
|
|
||||||
<property name="text">
|
|
||||||
<string>Update Force</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLineEdit" name="editUpdateVersion">
|
|
||||||
<property name="text">
|
|
||||||
<string>4.0</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_18">
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="buttonUpdateManualRestart">
|
|
||||||
<property name="text">
|
|
||||||
<string>Update manual restart</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="buttonUpdateSilentRestart">
|
|
||||||
<property name="text">
|
|
||||||
<string>Update silent restart</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="buttonUpdateIsLatest">
|
<widget class="QPushButton" name="buttonUpdateIsLatest">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Update is latest</string>
|
<string>Update is latest</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
<item row="4" column="1" colspan="2">
|
||||||
</item>
|
<spacer name="horizontalSpacer_6">
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_19">
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="buttonUpdateCheckFinished">
|
|
||||||
<property name="text">
|
|
||||||
<string>Update check finished</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="buttonUpdateVersionChanged">
|
|
||||||
<property name="text">
|
|
||||||
<string>Update version changed</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="horizontalSpacer_7">
|
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
@ -132,12 +132,6 @@ Popup {
|
|||||||
text: root.notification ? root.notification.linkText : ""
|
text: root.notification ? root.notification.linkText : ""
|
||||||
visible: root.notification && root.notification.linkUrl.length > 0
|
visible: root.notification && root.notification.linkUrl.length > 0
|
||||||
}
|
}
|
||||||
// Label {
|
|
||||||
// color: root.colorScheme.text_invert
|
|
||||||
// colorScheme: root.colorScheme
|
|
||||||
// text: "Youpi!"
|
|
||||||
// wrapMode: Text.WordWrap
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -611,8 +611,6 @@ QtObject {
|
|||||||
group: Notifications.Group.Connection
|
group: Notifications.Group.Connection
|
||||||
icon: "./icons/ic-no-connection.svg"
|
icon: "./icons/ic-no-connection.svg"
|
||||||
type: Notification.NotificationType.Danger
|
type: Notification.NotificationType.Danger
|
||||||
linkText: qsTr("What happens with my messages when internet is down?")
|
|
||||||
linkUrl: "https://proton.me/support/bridge"
|
|
||||||
Connections {
|
Connections {
|
||||||
function onInternetOff() {
|
function onInternetOff() {
|
||||||
root.noInternet.active = true;
|
root.noInternet.active = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user