chalk

kis_custom_image_widget.h
1/* This file is part of the KOffice project
2 * Copyright (C) 2005 Thomas Zander <zander@kde.org>
3 * Copyright (C) 2005 Casper Boemann <cbr@boemann.dk>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; version 2.
8
9 * This library 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 GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19#ifndef KIS_CUSTOM_IMAGE_WIDGET_H
20#define KIS_CUSTOM_IMAGE_WIDGET_H
21
22#include <wdgnewimage.h>
23#include "kis_global.h"
24
25class KisDoc;
26class KisID;
27
33class KisCustomImageWidget : public WdgNewImage {
34 TQ_OBJECT
35
36public:
42 KisCustomImageWidget(TQWidget *parent, KisDoc *doc, TQ_INT32 defWidth, TQ_INT32 defHeight, double resolution, TQString defColorSpaceName, TQString imageName);
43
44private slots:
45 void buttonClicked();
46 void fillCmbProfiles(const KisID & s);
47
48signals:
51
52private:
53 TQ_UINT8 backgroundOpacity() const;
54
55 KisDoc *m_doc;
56};
57
58#endif
The 'Custom Document' widget in the Chalk startup widget.
void documentSelected()
this signal is emitted (as defined by KoDocument) the moment the document is 'ready'
Chalk has a large number of extensible resources.
Definition kis_id.h:57