Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

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>
00011 
00012 class QGridLayout;
00013 class QHBoxLayout;
00014 class QVBoxLayout;
00015 class QComboBox;
00016 class QGroupBox;
00017 class QSlider;
00018 class QPushButton;
00019 class QLabel;
00020 
00021 #include "scribusapi.h"
00022 
00023 class PageItem;
00024 
00025 class SCRIBUS_API ButtonIcon : public QDialog
00026 { 
00027     Q_OBJECT
00028 
00029 public:
00030     ButtonIcon(QWidget* parent, PageItem* ite);
00031     ~ButtonIcon() {};
00032 
00033     QLabel* TextLabel1_2;
00034     QComboBox* Place;
00035     QLabel* TextLabel1;
00036     QComboBox* ScaleW;
00037     QLabel* TextLabel2;
00038     QComboBox* ScaleH;
00039     QGroupBox* GroupButton;
00040     QLabel* TextLabel3;
00041     QSlider* SliderX;
00042     QSlider* SliderY;
00043     QPushButton* OK;
00044     QPushButton* Cancel;
00045     QPushButton* Reset;
00046     PageItem* Item;
00047     int IcPlace;
00048     int IcScaleW;
00049     int IcScaleH;
00050     double IcPlaceX;
00051     double IcPlaceY;
00052 
00053 private slots:
00054     void MoveIconY(int y);
00055     void MoveIconX(int x);
00056     void SetAllVals();
00057     void SetScaleHow(int s);
00058 
00059 protected:
00060     QVBoxLayout* ButtonIconLayout;
00061     QGridLayout* Layout1;
00062     QHBoxLayout* Layout5;
00063     QGridLayout* Layout3;
00064     QHBoxLayout* Layout4;
00065 };
00066 
00067 #endif // BUTTONICON_H
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.