3
$Id: HelplineDialog.h,v 1.6 2000/07/31 21:00:47 wtrobin Exp $
5
This file is part of KIllustrator.
6
Copyright (C) 1998 Kai-Uwe Sattler (kus@iti.cs.uni-magdeburg.de)
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU Library General Public License as
11
the Free Software Foundation; either version 2 of the License, or
12
(at your option) any later version.
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
19
You should have received a copy of the GNU Library General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
#ifndef HelplineDialog_h_
26
#define HelplineDialog_h_
28
#include <qvaluelist.h>
29
#include <kdialogbase.h>
35
class HelplineDialog : public KDialogBase {
38
HelplineDialog (Canvas* canvas, QWidget* parent = 0L,
39
const char* name = 0L);
41
static void setup (Canvas *c);
44
void createHorizLineWidget (QWidget* parent);
45
void createVertLineWidget (QWidget* parent);
51
void updateHorizLine ();
52
void deleteHorizLine ();
53
void horizLineSelected (int idx);
56
void updateVertLine ();
57
void deleteVertLine ();
58
void vertLineSelected (int idx);
64
UnitBox *horizValue, *vertValue;
65
QListBox *horizList, *vertList;
66
QValueList<float> horizLines, vertLines;