]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/uis/HttpAuthenticationDialog.ui
Add a default folder icon to the edit folder dialog. https://redmine.stoutner.com...
[PrivacyBrowserPC.git] / src / uis / HttpAuthenticationDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4   Copyright 2024 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser PC <https://www.stoutner.com/privacy-browser-pc>.
7
8   Privacy Browser PC is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser PC is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <ui version="4.0">
22     <class>HttpAuthenticationDialog</class>
23
24     <widget class="QWidget">
25         <!-- Dialog body. -->
26         <layout class="QVBoxLayout">
27             <item>
28                 <widget class="QLabel" name="realmLabel">
29                     <property name="font">
30                         <font>
31                             <pointsize>24</pointsize>
32                             <bold>true</bold>
33                         </font>
34                     </property>
35
36                     <property name="alignment">
37                         <set>Qt::AlignCenter</set>
38                     </property>
39                 </widget>
40             </item>
41
42             <item>
43                 <!-- Host. -->
44                 <layout class="QFormLayout">
45                     <property name="formAlignment">
46                         <set>Qt::AlignHCenter|Qt::AlignTop</set>
47                     </property>
48
49                     <item row="0" column="0">
50                         <widget class="QLabel">
51                             <property name="text">
52                                 <string>Host:</string>
53                             </property>
54                         </widget>
55                     </item>
56
57                     <item row="0" column ="1">
58                         <widget class="QLabel" name="hostLabel" />
59                     </item>
60                 </layout>
61             </item>
62
63             <item>
64                 <layout class="QFormLayout">
65                     <!-- Username. -->
66                     <item row="0" column="0">
67                         <widget class="QLabel">
68                             <property name="text">
69                                 <string>Username</string>
70                             </property>
71                         </widget>
72                     </item>
73
74                     <item row="0" column="1">
75                         <widget class="KLineEdit" name="usernameLineEdit">
76                             <property name="minimumSize">
77                                 <size>
78                                     <width>300</width>
79                                     <height>0</height>
80                                 </size>
81                             </property>
82                         </widget>
83                     </item>
84
85                     <!-- Password. -->
86                     <item row="1" column="0">
87                         <widget class="QLabel">
88                             <property name="text">
89                                 <string>Password</string>
90                             </property>
91                         </widget>
92                     </item>
93
94                     <item row="1" column="1">
95                         <widget class="KPasswordLineEdit" name="passwordLineEdit" />
96                     </item>
97                 </layout>
98             </item>
99
100             <!-- Spacer. -->
101             <item>
102                 <spacer>
103                     <property name="orientation">
104                         <enum>Qt::Vertical</enum>
105                     </property>
106                 </spacer>
107             </item>
108
109             <!-- Buttons. -->
110             <item>
111                 <widget class="QDialogButtonBox" name="dialogButtonBox">
112                     <property name="standardButtons">
113                         <set>QDialogButtonBox::Ok | QDialogButtonBox::Cancel</set>
114                     </property>
115                 </widget>
116             </item>
117         </layout>
118     </widget>
119 </ui>