Debian Codegraph @

src/Utils/OAuth2OOBDialog.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>OAuth2OOBDialog</class>
4 <widget class="QDialog" name="OAuth2OOBDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>586</width>
10 <height>131</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="windowTitle">
20 <string>OAuth2 OOB</string>
21 </property>
22 <layout class="QVBoxLayout" name="verticalLayout_2">
23 <item>
24 <widget class="QLabel" name="label_3">
25 <property name="sizePolicy">
26 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
27 <horstretch>0</horstretch>
28 <verstretch>0</verstretch>
29 </sizepolicy>
30 </property>
31 <property name="text">
32 <string>Open the following URL in a browser. After logging in, paste the displayed authentication code below.</string>
33 </property>
34 </widget>
35 </item>
36 <item>
37 <layout class="QFormLayout" name="formLayout">
38 <property name="verticalSpacing">
39 <number>5</number>
40 </property>
41 <item row="0" column="0">
42 <widget class="QLabel" name="label">
43 <property name="text">
44 <string>Login URL</string>
45 </property>
46 </widget>
47 </item>
48 <item row="0" column="1">
49 <layout class="QHBoxLayout" name="horizontalLayout">
50 <item>
51 <widget class="QLineEdit" name="loginUrl">
52 <property name="enabled">
53 <bool>true</bool>
54 </property>
55 <property name="readOnly">
56 <bool>true</bool>
57 </property>
58 </widget>
59 </item>
60 <item>
61 <widget class="QPushButton" name="btnCopy">
62 <property name="sizePolicy">
63 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
64 <horstretch>0</horstretch>
65 <verstretch>0</verstretch>
66 </sizepolicy>
67 </property>
68 <property name="text">
69 <string>Copy</string>
70 </property>
71 </widget>
72 </item>
73 <item>
74 <widget class="QPushButton" name="btnOpen">
75 <property name="text">
76 <string>Open</string>
77 </property>
78 </widget>
79 </item>
80 </layout>
81 </item>
82 <item row="1" column="0">
83 <widget class="QLabel" name="label_2">
84 <property name="text">
85 <string>Authentication code</string>
86 </property>
87 </widget>
88 </item>
89 <item row="1" column="1">
90 <widget class="QLineEdit" name="loginCode"/>
91 </item>
92 </layout>
93 </item>
94 <item>
95 <widget class="QDialogButtonBox" name="buttonBox">
96 <property name="orientation">
97 <enum>Qt::Horizontal</enum>
98 </property>
99 <property name="standardButtons">
100 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
101 </property>
102 </widget>
103 </item>
104 </layout>
105 </widget>
106 <tabstops>
107 <tabstop>buttonBox</tabstop>
108 </tabstops>
109 <resources/>
110 <connections>
111 <connection>
112 <sender>buttonBox</sender>
113 <signal>rejected()</signal>
114 <receiver>OAuth2OOBDialog</receiver>
115 <slot>reject()</slot>
116 <hints>
117 <hint type="sourcelabel">
118 <x>325</x>
119 <y>188</y>
120 </hint>
121 <hint type="destinationlabel">
122 <x>286</x>
123 <y>274</y>
124 </hint>
125 </hints>
126 </connection>
127 <connection>
128 <sender>buttonBox</sender>
129 <signal>accepted()</signal>
130 <receiver>OAuth2OOBDialog</receiver>
131 <slot>accept()</slot>
132 <hints>
133 <hint type="sourcelabel">
134 <x>292</x>
135 <y>224</y>
136 </hint>
137 <hint type="destinationlabel">
138 <x>292</x>
139 <y>122</y>
140 </hint>
141 </hints>
142 </connection>
143 </connections>
144 </ui>