2015-06-26 04:21:03 +02:00
|
|
|
#ifndef TEMPLATEEDIT_H
|
|
|
|
#define TEMPLATEEDIT_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2015-06-29 03:16:19 +02:00
|
|
|
struct template_options {
|
|
|
|
int font_index;
|
|
|
|
int color_palette_index;
|
|
|
|
double font_size;
|
|
|
|
double line_spacing;
|
|
|
|
};
|
|
|
|
|
2015-06-26 04:21:03 +02:00
|
|
|
namespace Ui {
|
|
|
|
class TemplateEdit;
|
|
|
|
}
|
|
|
|
|
|
|
|
class TemplateEdit : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2015-06-29 03:16:19 +02:00
|
|
|
explicit TemplateEdit(QWidget *parent, struct template_options *templateOptions);
|
2015-06-26 04:21:03 +02:00
|
|
|
~TemplateEdit();
|
|
|
|
private:
|
|
|
|
Ui::TemplateEdit *ui;
|
2015-06-29 03:16:19 +02:00
|
|
|
struct template_options *templateOptions;
|
2015-06-26 04:21:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TEMPLATEEDIT_H
|