karbon

vstrokedlg.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2001, The Karbon Developers
00003    Copyright (C) 2002, The Karbon Developers
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef __VSTROKEDLG_H__
00022 #define __VSTROKEDLG_H__
00023 
00024 #include <kdialogbase.h>
00025 
00026 class QComboBox;
00027 class QVButtonGroup;
00028 
00029 class KarbonPart;
00030 class KoUnitDoubleSpinBox;
00031 class VStroke;
00032 class VColorTab;
00033 
00034 class VStrokeDlg : public KDialogBase
00035 {
00036     Q_OBJECT
00037 
00038 public:
00039     VStrokeDlg( KarbonPart* part, QWidget* parent = 0L, const char* name = 0L );
00040 
00041 private:
00042     VColorTab* m_colortab;
00043     KarbonPart *m_part;
00044     KoUnitDoubleSpinBox *m_setLineWidth;
00045     QComboBox *m_styleCombo;
00046     QVButtonGroup *m_typeOption;
00047     QVButtonGroup *m_capOption;
00048     QVButtonGroup *m_joinOption;
00049 
00050 protected:
00051     VStroke m_stroke;
00052 
00053 signals:
00054     void strokeChanged( const VStroke & );
00055     
00056 private slots:
00057     void slotTypeChanged( int ID );
00058     void slotCapChanged( int ID );
00059     void slotJoinChanged( int ID );
00060     void slotOKClicked();
00061     void slotUpdateDialog();
00062 
00063 };
00064 
00065 #endif
00066 
KDE Home | KDE Accessibility Home | Description of Access Keys