Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/dialogs/kis_dlg_file_layer.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
43 | * @param name the proposed name for this layer | 43 | * @param name the proposed name for this layer | ||
44 | * @param parent the widget parent of this dialog | 44 | * @param parent the widget parent of this dialog | ||
45 | */ | 45 | */ | ||
46 | KisDlgFileLayer(const QString &basePath, const QString &name, QWidget *parent = 0); | 46 | KisDlgFileLayer(const QString &basePath, const QString &name, QWidget *parent = 0); | ||
47 | QString fileName() const; | 47 | QString fileName() const; | ||
48 | QString layerName() const; | 48 | QString layerName() const; | ||
49 | KisFileLayer::ScalingMethod scaleToImageResolution() const; | 49 | KisFileLayer::ScalingMethod scaleToImageResolution() const; | ||
50 | 50 | | |||
51 | void setFileName(QString fileName); | ||||
52 | void setScalingMethod(KisFileLayer::ScalingMethod method); | ||||
53 | | ||||
51 | protected Q_SLOTS: | 54 | protected Q_SLOTS: | ||
52 | void slotNameChanged(const QString &); | 55 | void slotNameChanged(const QString &); | ||
53 | 56 | | |||
54 | private: | 57 | private: | ||
55 | 58 | | |||
56 | Ui_WdgDlgFileLayer dlgWidget; | 59 | Ui_WdgDlgFileLayer dlgWidget; | ||
57 | QString m_basePath; | 60 | QString m_basePath; | ||
58 | }; | 61 | }; | ||
59 | 62 | | |||
60 | #endif | 63 | #endif |