chalk

kis_dlg_image_properties.h
1/*
2 * Copyright (c) 2004 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18#ifndef KIS_DLG_IMAGE_PROPERTIES_H_
19#define KIS_DLG_IMAGE_PROPERTIES_H_
20
21#include <kdialogbase.h>
22
23#include <kis_types.h>
24
25class WdgNewImage;
26class TQButtonGroup;
27class KisID;
28
29class KisDlgImageProperties : public KDialogBase {
30 typedef KDialogBase super;
31 TQ_OBJECT
32
33
34public:
35 KisDlgImageProperties(KisImageSP image,
36 TQWidget *parent = 0,
37 const char *name = 0);
38 virtual ~KisDlgImageProperties();
39
40 int imageWidth();
41 int imageHeight();
42 int opacity();
43 TQString imageName();
44 double resolution();
45 TQString description();
46 KisColorSpace * colorSpace();
47 KisProfile * profile();
48
49private slots:
50
51 void fillCmbProfiles(const KisID &);
52
53private:
54
55 WdgNewImage * m_page;
56 KisImageSP m_image;
57};
58
59
60
61#endif // KIS_DLG_IMAGE_PROPERTIES_H_
62
A colorspace is the definition of a certain color model in Chalk.
Chalk has a large number of extensible resources.
Definition kis_id.h:57