QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
mainwindow.cpp File Reference

Implements MainWindow; the backend signal wiring lives in connectBackends() and connectPassSignals(), the decrypted-entry rendering in passShowHandler(). More...

#include "mainwindow.h"
#include "qtpasslogging.h"
#include "configdialog.h"
#include "enums.h"
#include "executor.h"
#include "exportpublickeydialog.h"
#include "filecontent.h"
#include "firstrunwizard.h"
#include "menubarpeek.h"
#include "nativegrep.h"
#include "passworddialog.h"
#include "passworddisplaypanel.h"
#include "pathvalidator.h"
#include "plainmessagebox.h"
#include "processinfo.h"
#include "processoutputpanel.h"
#include "qpushbuttonasqrcode.h"
#include "qpushbuttonshowpassword.h"
#include "qpushbuttonwithclipboard.h"
#include "qtpass.h"
#include "qtpasssettings.h"
#include "templateio.h"
#include "totp.h"
#include "trayicon.h"
#include "ui_mainwindow.h"
#include "usersdialog.h"
#include "util.h"
#include "windowstatestore.h"
#include <QApplication>
#include <QCloseEvent>
#include <QDate>
#include <QDesktopServices>
#include <QDialog>
#include <QDockWidget>
#include <QFileInfo>
#include <QFileSystemModel>
#include <QHBoxLayout>
#include <QInputDialog>
#include <QLabel>
#include <QLineEdit>
#include <QMenu>
#include <QMenuBar>
#include <QMessageBox>
#include <QProgressDialog>
#include <QPushButton>
#include <QScrollBar>
#include <QShortcut>
#include <QTextBlock>
#include <QTextCharFormat>
#include <QTextCursor>
#include <QTextDocument>
#include <QTextEdit>
#include <QTextStream>
#include <QTimer>
#include <QTreeWidget>
#include <QUrl>
#include <algorithm>
#include <utility>
Include dependency graph for mainwindow.cpp:

Go to the source code of this file.

Functions

static auto runLabel (Enums::PROCESS pid) -> QString
 What the Stop button calls a run.

Detailed Description

Implements MainWindow; the backend signal wiring lives in connectBackends() and connectPassSignals(), the decrypted-entry rendering in passShowHandler().

Definition in file mainwindow.cpp.

Function Documentation

◆ runLabel()

auto runLabel ( Enums::PROCESS pid) -> QString
static

What the Stop button calls a run.

Parameters
pidThe kind of command that runs.
Returns
Its command line label ("git pull", "pass init"); "a decrypt" for a decrypt, whose label the output panel leaves empty; "a command" when the kind is unknown.

Definition at line 77 of file mainwindow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: