mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 09:08:20 -04:00
30 lines
546 B
C++
30 lines
546 B
C++
#ifndef __PROPERTIES_DIALOG_H
|
|
#define __PROPERTIES_DIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QLabel>
|
|
#include <QLineEdit>
|
|
#include <QPushButton>
|
|
#include <QScrollArea>
|
|
|
|
class PropertiesDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
private:
|
|
QLabel * _cover;
|
|
QLabel * _name;
|
|
QLabel * _pages;
|
|
QLabel * _size;
|
|
QScrollArea * sa;
|
|
|
|
public:
|
|
PropertiesDialog(QWidget * parent = 0);
|
|
public slots:
|
|
void setCover(const QPixmap & cover);
|
|
void setFilename(const QString & name);
|
|
void setNumpages(int pages);
|
|
void setSize(float size);
|
|
};
|
|
#endif
|
|
|