Back to index

scribus-ng  1.3.4.dfsg+svn20071115
werktoolb.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 /***************************************************************************
00008                           texttoolb.h  -  description
00009                              -------------------
00010     begin                : Sun Mar 10 2002
00011     copyright            : (C) 2002 by Franz Schmid
00012     email                : Franz.Schmid@altmuehlnet.de
00013  ***************************************************************************/
00014 
00015 /***************************************************************************
00016  *                                                                         *
00017  *   This program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 #ifndef WERKTOOLB_H
00025 #define WERKTOOLB_H
00026 
00027 #include "scribusapi.h"
00028 #include "sctoolbar.h"
00029 class QToolButton;
00030 class QPopupMenu;
00031 class AutoformButtonGroup;
00032 class ScribusMainWindow;
00033 
00038 class SCRIBUS_API ModeToolBar : public ScToolBar
00039 {
00040        Q_OBJECT
00041 
00042 public: 
00043        ModeToolBar(ScribusMainWindow* parent);
00044        ~ModeToolBar() {};
00045 
00046        int SubMode;
00047        int ValCount;
00048        double *ShapeVals;
00049 
00050 public slots:
00051        void GetPolyProps();
00052        void SelShape(int s, int c, double *vals);
00053        void languageChange();
00054               
00055 protected:
00056        AutoformButtonGroup* Rechteck;
00057        QPopupMenu* insertShapeButtonMenu;
00058        QPopupMenu* insertPolygonButtonMenu;
00059        int idInsertPolygonButtonMenu;
00060        ScribusMainWindow* m_ScMW;
00061 };
00062 
00063 class SCRIBUS_API PDFToolBar : public ScToolBar
00064 {
00065        Q_OBJECT
00066 
00067 public:
00068        PDFToolBar(ScribusMainWindow* parent);
00069        ~PDFToolBar() {};
00070 };
00071 
00072 #endif