MCPcopy Create free account
hub / github.com/YACReader/yacreader / AddLibraryDialog

Class AddLibraryDialog

YACReaderLibrary/add_library_dialog.h:12–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <QThread>
11
12class AddLibraryDialog : public QDialog, protected Themable
13{
14 Q_OBJECT
15public:
16 AddLibraryDialog(QWidget *parent = nullptr);
17
18protected:
19 void applyTheme(const Theme &theme) override;
20
21private:
22 QLabel *imgLabel;
23 QLabel *nameLabel;
24 QLabel *textLabel;
25 QLineEdit *path;
26 QLineEdit *nameEdit;
27 QPushButton *find;
28 QPushButton *accept;
29 QPushButton *cancel;
30 void setupUI();
31public slots:
32 void add();
33 void findPath();
34 void close();
35 void nameSetted(const QString &text);
36 void pathSetted(const QString &text);
37signals:
38 void addLibrary(QString target, QString name);
39};
40
41#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected