krita
kis_dlg_new_layer.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KIS_DLG_NEW_LAYER_H_
00021 #define KIS_DLG_NEW_LAYER_H_
00022
00023 #include <kdialogbase.h>
00024
00025 #include "kis_composite_op.h"
00026 #include <kis_global.h>
00027
00028 class QWidget;
00029 class KisPaintDevice;
00030 class WdgLayerProperties;
00031
00032 class NewLayerDialog : public KDialogBase {
00033 typedef KDialogBase super;
00034 Q_OBJECT
00035
00036 public:
00037 NewLayerDialog(const KisID colorSpace,
00038 const QString & profilename,
00039 const QString & deviceName,
00040 QWidget *parent = 0,
00041 const char *name = 0);
00042
00043 QString layerName() const;
00044 KisCompositeOp compositeOp() const;
00045 Q_INT32 opacity() const;
00046 KisID colorSpaceID() const;
00047 QString profileName() const;
00048
00049 void setColorSpaceEnabled(bool enabled);
00050
00051 private slots:
00052 void fillCmbProfiles(const KisID & s);
00053 void fillCmbComposite(const KisID & s);
00054
00055 private:
00056 WdgLayerProperties * m_page;
00057 };
00058
00059 #endif // KIS_DLG_NEW_LAYER_H_
00060
|