mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Headless server: simplify system config logger
This commit is contained in:
31
YACReaderLibrary/comic_vine/api_key_dialog.h
Normal file
31
YACReaderLibrary/comic_vine/api_key_dialog.h
Normal file
@ -0,0 +1,31 @@
|
||||
#ifndef API_KEY_DIALOG_H
|
||||
#define API_KEY_DIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class QPushButton;
|
||||
class QLineEdit;
|
||||
class QSettings;
|
||||
|
||||
class ApiKeyDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ApiKeyDialog(QWidget *parent = 0);
|
||||
~ApiKeyDialog();
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
protected slots:
|
||||
void enableAccept(const QString & text);
|
||||
void saveApiKey();
|
||||
|
||||
protected:
|
||||
QPushButton * acceptButton;
|
||||
QPushButton * cancelButton;
|
||||
QLineEdit * edit;
|
||||
QSettings * settings;
|
||||
};
|
||||
|
||||
#endif // API_KEY_DIALOG_H
|
Reference in New Issue
Block a user