yacreader/YACReaderLibrary/rename_library_dialog.h
Anon789 dd381df7b7 yacreader_ru.ts
Correcting errors in words and their meanings. Update the Russian language. Now look better.
2018-02-24 18:11:53 +00:00

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