new toolbar style for YACReaderLibrary in Yosemite

This commit is contained in:
Luis Ángel San Martín
2014-11-06 09:03:01 -08:00
commit 5b98724fc6
848 changed files with 79253 additions and 0 deletions

View File

@ -0,0 +1,31 @@
#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