karbon

vstrokedocker.h
1/* This file is part of the KDE project
2 Made by Tomislav Lukman (tomislav.lukman@ck.tel.hr)
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 __VSTROKEDOCKER_H__
22#define __VSTROKEDOCKER_H__
23
24class TQHButtonGroup;
25class TQWidget;
26
27class KoUnitDoubleSpinBox;
28
29class KoMainWindow;
30class KarbonView;
31class KarbonPart;
32
33class VStrokeDocker : public TQWidget
34{
35 TQ_OBJECT
36
37
38public:
39 VStrokeDocker( KarbonPart* part, KarbonView* parent = 0L, const char* name = 0L );
40
41public slots:
42 virtual void setStroke( const VStroke & );
43 virtual void setUnit( KoUnit::Unit unit );
44
45private:
46 TQHButtonGroup *m_capGroup;
47 TQHButtonGroup *m_joinGroup;
48 KarbonPart *m_part;
49 KarbonView *m_view;
50 KoUnitDoubleSpinBox *m_setLineWidth;
51
52private slots:
53 void slotCapChanged( int ID );
54 void slotJoinChanged( int ID );
55 void updateCanvas();
56 void updateDocker();
57 void widthChanged();
58
59protected:
60 VStroke m_stroke;
61};
62
63#endif
64
Keeps track of visual per document properties.
Definition karbon_part.h:46