Back to index

scribus-ng  1.3.4.dfsg+svn20071115
autoform.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 AUTOFORM_H
00008 #define AUTOFORM_H
00009 
00010 #include <qwidget.h>
00011 #include <qtoolbutton.h>
00012 #include "scribusapi.h"
00013 class QGridLayout;
00014 class QPopupMenu;
00015 class QPixmap;
00016 class AutoformButtonGroup;
00017 
00018 
00019 class SCRIBUS_API Autoforms : public QToolButton
00020 {
00021     Q_OBJECT
00022 
00023 public:
00024        Autoforms( QWidget* parent );
00025        ~Autoforms() {};
00026        QPixmap getIconPixmap(int nr);
00027        QPopupMenu* Men;
00028 
00029 public slots:
00030        void selForm(int a);
00031 
00032 signals:
00033        void FormSel(int, int, double *);
00034 
00035 protected:
00036        QGridLayout* buttonGroup1Layout;
00037        AutoformButtonGroup* buttonGroup1;
00038 };
00039 
00040 #endif
00041