Back to index

scribus-ng  1.3.4.dfsg+svn20071115
alignselect.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 ALIGNSELECT_H
00008 #define ALIGNSELECT_H
00009 
00010 #include <qbuttongroup.h>
00011 #include <qtoolbutton.h>
00012 #include <qlayout.h>
00013 #include <qtooltip.h>
00014 
00015 #include "scribusapi.h"
00016 
00017 class SCRIBUS_API AlignSelect : public QButtonGroup
00018 {
00019 
00020 Q_OBJECT
00021 
00022 public:
00023        AlignSelect(QWidget* parent);
00024        ~AlignSelect() {};
00025        void setStyle(int s);
00026        int getStyle();
00027 
00028        QButtonGroup* GroupAlign;
00029        QToolButton* TextL;
00030        QToolButton* TextR;
00031        QToolButton* TextC;
00032        QToolButton* TextB;
00033        QToolButton* TextF;
00034 
00035 public slots:
00036        void languageChange();
00037               
00038 private slots:
00039        void setTypeStyle(int a);
00040 
00041 signals:
00042        void State(int);
00043 
00044 protected:
00045        QGridLayout* GroupAlignLayout;
00046 
00047 };
00048 
00049 #endif
00050