Back to index

scribus-ng  1.3.4.dfsg+svn20071115
shadebutton.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 SHADEBUTTON_H
00008 #define SHADEBUTTON_H
00009 
00010 #include <qtoolbutton.h>
00011 #include <qpopupmenu.h>
00012 #include "scribusapi.h"
00013 
00014 class SCRIBUS_API ShadeButton : public QToolButton
00015 {
00016 
00017 Q_OBJECT
00018 
00019 public:
00020        ShadeButton(QWidget* parent);
00021        ~ShadeButton() {};
00022        QPopupMenu *FillSh;
00023        int getValue();
00024        void setValue(int val);
00025 
00026 private slots:
00027        virtual void setShade(int id);
00028 };
00029 #endif
00030