home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / extimageprops.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-03-18  |  1.8 KB  |  82 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef EXTIMAGEPROPS_H
  8. #define EXTIMAGEPROPS_H
  9.  
  10. #include <QDialog>
  11. #include <QList>
  12.  
  13. class QVBoxLayout;
  14. class QHBoxLayout;
  15. class QTabWidget;
  16. class QWidget;
  17. class QLabel;
  18. class QComboBox;
  19. class QCheckBox;
  20. class QSpinBox;
  21. class QListWidget;
  22. class QListWidgetItem;
  23. class QPushButton;
  24. class QTableWidget;
  25.  
  26. class ScribusView;
  27. class PageItem;
  28. #include "scribusapi.h"
  29. #include "scimage.h"
  30.  
  31. class SCRIBUS_API ExtImageProps : public QDialog
  32. {
  33.     Q_OBJECT
  34.  
  35. public:
  36.     ExtImageProps( QWidget* parent, ImageInfoRecord *info, PageItem *item, ScribusView *view );
  37.     ~ExtImageProps() {};
  38.  
  39.     QTabWidget* propsTab;
  40.     QWidget* tab;
  41.     QLabel* textLabel1;
  42.     QComboBox* blendMode;
  43.     QLabel* textLabel2;
  44.     QSpinBox* opacitySpinBox;
  45.     QTableWidget* layerTable;
  46.     QWidget* tab_2;
  47.     QListWidget* pathList;
  48.     QPushButton* resetPath;
  49.     QCheckBox* livePreview;
  50.     QPushButton* okButton;
  51.     QPushButton* cancelButton;
  52.     QList<QCheckBox*> FlagsSicht;
  53.     QList<QCheckBox*> FlagsMask;
  54.     ScribusView *viewWidget;
  55.     PageItem *currentItem;
  56.     int currentLayer;
  57.     bool doPreview;
  58.     ImageInfoRecord originalInfo;
  59.     FPointArray originalImageClip;
  60.     QMap<QString, QString> blendModes;
  61.     QMap<QString, QString> blendModesRev;
  62.  
  63. public slots:
  64.     void leaveOK();
  65.     void leaveCancel();
  66.     void changePreview();
  67.     void changedLayer();
  68.     void selLayer(int layer);
  69.     void selPath(QListWidgetItem *c);
  70.     void noPath();
  71.  
  72. protected:
  73.     QVBoxLayout* ExtImagePropsLayout;
  74.     QVBoxLayout* tabLayout;
  75.     QVBoxLayout* tabLayout_2;
  76.     QHBoxLayout* layout1;
  77.     QHBoxLayout* layoutBottom;
  78.  
  79. };
  80.  
  81. #endif // EXTIMAGEPROPS_H
  82.