yacreader/YACReaderLibrary/rename_library_dialog.h
2012-05-20 16:12:22 +02:00

31 lines
506 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();
signals:
void renameLibrary(QString newName);
};
#endif