Back to index

scribus-ng  1.3.4.dfsg+svn20071115
autoformbuttongroup.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 AUTOFORMBUTTONGROUP_H
00008 #define AUTOFORMBUTTONGROUP_H
00009 
00010 #include <qwidget.h>
00011 #include <qbuttongroup.h>
00012 #include <qtoolbutton.h>
00013 #include "scribusapi.h"
00014 class QGridLayout;
00015 class QPopupMenu;
00016 class QPixmap;
00017 
00018 
00019 class SCRIBUS_API AutoformButtonGroup : public QButtonGroup
00020 {
00021     Q_OBJECT
00022 
00023 public:
00024        AutoformButtonGroup( QWidget* parent );
00025        ~AutoformButtonGroup() {};
00026        double* getShapeData(int a, int *n);
00027        QPixmap getIconPixmap(int nr, int pixmapSize=22);
00028 
00029        QToolButton* toolButton1;
00030        QToolButton* toolButton2;
00031        QToolButton* toolButton3;
00032        QToolButton* toolButton4;
00033        QToolButton* toolButton5;
00034        QToolButton* toolButton6;
00035        QToolButton* toolButton7;
00036        QToolButton* toolButton8;
00037        QToolButton* toolButton9;
00038        QToolButton* toolButton10;
00039        QToolButton* toolButton11;
00040        QToolButton* toolButton12;
00041        QToolButton* toolButton13;
00042        QToolButton* toolButton14;
00043        QToolButton* toolButton15;
00044        QToolButton* toolButton16;
00045        QToolButton* toolButton17;
00046        QToolButton* toolButton18;
00047        
00048 public slots:
00049        void selForm(int a);
00050 
00051 signals:
00052        void FormSel(int, int, double *);
00053 
00054 protected:
00055        QGridLayout* buttonGroup1Layout;
00056 };
00057 
00058 #endif
00059 
00060