mirror of
https://github.com/fralx/LimeReport.git
synced 2025-11-25 00:18:06 +03:00
Borders editor dialog added
This commit is contained in:
56
limereport/items/lrbordereditor.h
Normal file
56
limereport/items/lrbordereditor.h
Normal file
@@ -0,0 +1,56 @@
|
||||
#ifndef LRBORDEREDITOR_H
|
||||
#define LRBORDEREDITOR_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "lrbasedesignintf.h"
|
||||
namespace Ui {
|
||||
class lrbordereditor;
|
||||
}
|
||||
|
||||
class lrbordereditor : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit lrbordereditor(QWidget *parent = nullptr);
|
||||
void loadItem(LimeReport::BaseDesignIntf *i);
|
||||
LimeReport::BaseDesignIntf::BorderLines borderSides();
|
||||
LimeReport::BaseDesignIntf::BorderStyle border_style();
|
||||
QString borderColor();
|
||||
double border_width();
|
||||
|
||||
|
||||
~lrbordereditor();
|
||||
|
||||
private slots:
|
||||
void on_listWidget_currentRowChanged(int currentRow);
|
||||
|
||||
void on_comboBox_currentTextChanged(const QString &arg1);
|
||||
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void on_toolButton_4_clicked();
|
||||
|
||||
void on_noLines_clicked();
|
||||
|
||||
void on_topLine_clicked();
|
||||
void checkToolButtons(int side, bool check);
|
||||
|
||||
void on_bottomLine_clicked();
|
||||
|
||||
void on_leftLine_clicked();
|
||||
|
||||
void on_toolButton_3_clicked();
|
||||
|
||||
private:
|
||||
Ui::lrbordereditor *ui;
|
||||
LimeReport::BaseDesignIntf *item;
|
||||
QString border_color;
|
||||
int borderStyle = 1;
|
||||
double borderWidth = 1;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif // LRBORDEREDITOR_H
|
||||
Reference in New Issue
Block a user