QtPass 1.7.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
ui_mainwindow.h
1/********************************************************************************
2** Form generated from reading UI file 'mainwindow.ui'
3**
4** Created by: Qt User Interface Compiler version 6.8.2
5**
6** WARNING! All changes made in this file will be lost when recompiling UI file!
7********************************************************************************/
8
9#ifndef UI_MAINWINDOW_H
10#define UI_MAINWINDOW_H
11
12#include <QtCore/QVariant>
13#include <QtGui/QAction>
14#include <QtGui/QIcon>
15#include <QtWidgets/QApplication>
16#include <QtWidgets/QComboBox>
17#include <QtWidgets/QFrame>
18#include <QtWidgets/QGridLayout>
19#include <QtWidgets/QHBoxLayout>
20#include <QtWidgets/QHeaderView>
21#include <QtWidgets/QLabel>
22#include <QtWidgets/QLineEdit>
23#include <QtWidgets/QMainWindow>
24#include <QtWidgets/QSpacerItem>
25#include <QtWidgets/QStatusBar>
26#include <QtWidgets/QTextBrowser>
27#include <QtWidgets/QToolBar>
28#include <QtWidgets/QVBoxLayout>
29#include <QtWidgets/QWidget>
30#include <deselectabletreeview.h>
31
32QT_BEGIN_NAMESPACE
33
35{
36public:
37 QAction *actionAddPassword;
38 QAction *actionAddFolder;
39 QAction *actionEdit;
40 QAction *actionDelete;
41 QAction *actionOtp;
42 QAction *actionPush;
43 QAction *actionUpdate;
44 QAction *actionUsers;
45 QAction *actionConfig;
46 QWidget *centralWidget;
47 QGridLayout *gridLayout_2;
48 QFrame *frame;
49 QHBoxLayout *horizontalLayout_2;
50 QHBoxLayout *horizontalLayout_3;
51 QVBoxLayout *verticalLayout;
52 QWidget *profileWidget;
53 QHBoxLayout *horizontalLayout;
54 QLabel *label;
55 QComboBox *profileBox;
56 QLineEdit *lineEdit;
57 DeselectableTreeView *treeView;
58 QVBoxLayout *verticalLayoutPassword;
59 QLabel *passwordName;
60 QSpacerItem *verticalSpacer_2;
61 QGridLayout *gridLayout;
62 QTextBrowser *textBrowser;
63 QStatusBar *statusBar;
64 QToolBar *toolBar;
65
66 void setupUi(QMainWindow *MainWindow)
67 {
68 if (MainWindow->objectName().isEmpty())
69 MainWindow->setObjectName("MainWindow");
70 MainWindow->resize(801, 484);
71 QIcon icon;
72 icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
73 MainWindow->setWindowIcon(icon);
74 actionAddPassword = new QAction(MainWindow);
75 actionAddPassword->setObjectName("actionAddPassword");
76 actionAddFolder = new QAction(MainWindow);
77 actionAddFolder->setObjectName("actionAddFolder");
78 actionEdit = new QAction(MainWindow);
79 actionEdit->setObjectName("actionEdit");
80 actionDelete = new QAction(MainWindow);
81 actionDelete->setObjectName("actionDelete");
82 actionOtp = new QAction(MainWindow);
83 actionOtp->setObjectName("actionOtp");
84 actionPush = new QAction(MainWindow);
85 actionPush->setObjectName("actionPush");
86 actionUpdate = new QAction(MainWindow);
87 actionUpdate->setObjectName("actionUpdate");
88 actionUsers = new QAction(MainWindow);
89 actionUsers->setObjectName("actionUsers");
90 actionConfig = new QAction(MainWindow);
91 actionConfig->setObjectName("actionConfig");
92 centralWidget = new QWidget(MainWindow);
93 centralWidget->setObjectName("centralWidget");
94 gridLayout_2 = new QGridLayout(centralWidget);
95 gridLayout_2->setSpacing(6);
96 gridLayout_2->setContentsMargins(11, 11, 11, 11);
97 gridLayout_2->setObjectName("gridLayout_2");
98 frame = new QFrame(centralWidget);
99 frame->setObjectName("frame");
100 QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
101 sizePolicy.setHorizontalStretch(0);
102 sizePolicy.setVerticalStretch(0);
103 sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
104 frame->setSizePolicy(sizePolicy);
105 horizontalLayout_2 = new QHBoxLayout(frame);
106 horizontalLayout_2->setSpacing(6);
107 horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
108 horizontalLayout_2->setObjectName("horizontalLayout_2");
109 horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
110
111 gridLayout_2->addWidget(frame, 0, 0, 2, 2);
112
113 horizontalLayout_3 = new QHBoxLayout();
114 horizontalLayout_3->setSpacing(6);
115 horizontalLayout_3->setObjectName("horizontalLayout_3");
116 verticalLayout = new QVBoxLayout();
117 verticalLayout->setSpacing(6);
118 verticalLayout->setObjectName("verticalLayout");
119 profileWidget = new QWidget(centralWidget);
120 profileWidget->setObjectName("profileWidget");
121 horizontalLayout = new QHBoxLayout(profileWidget);
122 horizontalLayout->setSpacing(6);
123 horizontalLayout->setContentsMargins(11, 11, 11, 11);
124 horizontalLayout->setObjectName("horizontalLayout");
125 horizontalLayout->setContentsMargins(0, 0, 0, 0);
126 label = new QLabel(profileWidget);
127 label->setObjectName("label");
128
129 horizontalLayout->addWidget(label);
130
131 profileBox = new QComboBox(profileWidget);
132 profileBox->setObjectName("profileBox");
133 QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Minimum);
134 sizePolicy1.setHorizontalStretch(0);
135 sizePolicy1.setVerticalStretch(0);
136 sizePolicy1.setHeightForWidth(profileBox->sizePolicy().hasHeightForWidth());
137 profileBox->setSizePolicy(sizePolicy1);
138 profileBox->setMinimumSize(QSize(100, 26));
139 profileBox->setMaximumSize(QSize(100000, 16777215));
140
141 horizontalLayout->addWidget(profileBox);
142
143
144 verticalLayout->addWidget(profileWidget);
145
146 lineEdit = new QLineEdit(centralWidget);
147 lineEdit->setObjectName("lineEdit");
148 lineEdit->setMinimumSize(QSize(0, 26));
149 lineEdit->setFocusPolicy(Qt::StrongFocus);
150
151 verticalLayout->addWidget(lineEdit);
152
153 treeView = new DeselectableTreeView(centralWidget);
154 treeView->setObjectName("treeView");
155 QSizePolicy sizePolicy2(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::MinimumExpanding);
156 sizePolicy2.setHorizontalStretch(0);
157 sizePolicy2.setVerticalStretch(0);
158 sizePolicy2.setHeightForWidth(treeView->sizePolicy().hasHeightForWidth());
159 treeView->setSizePolicy(sizePolicy2);
160 treeView->setAcceptDrops(true);
161 treeView->setSizeAdjustPolicy(QAbstractScrollArea::AdjustIgnored);
162 treeView->setDragEnabled(true);
163 treeView->setDragDropMode(QAbstractItemView::InternalMove);
164 treeView->setSortingEnabled(true);
165 treeView->setAnimated(true);
166 treeView->header()->setStretchLastSection(false);
167
168 verticalLayout->addWidget(treeView);
169
170
171 horizontalLayout_3->addLayout(verticalLayout);
172
173 verticalLayoutPassword = new QVBoxLayout();
174 verticalLayoutPassword->setSpacing(0);
175 verticalLayoutPassword->setObjectName("verticalLayoutPassword");
176 verticalLayoutPassword->setContentsMargins(-1, 7, -1, -1);
177 passwordName = new QLabel(centralWidget);
178 passwordName->setObjectName("passwordName");
179 QSizePolicy sizePolicy3(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
180 sizePolicy3.setHorizontalStretch(0);
181 sizePolicy3.setVerticalStretch(0);
182 sizePolicy3.setHeightForWidth(passwordName->sizePolicy().hasHeightForWidth());
183 passwordName->setSizePolicy(sizePolicy3);
184 passwordName->setMinimumSize(QSize(0, 20));
185 passwordName->setMaximumSize(QSize(10000000, 30));
186 QFont font;
187 font.setPointSize(14);
188 font.setBold(false);
189 font.setItalic(false);
190 font.setUnderline(false);
191 font.setKerning(true);
192 passwordName->setFont(font);
193 passwordName->setFrameShape(QFrame::NoFrame);
194 passwordName->setFrameShadow(QFrame::Plain);
195 passwordName->setScaledContents(false);
196 passwordName->setTextInteractionFlags(Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse);
197
198 verticalLayoutPassword->addWidget(passwordName);
199
200 verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
201
202 verticalLayoutPassword->addItem(verticalSpacer_2);
203
204 gridLayout = new QGridLayout();
205 gridLayout->setSpacing(6);
206 gridLayout->setObjectName("gridLayout");
207
208 verticalLayoutPassword->addLayout(gridLayout);
209
210 textBrowser = new QTextBrowser(centralWidget);
211 textBrowser->setObjectName("textBrowser");
212 QSizePolicy sizePolicy4(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
213 sizePolicy4.setHorizontalStretch(0);
214 sizePolicy4.setVerticalStretch(0);
215 sizePolicy4.setHeightForWidth(textBrowser->sizePolicy().hasHeightForWidth());
216 textBrowser->setSizePolicy(sizePolicy4);
217 textBrowser->setMinimumSize(QSize(0, 20));
218 textBrowser->setAutoFillBackground(false);
219 textBrowser->setStyleSheet(QString::fromUtf8("background: transparent"));
220 textBrowser->setFrameShape(QFrame::NoFrame);
221 textBrowser->setFrameShadow(QFrame::Plain);
222 textBrowser->setLineWidth(0);
223 textBrowser->setAcceptRichText(true);
224 textBrowser->setOpenExternalLinks(true);
225
226 verticalLayoutPassword->addWidget(textBrowser);
227
228
229 horizontalLayout_3->addLayout(verticalLayoutPassword);
230
231
232 gridLayout_2->addLayout(horizontalLayout_3, 1, 1, 1, 1);
233
234 MainWindow->setCentralWidget(centralWidget);
235 statusBar = new QStatusBar(MainWindow);
236 statusBar->setObjectName("statusBar");
237 MainWindow->setStatusBar(statusBar);
238 toolBar = new QToolBar(MainWindow);
239 toolBar->setObjectName("toolBar");
240 toolBar->setContextMenuPolicy(Qt::PreventContextMenu);
241 toolBar->setAcceptDrops(false);
242 toolBar->setMovable(false);
243 toolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
244 MainWindow->addToolBar(Qt::ToolBarArea::TopToolBarArea, toolBar);
245#if QT_CONFIG(shortcut)
246 label->setBuddy(profileBox);
247#endif // QT_CONFIG(shortcut)
248 QWidget::setTabOrder(lineEdit, treeView);
249 QWidget::setTabOrder(treeView, textBrowser);
250
251 toolBar->addAction(actionAddPassword);
252 toolBar->addAction(actionAddFolder);
253 toolBar->addSeparator();
254 toolBar->addAction(actionEdit);
255 toolBar->addAction(actionDelete);
256 toolBar->addAction(actionOtp);
257 toolBar->addSeparator();
258 toolBar->addAction(actionPush);
259 toolBar->addAction(actionUpdate);
260 toolBar->addSeparator();
261 toolBar->addAction(actionUsers);
262 toolBar->addAction(actionConfig);
263
264 retranslateUi(MainWindow);
265
266 QMetaObject::connectSlotsByName(MainWindow);
267 } // setupUi
268
269 void retranslateUi(QMainWindow *MainWindow)
270 {
271 MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "QtPass", nullptr));
272 actionAddPassword->setText(QCoreApplication::translate("MainWindow", "Add password", nullptr));
273#if QT_CONFIG(tooltip)
274 actionAddPassword->setToolTip(QCoreApplication::translate("MainWindow", "Add password", nullptr));
275#endif // QT_CONFIG(tooltip)
276#if QT_CONFIG(shortcut)
277 actionAddPassword->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+N", nullptr));
278#endif // QT_CONFIG(shortcut)
279 actionAddFolder->setText(QCoreApplication::translate("MainWindow", "Add folder", nullptr));
280#if QT_CONFIG(tooltip)
281 actionAddFolder->setToolTip(QCoreApplication::translate("MainWindow", "Add folder", nullptr));
282#endif // QT_CONFIG(tooltip)
283 actionEdit->setText(QCoreApplication::translate("MainWindow", "Edit", nullptr));
284#if QT_CONFIG(tooltip)
285 actionEdit->setToolTip(QCoreApplication::translate("MainWindow", "Edit", nullptr));
286#endif // QT_CONFIG(tooltip)
287 actionDelete->setText(QCoreApplication::translate("MainWindow", "Delete", nullptr));
288#if QT_CONFIG(tooltip)
289 actionDelete->setToolTip(QCoreApplication::translate("MainWindow", "Delete", nullptr));
290#endif // QT_CONFIG(tooltip)
291 actionOtp->setText(QCoreApplication::translate("MainWindow", "OTP", nullptr));
292#if QT_CONFIG(tooltip)
293 actionOtp->setToolTip(QCoreApplication::translate("MainWindow", "Generate OTP and copy to clipboard", nullptr));
294#endif // QT_CONFIG(tooltip)
295#if QT_CONFIG(shortcut)
296 actionOtp->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+G", nullptr));
297#endif // QT_CONFIG(shortcut)
298 actionPush->setText(QCoreApplication::translate("MainWindow", "Push", nullptr));
299#if QT_CONFIG(tooltip)
300 actionPush->setToolTip(QCoreApplication::translate("MainWindow", "Git push", nullptr));
301#endif // QT_CONFIG(tooltip)
302 actionUpdate->setText(QCoreApplication::translate("MainWindow", "Update", nullptr));
303#if QT_CONFIG(tooltip)
304 actionUpdate->setToolTip(QCoreApplication::translate("MainWindow", "Git pull", nullptr));
305#endif // QT_CONFIG(tooltip)
306 actionUsers->setText(QCoreApplication::translate("MainWindow", "Users", nullptr));
307#if QT_CONFIG(tooltip)
308 actionUsers->setToolTip(QCoreApplication::translate("MainWindow", "Manage who can read password in folder", nullptr));
309#endif // QT_CONFIG(tooltip)
310 actionConfig->setText(QCoreApplication::translate("MainWindow", "Config", nullptr));
311#if QT_CONFIG(tooltip)
312 actionConfig->setToolTip(QCoreApplication::translate("MainWindow", "Configuration", nullptr));
313#endif // QT_CONFIG(tooltip)
314 label->setText(QCoreApplication::translate("MainWindow", "Select profile", nullptr));
315 lineEdit->setText(QString());
316 lineEdit->setPlaceholderText(QCoreApplication::translate("MainWindow", "Search Password", nullptr));
317 passwordName->setText(QCoreApplication::translate("MainWindow", "Welcome to QtPass", nullptr));
318 textBrowser->setHtml(QCoreApplication::translate("MainWindow", "<p>QtPass is a GUI for <a href=\"https://www.passwordstore.org/\">pass</a>, the standard unix password manager.</p>\n"
319"<p>Please report any <a href=\"https://github.com/IJHack/qtpass/issues\">issues</a> you might have with this software.</p>\n"
320"<p><a href=\"https://qtpass.org/\">Documentation</a></p>\n"
321"<p><a href=\"https://github.com/IJHack/qtpass\">SourceCode</a></p>", nullptr));
322 toolBar->setWindowTitle(QString());
323 } // retranslateUi
324
325};
326
327namespace Ui {
328 class MainWindow: public Ui_MainWindow {};
329} // namespace Ui
330
331QT_END_NAMESPACE
332
333#endif // UI_MAINWINDOW_H
Main application window orchestrating UI, user interactions, and external process handlers.
Definition mainwindow.h:45