mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: add TemplateEdit form to source tree
The TemplateEdit class works to customize the tempalate before printing, User can select the font-size, font-type, color-palette, linespacing and editing the template HTML code. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
ce3d2abd83
commit
963e09ad7b
4 changed files with 300 additions and 0 deletions
22
qt-ui/templateedit.h
Normal file
22
qt-ui/templateedit.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef TEMPLATEEDIT_H
|
||||
#define TEMPLATEEDIT_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class TemplateEdit;
|
||||
}
|
||||
|
||||
class TemplateEdit : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TemplateEdit(QWidget *parent = 0);
|
||||
~TemplateEdit();
|
||||
|
||||
private:
|
||||
Ui::TemplateEdit *ui;
|
||||
};
|
||||
|
||||
#endif // TEMPLATEEDIT_H
|
Loading…
Add table
Add a link
Reference in a new issue