mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
32 lines
548 B
C++
32 lines
548 B
C++
#ifndef __RENAME_LIBRARY_DIALOG_H
|
|
#define __RENAME_LIBRARY_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QLabel>
|
|
#include <QLineEdit>
|
|
#include <QPushButton>
|
|
|
|
|
|
class RenameLibraryDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
RenameLibraryDialog(QWidget * parent = 0);
|
|
private:
|
|
QLabel * newNameLabel;
|
|
QLineEdit * newNameEdit;
|
|
QPushButton * accept;
|
|
QPushButton * cancel;
|
|
void setupUI();
|
|
public slots:
|
|
void rename();
|
|
void close();
|
|
void nameSetted(const QString & name);
|
|
signals:
|
|
void renameLibrary(QString newName);
|
|
};
|
|
|
|
|
|
#endif
|
|
|