mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
0fca7169d3
except those placed in 3rdparty directories.
37 lines
789 B
C++
37 lines
789 B
C++
#ifndef LRPAGEEDITOR_H
|
|
#define LRPAGEEDITOR_H
|
|
|
|
#include "lrpageitemdesignintf.h"
|
|
|
|
#include <QDialog>
|
|
#include <QPushButton>
|
|
namespace LimeReport {
|
|
|
|
namespace Ui {
|
|
class PageEditor;
|
|
}
|
|
|
|
class LIMEREPORT_EXPORT PageEditor: public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit PageEditor(QWidget* parent = nullptr, LimeReport::PageItemDesignIntf* page = nullptr);
|
|
~PageEditor();
|
|
|
|
private slots:
|
|
// void on_buttonBox_accepted();
|
|
void on_format_currentIndexChanged(int index);
|
|
void on_buttonBox_clicked(QAbstractButton* button);
|
|
|
|
private:
|
|
Ui::PageEditor* ui;
|
|
LimeReport::PageItemDesignIntf* m_page;
|
|
|
|
void applyChanges();
|
|
QSizeF getRectByPageSize(const LimeReport::PageItemDesignIntf::PageSize& size);
|
|
};
|
|
|
|
} // namespace LimeReport
|
|
|
|
#endif // LRPAGEEDITOR_H
|