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/QToolButton>
29#include <QtWidgets/QTreeWidget>
30#include <QtWidgets/QVBoxLayout>
31#include <QtWidgets/QWidget>
32#include <deselectabletreeview.h>
33
34QT_BEGIN_NAMESPACE
35
36class Ui_MainWindow
37{
38public:
39 QAction *actionAddPassword;
40 QAction *actionAddFolder;
41 QAction *actionEdit;
42 QAction *actionDelete;
43 QAction *actionOtp;
44 QAction *actionPush;
45 QAction *actionUpdate;
46 QAction *actionUsers;
47 QAction *actionConfig;
48 QWidget *centralWidget;
49 QGridLayout *gridLayout_2;
50 QFrame *frame;
51 QHBoxLayout *horizontalLayout_2;
52 QHBoxLayout *horizontalLayout_3;
53 QVBoxLayout *verticalLayout;
54 QWidget *profileWidget;
55 QHBoxLayout *horizontalLayout;
56 QLabel *label;
57 QComboBox *profileBox;
58 QHBoxLayout *searchLayout;
59 QLineEdit *lineEdit;
60 QToolButton *grepButton;
61 QToolButton *grepCaseButton;
62 DeselectableTreeView *treeView;
63 QTreeWidget *grepResultsList;
64 QVBoxLayout *verticalLayoutPassword;
65 QLabel *passwordName;
66 QSpacerItem *verticalSpacer_2;
67 QGridLayout *gridLayout;
68 QTextBrowser *textBrowser;
69 QStatusBar *statusBar;
70 QToolBar *toolBar;
71
72 void setupUi(QMainWindow *MainWindow)
73 {
74 if (MainWindow->objectName().isEmpty())
75 MainWindow->setObjectName("MainWindow");
76 MainWindow->resize(801, 484);
77 QIcon icon;
78 icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
79 MainWindow->setWindowIcon(icon);
80 actionAddPassword = new QAction(MainWindow);
81 actionAddPassword->setObjectName("actionAddPassword");
82 actionAddFolder = new QAction(MainWindow);
83 actionAddFolder->setObjectName("actionAddFolder");
84 actionEdit = new QAction(MainWindow);
85 actionEdit->setObjectName("actionEdit");
86 actionDelete = new QAction(MainWindow);
87 actionDelete->setObjectName("actionDelete");
88 actionOtp = new QAction(MainWindow);
89 actionOtp->setObjectName("actionOtp");
90 actionPush = new QAction(MainWindow);
91 actionPush->setObjectName("actionPush");
92 actionUpdate = new QAction(MainWindow);
93 actionUpdate->setObjectName("actionUpdate");
94 actionUsers = new QAction(MainWindow);
95 actionUsers->setObjectName("actionUsers");
96 actionConfig = new QAction(MainWindow);
97 actionConfig->setObjectName("actionConfig");
98 centralWidget = new QWidget(MainWindow);
99 centralWidget->setObjectName("centralWidget");
100 gridLayout_2 = new QGridLayout(centralWidget);
101 gridLayout_2->setSpacing(6);
102 gridLayout_2->setContentsMargins(11, 11, 11, 11);
103 gridLayout_2->setObjectName("gridLayout_2");
104 frame = new QFrame(centralWidget);
105 frame->setObjectName("frame");
106 QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
107 sizePolicy.setHorizontalStretch(0);
108 sizePolicy.setVerticalStretch(0);
109 sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
110 frame->setSizePolicy(sizePolicy);
111 horizontalLayout_2 = new QHBoxLayout(frame);
112 horizontalLayout_2->setSpacing(6);
113 horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
114 horizontalLayout_2->setObjectName("horizontalLayout_2");
115 horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
116
117 gridLayout_2->addWidget(frame, 0, 0, 2, 2);
118
119 horizontalLayout_3 = new QHBoxLayout();
120 horizontalLayout_3->setSpacing(6);
121 horizontalLayout_3->setObjectName("horizontalLayout_3");
122 verticalLayout = new QVBoxLayout();
123 verticalLayout->setSpacing(6);
124 verticalLayout->setObjectName("verticalLayout");
125 profileWidget = new QWidget(centralWidget);
126 profileWidget->setObjectName("profileWidget");
127 horizontalLayout = new QHBoxLayout(profileWidget);
128 horizontalLayout->setSpacing(6);
129 horizontalLayout->setContentsMargins(11, 11, 11, 11);
130 horizontalLayout->setObjectName("horizontalLayout");
131 horizontalLayout->setContentsMargins(0, 0, 0, 0);
132 label = new QLabel(profileWidget);
133 label->setObjectName("label");
134
135 horizontalLayout->addWidget(label);
136
137 profileBox = new QComboBox(profileWidget);
138 profileBox->setObjectName("profileBox");
139 QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Minimum);
140 sizePolicy1.setHorizontalStretch(0);
141 sizePolicy1.setVerticalStretch(0);
142 sizePolicy1.setHeightForWidth(profileBox->sizePolicy().hasHeightForWidth());
143 profileBox->setSizePolicy(sizePolicy1);
144 profileBox->setMinimumSize(QSize(100, 26));
145 profileBox->setMaximumSize(QSize(100000, 16777215));
146
147 horizontalLayout->addWidget(profileBox);
148
149
150 verticalLayout->addWidget(profileWidget);
151
152 searchLayout = new QHBoxLayout();
153 searchLayout->setSpacing(2);
154 searchLayout->setObjectName("searchLayout");
155 lineEdit = new QLineEdit(centralWidget);
156 lineEdit->setObjectName("lineEdit");
157 lineEdit->setMinimumSize(QSize(0, 26));
158 lineEdit->setFocusPolicy(Qt::StrongFocus);
159
160 searchLayout->addWidget(lineEdit);
161
162 grepButton = new QToolButton(centralWidget);
163 grepButton->setObjectName("grepButton");
164 grepButton->setCheckable(true);
165
166 searchLayout->addWidget(grepButton);
167
168 grepCaseButton = new QToolButton(centralWidget);
169 grepCaseButton->setObjectName("grepCaseButton");
170 grepCaseButton->setCheckable(true);
171
172 searchLayout->addWidget(grepCaseButton);
173
174
175 verticalLayout->addLayout(searchLayout);
176
177 treeView = new DeselectableTreeView(centralWidget);
178 treeView->setObjectName("treeView");
179 QSizePolicy sizePolicy2(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::MinimumExpanding);
180 sizePolicy2.setHorizontalStretch(0);
181 sizePolicy2.setVerticalStretch(0);
182 sizePolicy2.setHeightForWidth(treeView->sizePolicy().hasHeightForWidth());
183 treeView->setSizePolicy(sizePolicy2);
184 treeView->setAcceptDrops(true);
185 treeView->setSizeAdjustPolicy(QAbstractScrollArea::AdjustIgnored);
186 treeView->setDragEnabled(true);
187 treeView->setDragDropMode(QAbstractItemView::InternalMove);
188 treeView->setSortingEnabled(true);
189 treeView->setAnimated(true);
190 treeView->header()->setStretchLastSection(false);
191
192 verticalLayout->addWidget(treeView);
193
194 grepResultsList = new QTreeWidget(centralWidget);
195 grepResultsList->setObjectName("grepResultsList");
196 sizePolicy2.setHeightForWidth(grepResultsList->sizePolicy().hasHeightForWidth());
197 grepResultsList->setSizePolicy(sizePolicy2);
198 grepResultsList->setVisible(false);
199 grepResultsList->setHeaderHidden(true);
200
201 verticalLayout->addWidget(grepResultsList);
202
203
204 horizontalLayout_3->addLayout(verticalLayout);
205
206 verticalLayoutPassword = new QVBoxLayout();
207 verticalLayoutPassword->setSpacing(0);
208 verticalLayoutPassword->setObjectName("verticalLayoutPassword");
209 verticalLayoutPassword->setContentsMargins(-1, 7, -1, -1);
210 passwordName = new QLabel(centralWidget);
211 passwordName->setObjectName("passwordName");
212 QSizePolicy sizePolicy3(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
213 sizePolicy3.setHorizontalStretch(0);
214 sizePolicy3.setVerticalStretch(0);
215 sizePolicy3.setHeightForWidth(passwordName->sizePolicy().hasHeightForWidth());
216 passwordName->setSizePolicy(sizePolicy3);
217 passwordName->setMinimumSize(QSize(0, 20));
218 passwordName->setMaximumSize(QSize(10000000, 30));
219 QFont font;
220 font.setPointSize(14);
221 font.setBold(false);
222 font.setItalic(false);
223 font.setUnderline(false);
224 font.setKerning(true);
225 passwordName->setFont(font);
226 passwordName->setFrameShape(QFrame::NoFrame);
227 passwordName->setFrameShadow(QFrame::Plain);
228 passwordName->setScaledContents(false);
229 passwordName->setTextInteractionFlags(Qt::TextInteractionFlag::LinksAccessibleByMouse|Qt::TextInteractionFlag::TextSelectableByMouse);
230
231 verticalLayoutPassword->addWidget(passwordName);
232
233 verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
234
235 verticalLayoutPassword->addItem(verticalSpacer_2);
236
237 gridLayout = new QGridLayout();
238 gridLayout->setSpacing(6);
239 gridLayout->setObjectName("gridLayout");
240
241 verticalLayoutPassword->addLayout(gridLayout);
242
243 textBrowser = new QTextBrowser(centralWidget);
244 textBrowser->setObjectName("textBrowser");
245 QSizePolicy sizePolicy4(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
246 sizePolicy4.setHorizontalStretch(0);
247 sizePolicy4.setVerticalStretch(0);
248 sizePolicy4.setHeightForWidth(textBrowser->sizePolicy().hasHeightForWidth());
249 textBrowser->setSizePolicy(sizePolicy4);
250 textBrowser->setMinimumSize(QSize(0, 20));
251 textBrowser->setAutoFillBackground(false);
252 textBrowser->setStyleSheet(QString::fromUtf8("background: palette(base)"));
253 textBrowser->setFrameShape(QFrame::NoFrame);
254 textBrowser->setFrameShadow(QFrame::Plain);
255 textBrowser->setLineWidth(0);
256 textBrowser->setAcceptRichText(true);
257 textBrowser->setOpenExternalLinks(true);
258
259 verticalLayoutPassword->addWidget(textBrowser);
260
261
262 horizontalLayout_3->addLayout(verticalLayoutPassword);
263
264
265 gridLayout_2->addLayout(horizontalLayout_3, 1, 1, 1, 1);
266
267 MainWindow->setCentralWidget(centralWidget);
268 statusBar = new QStatusBar(MainWindow);
269 statusBar->setObjectName("statusBar");
270 MainWindow->setStatusBar(statusBar);
271 toolBar = new QToolBar(MainWindow);
272 toolBar->setObjectName("toolBar");
273 toolBar->setContextMenuPolicy(Qt::PreventContextMenu);
274 toolBar->setAcceptDrops(false);
275 toolBar->setMovable(false);
276 toolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
277 MainWindow->addToolBar(Qt::ToolBarArea::TopToolBarArea, toolBar);
278#if QT_CONFIG(shortcut)
279 label->setBuddy(profileBox);
280#endif // QT_CONFIG(shortcut)
281 QWidget::setTabOrder(lineEdit, grepButton);
282 QWidget::setTabOrder(grepButton, grepCaseButton);
283 QWidget::setTabOrder(grepCaseButton, treeView);
284 QWidget::setTabOrder(treeView, grepResultsList);
285 QWidget::setTabOrder(grepResultsList, textBrowser);
286
287 toolBar->addAction(actionAddPassword);
288 toolBar->addAction(actionAddFolder);
289 toolBar->addSeparator();
290 toolBar->addAction(actionEdit);
291 toolBar->addAction(actionDelete);
292 toolBar->addAction(actionOtp);
293 toolBar->addSeparator();
294 toolBar->addAction(actionPush);
295 toolBar->addAction(actionUpdate);
296 toolBar->addSeparator();
297 toolBar->addAction(actionUsers);
298 toolBar->addAction(actionConfig);
299
300 retranslateUi(MainWindow);
301
302 QMetaObject::connectSlotsByName(MainWindow);
303 } // setupUi
304
305 void retranslateUi(QMainWindow *MainWindow)
306 {
307 MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "QtPass", nullptr));
308 actionAddPassword->setText(QCoreApplication::translate("MainWindow", "Add password", nullptr));
309#if QT_CONFIG(tooltip)
310 actionAddPassword->setToolTip(QCoreApplication::translate("MainWindow", "Add password", nullptr));
311#endif // QT_CONFIG(tooltip)
312#if QT_CONFIG(shortcut)
313 actionAddPassword->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+N", nullptr));
314#endif // QT_CONFIG(shortcut)
315 actionAddFolder->setText(QCoreApplication::translate("MainWindow", "Add folder", nullptr));
316#if QT_CONFIG(tooltip)
317 actionAddFolder->setToolTip(QCoreApplication::translate("MainWindow", "Add folder", nullptr));
318#endif // QT_CONFIG(tooltip)
319 actionEdit->setText(QCoreApplication::translate("MainWindow", "Edit", nullptr));
320#if QT_CONFIG(tooltip)
321 actionEdit->setToolTip(QCoreApplication::translate("MainWindow", "Edit", nullptr));
322#endif // QT_CONFIG(tooltip)
323 actionDelete->setText(QCoreApplication::translate("MainWindow", "Delete", nullptr));
324#if QT_CONFIG(tooltip)
325 actionDelete->setToolTip(QCoreApplication::translate("MainWindow", "Delete", nullptr));
326#endif // QT_CONFIG(tooltip)
327 actionOtp->setText(QCoreApplication::translate("MainWindow", "OTP", nullptr));
328#if QT_CONFIG(tooltip)
329 actionOtp->setToolTip(QCoreApplication::translate("MainWindow", "Generate OTP and copy to clipboard", nullptr));
330#endif // QT_CONFIG(tooltip)
331#if QT_CONFIG(shortcut)
332 actionOtp->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+G", nullptr));
333#endif // QT_CONFIG(shortcut)
334 actionPush->setText(QCoreApplication::translate("MainWindow", "Push", nullptr));
335#if QT_CONFIG(tooltip)
336 actionPush->setToolTip(QCoreApplication::translate("MainWindow", "Git push", nullptr));
337#endif // QT_CONFIG(tooltip)
338 actionUpdate->setText(QCoreApplication::translate("MainWindow", "Update", nullptr));
339#if QT_CONFIG(tooltip)
340 actionUpdate->setToolTip(QCoreApplication::translate("MainWindow", "Git pull", nullptr));
341#endif // QT_CONFIG(tooltip)
342 actionUsers->setText(QCoreApplication::translate("MainWindow", "Users", nullptr));
343#if QT_CONFIG(tooltip)
344 actionUsers->setToolTip(QCoreApplication::translate("MainWindow", "Manage who can read password in folder", nullptr));
345#endif // QT_CONFIG(tooltip)
346 actionConfig->setText(QCoreApplication::translate("MainWindow", "Config", nullptr));
347#if QT_CONFIG(tooltip)
348 actionConfig->setToolTip(QCoreApplication::translate("MainWindow", "Configuration", nullptr));
349#endif // QT_CONFIG(tooltip)
350 label->setText(QCoreApplication::translate("MainWindow", "Select profile", nullptr));
351 lineEdit->setText(QString());
352 lineEdit->setPlaceholderText(QCoreApplication::translate("MainWindow", "Search Password", nullptr));
353#if QT_CONFIG(tooltip)
354 grepButton->setToolTip(QCoreApplication::translate("MainWindow", "Search inside password content (pass grep)", nullptr));
355#endif // QT_CONFIG(tooltip)
356 grepButton->setText(QCoreApplication::translate("MainWindow", "\342\214\225", nullptr));
357#if QT_CONFIG(accessibility)
358 grepButton->setAccessibleName(QCoreApplication::translate("MainWindow", "Content search toggle", nullptr));
359#endif // QT_CONFIG(accessibility)
360#if QT_CONFIG(accessibility)
361 grepButton->setAccessibleDescription(QCoreApplication::translate("MainWindow", "Toggle content search mode to search inside password files", nullptr));
362#endif // QT_CONFIG(accessibility)
363#if QT_CONFIG(tooltip)
364 grepCaseButton->setToolTip(QCoreApplication::translate("MainWindow", "Case-insensitive search", nullptr));
365#endif // QT_CONFIG(tooltip)
366 grepCaseButton->setText(QCoreApplication::translate("MainWindow", "Aa", nullptr));
367#if QT_CONFIG(accessibility)
368 grepCaseButton->setAccessibleName(QCoreApplication::translate("MainWindow", "Case-insensitive toggle", nullptr));
369#endif // QT_CONFIG(accessibility)
370#if QT_CONFIG(accessibility)
371 grepCaseButton->setAccessibleDescription(QCoreApplication::translate("MainWindow", "Toggle case-insensitive content search", nullptr));
372#endif // QT_CONFIG(accessibility)
373 QTreeWidgetItem *___qtreewidgetitem = grepResultsList->headerItem();
374 ___qtreewidgetitem->setText(0, QCoreApplication::translate("MainWindow", "Results", nullptr));
375 passwordName->setText(QCoreApplication::translate("MainWindow", "Welcome to QtPass", nullptr));
376 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"
377"<p>Please report any <a href=\"https://github.com/IJHack/qtpass/issues\">issues</a> you might have with this software.</p>\n"
378"<p><a href=\"https://qtpass.org/\">Documentation</a></p>\n"
379"<p><a href=\"https://github.com/IJHack/qtpass\">SourceCode</a></p>", nullptr));
380 toolBar->setWindowTitle(QString());
381 } // retranslateUi
382
383};
384
385namespace Ui {
386 class MainWindow: public Ui_MainWindow {};
387} // namespace Ui
388
389QT_END_NAMESPACE
390
391#endif // UI_MAINWINDOW_H
Main application window orchestrating UI, user interactions, and external process handlers.
Definition mainwindow.h:45