karbon

vtransformdocker.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 __VTRANSFORMDOCKER_H__
22#define __VTRANSFORMDOCKER_H__
23
24class KarbonPart;
25class KarbonView;
26class KoUnitDoubleSpinBox;
27
28class VTransformDocker : public TQWidget
29{
30 TQ_OBJECT
31
32
33public:
34 VTransformDocker( KarbonPart* part, KarbonView* parent = 0L, const char* name = 0L );
35
36public slots:
37 void update();
38 virtual void setUnit( KoUnit::Unit unit );
39
40private slots:
41 void translate();
42 void scale();
43 void enableSignals( bool enable );
44 void shearX();
45 void shearY();
46 void rotate();
47
48private:
49 KarbonPart *m_part;
50 KarbonView *m_view;
51 KoUnitDoubleSpinBox *m_x;
52 KoUnitDoubleSpinBox *m_y;
53 KoUnitDoubleSpinBox *m_width;
54 KoUnitDoubleSpinBox *m_height;
55 KDoubleSpinBox *m_rotate;
56 KoUnitDoubleSpinBox *m_shearX;
57 KoUnitDoubleSpinBox *m_shearY;
58};
59
60#endif
61
Keeps track of visual per document properties.
Definition karbon_part.h:46