The Diagram class now renders its usual inset with a template.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1130 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2010-12-19 18:12:56 +00:00
parent e11acf7b57
commit d17d6c492e
6 changed files with 98 additions and 54 deletions

View File

@@ -30,6 +30,7 @@ class ElementsCollectionItem;
class FileElementsCollection;
class ElementsCategory;
class ElementDefinition;
class InsetTemplate;
class QETProject;
class QTextOrientationSpinBoxWidget;
class RecentFiles;
@@ -98,6 +99,7 @@ class QETApp : public QETSingleApplication {
static QList<QETElementEditor *> elementEditors();
static QList<QETElementEditor *> elementEditors(QETProject *);
static QTextOrientationSpinBoxWidget *createTextOrientationSpinBoxWidget();
static InsetTemplate *defaultInsetTemplate();
protected:
#ifdef Q_OS_DARWIN
@@ -140,6 +142,7 @@ class QETApp : public QETSingleApplication {
static RecentFiles *projects_recent_files_;
static RecentFiles *elements_recent_files_;
static AboutQET *about_dialog_;
static InsetTemplate *default_inset_template_;
public slots:
void systray(QSystemTrayIcon::ActivationReason);