Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

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 <QHBoxLayout>
00011 #include <QToolButton>
00012 #include <QButtonGroup>
00013 
00014 class QEvent;
00015 
00016 #include "scribusapi.h"
00017 
00018 class SCRIBUS_API AlignSelect : public QWidget
00019 {
00020 
00021 Q_OBJECT
00022 
00023 public:
00024     AlignSelect(QWidget* parent);
00025     ~AlignSelect() {};
00026     void setStyle(int s);
00027     int getStyle();
00028     int selectedId();
00029     
00030     virtual void changeEvent(QEvent *e);
00031 
00032     QButtonGroup* buttonGroup;
00033     int selected;
00034     QToolButton* TextL;
00035     QToolButton* TextR;
00036     QToolButton* TextC;
00037     QToolButton* TextB;
00038     QToolButton* TextF;
00039 
00040 public slots:
00041     void languageChange();
00042         
00043 private slots:
00044     void setTypeStyle(int a);
00045 
00046 signals:
00047     void State(int);
00048 
00049 protected:
00050     QHBoxLayout* GroupAlignLayout;
00051 
00052 };
00053 
00054 #endif
00055 
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.