karbon

vstrokedlg.h
1/* This file is part of the KDE project
2 Copyright (C) 2001, The Karbon Developers
3 Copyright (C) 2002, The Karbon Developers
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; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#ifndef __VSTROKEDLG_H__
22#define __VSTROKEDLG_H__
23
24#include <kdialogbase.h>
25
26class TQComboBox;
27class TQVButtonGroup;
28
29class KarbonPart;
30class KoUnitDoubleSpinBox;
31class VStroke;
32class VColorTab;
33
34class VStrokeDlg : public KDialogBase
35{
36 TQ_OBJECT
37
38
39public:
40 VStrokeDlg( KarbonPart* part, TQWidget* parent = 0L, const char* name = 0L );
41
42private:
43 VColorTab* m_colortab;
44 KarbonPart *m_part;
45 KoUnitDoubleSpinBox *m_setLineWidth;
46 TQComboBox *m_styleCombo;
47 TQVButtonGroup *m_typeOption;
48 TQVButtonGroup *m_capOption;
49 TQVButtonGroup *m_joinOption;
50
51protected:
52 VStroke m_stroke;
53
54signals:
55 void strokeChanged( const VStroke & );
56
57private slots:
58 void slotTypeChanged( int ID );
59 void slotCapChanged( int ID );
60 void slotJoinChanged( int ID );
61 void slotOKClicked();
62 void slotUpdateDialog();
63
64};
65
66#endif
67
Keeps track of visual per document properties.
Definition karbon_part.h:46
Manages stroke properties.
Definition vstroke.h:49