QETTemplateEditor now inherits from QETMainWindow.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1506 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-02-13 22:28:26 +00:00
parent 55cfef61b8
commit ee99c57218
2 changed files with 8 additions and 37 deletions

View File

@@ -18,6 +18,7 @@
#ifndef TITLEBLOCK_SLASH_QET_TEMPLATE_EDITOR_H
#define TITLEBLOCK_SLASH_QET_TEMPLATE_EDITOR_H
#include <QtGui>
#include "qetmainwindow.h"
#include "qet.h"
#include "templateview.h"
#include "templatelocation.h"
@@ -32,7 +33,7 @@ class QETProject;
editor. This editor aims at allowing users to easily create their own title
block templates.
*/
class QETTitleBlockTemplateEditor : public QMainWindow {
class QETTitleBlockTemplateEditor : public QETMainWindow {
Q_OBJECT
// constructor, destructor
@@ -45,13 +46,11 @@ class QETTitleBlockTemplateEditor : public QMainWindow {
// attributes
private:
/// menus TODO
QMenu *file_menu_, *edit_menu_,/* *paste_from_menu_, */*display_menu_,/* *tools_menu_,*/ *config_menu_, *help_menu_;
QMenu *file_menu_, *edit_menu_,/* *paste_from_menu_, */*display_menu_,/* *tools_menu_*/;
/// actions
QAction *new_, *open_, *open_from_file_, *save_, *save_as_, *save_as_file_, *quit_;
QAction *undo_, *redo_, *merge_cells_, *split_cell_;
QAction *zoom_in_, *zoom_out_, *zoom_fit_, *zoom_reset_;
QAction *configure_;
QAction *about_qt_, *about_qet_;
/// Location of the currently edited template
TitleBlockTemplateLocation location_;
/// Filepath of the currently edited template, if opened from a file