mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 08:28:06 +03:00
Borders editor dialog added
This commit is contained in:
31
limereport/items/lrpageeditor.h
Normal file
31
limereport/items/lrpageeditor.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef LRPAGEEDITOR_H
|
||||
#define LRPAGEEDITOR_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "lrpageitemdesignintf.h"
|
||||
#include <QPushButton>
|
||||
namespace Ui {
|
||||
class lrpageeditor;
|
||||
}
|
||||
|
||||
class lrpageeditor : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit lrpageeditor(QWidget *parent = nullptr,LimeReport::PageItemDesignIntf *page = nullptr);
|
||||
~lrpageeditor();
|
||||
|
||||
private slots:
|
||||
void on_buttonBox_accepted();
|
||||
void on_format_currentIndexChanged(int index);
|
||||
|
||||
private:
|
||||
Ui::lrpageeditor *ui;
|
||||
LimeReport::PageItemDesignIntf* m_page;
|
||||
|
||||
void applyChanges();
|
||||
QSizeF getRectByPageSize(const LimeReport::PageItemDesignIntf::PageSize& size);
|
||||
};
|
||||
|
||||
#endif // LRPAGEEDITOR_H
|
||||
Reference in New Issue
Block a user