krita
kis_dlg_adj_layer_props.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KIS_DLG_ADJ_LAYER_PROPS_H
00020 #define KIS_DLG_ADJ_LAYER_PROPS_H
00021
00022 #include <kdialogbase.h>
00023
00024 class KisFilter;
00025 class QIconViewItem;
00026 class QLabel;
00027 class QHBoxLayout;
00028 class KisPreviewWidget;
00029 class KisFiltersListView;
00030 class KisFilterConfiguration;
00031 class KisImage;
00032 class QGroupBox;
00033
00037 class KisDlgAdjLayerProps : public KDialogBase
00038 {
00039
00040 Q_OBJECT
00041
00042 public:
00043
00055 KisDlgAdjLayerProps(KisAdjustmentLayerSP layer,
00056 const QString & layerName,
00057 const QString & caption,
00058 QWidget *parent = 0,
00059 const char *name = 0);
00060
00061 KisFilterConfiguration * filterConfiguration() const;
00062 QString layerName() const;
00063
00064 protected slots:
00065
00066 void slotNameChanged( const QString & );
00067 void slotConfigChanged();
00068 void refreshPreview();
00069
00070 private:
00071 KisImage * m_image;
00072 KisPreviewWidget * m_preview;
00073 KisFilterConfigWidget * m_currentConfigWidget;
00074 KisFilter* m_currentFilter;
00075 KisFilterConfiguration * m_currentConfiguration;
00076 KisAdjustmentLayer * m_layer;
00077 KLineEdit * m_layerName;
00078 };
00079
00080 #endif // KIS_DLG_ADJ_LAYER_PROPS_H
|