mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 17:50:52 +01:00
Title block template editor: added an "Integrate logo" button.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1140 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#ifndef TEMPLATE_EDITOR_H
|
||||
#define TEMPLATE_EDITOR_H
|
||||
#include <QtGui>
|
||||
#include <QtXml>
|
||||
class QETProject;
|
||||
/**
|
||||
This class allows the user to edit a title block template.
|
||||
@@ -41,11 +42,13 @@ class TemplateEditor : public QWidget {
|
||||
void validate();
|
||||
void save();
|
||||
void quit();
|
||||
void integrateLogo();
|
||||
|
||||
private:
|
||||
void build();
|
||||
void updateProjectLabel();
|
||||
QString getXmlString() const;
|
||||
void setXmlString(const QDomDocument &);
|
||||
|
||||
// attributes
|
||||
private:
|
||||
@@ -55,6 +58,7 @@ class TemplateEditor : public QWidget {
|
||||
QLabel *static_xml_3_;
|
||||
QLineEdit *template_name_edit_;
|
||||
QTextEdit *template_xml_edit_;
|
||||
QPushButton *integrate_logo_;
|
||||
QPushButton *validate_button_;
|
||||
QPushButton *save_button_;
|
||||
QPushButton *quit_button_;
|
||||
|
||||
Reference in New Issue
Block a user