Back to index

scribus-ng  1.3.4.dfsg+svn20071115
buttonicon.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 BUTTONICON_H
00008 #define BUTTONICON_H
00009 
00010 #include <qdialog.h>
00011 #include <qcombobox.h>
00012 #include <qgroupbox.h>
00013 #include <qlabel.h>
00014 #include <qpushbutton.h>
00015 #include <qslider.h>
00016 #include <qlayout.h>
00017 #include <qtooltip.h>
00018 
00019 #include "scribusapi.h"
00020 
00021 class PageItem;
00022 
00023 class SCRIBUS_API ButtonIcon : public QDialog
00024 { 
00025     Q_OBJECT
00026 
00027 public:
00028     ButtonIcon(QWidget* parent, PageItem* ite);
00029     ~ButtonIcon() {};
00030 
00031     QLabel* TextLabel1_2;
00032     QComboBox* Place;
00033     QLabel* TextLabel1;
00034     QComboBox* ScaleW;
00035     QLabel* TextLabel2;
00036     QComboBox* ScaleH;
00037     QGroupBox* GroupButton;
00038     QLabel* TextLabel3;
00039     QSlider* SliderX;
00040     QSlider* SliderY;
00041     QPushButton* OK;
00042     QPushButton* Cancel;
00043     QPushButton* Reset;
00044        PageItem* Item;
00045        int IcPlace;
00046        int IcScaleW;
00047        int IcScaleH;
00048        double IcPlaceX;
00049        double IcPlaceY;
00050 
00051 private slots:
00052        void MoveIconY(int y);
00053        void MoveIconX(int x);
00054        void SetAllVals();
00055        void SetScaleHow(int s);
00056 
00057 protected:
00058     QVBoxLayout* ButtonIconLayout;
00059     QGridLayout* Layout1;
00060     QHBoxLayout* Layout5;
00061     QGridLayout* Layout3;
00062     QHBoxLayout* Layout4;
00063 };
00064 
00065 #endif // BUTTONICON_H