Back to index

scribus-ng  1.3.4.dfsg+svn20071115
editor.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef EDITOR_H
00008 #define EDITOR_H
00009 
00010 #include <qdialog.h>
00011 #include <qpushbutton.h>
00012 #include <qtextedit.h>
00013 #include <qlayout.h>
00014 #include <qtooltip.h>
00015 #include <qpopupmenu.h>
00016 #include <qmenubar.h>
00017 
00018 #include "scribusapi.h"
00019 
00020 class ScribusView;
00021 class PrefsContext;
00022 
00023 class SCRIBUS_API Editor : public QDialog
00024 { 
00025     Q_OBJECT
00026 
00027 public:
00028     Editor( QWidget* parent, QString daten, ScribusView* vie = 0);
00029     ~Editor() {};
00030     QTextEdit* EditTex;
00031     QPopupMenu* fmenu;
00032     QPopupMenu* emenu;
00033     QMenuBar* menuBar;
00034     ScribusView* view;
00035 
00036 private slots:
00037        void OpenScript();
00038        void SaveAs();
00039        void GetFieldN();
00040 
00041 protected:
00042     QVBoxLayout* EditorLayout;
00043        PrefsContext* dirs;
00044 };
00045 
00046 #endif // EDITOR_H