moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kvoctrain / kvoctrain / option-dialogs / ViewOptPage.h
blob3418877f782e388901465f4cea21a88b48b7b804
1 /***************************************************************************
3 $Id$
5 viewing options dialog page
7 -----------------------------------------------------------------------
9 begin : Fri Sep 10 16:42:01 1999
11 copyright : (C) 1999-2001 Ewald Arnold
12 (C) 2001 The KDE-EDU team
13 email : kvoctrain@ewald-arnold.de
15 -----------------------------------------------------------------------
17 ***************************************************************************/
19 /***************************************************************************
20 * *
21 * This program is free software; you can redistribute it and/or modify *
22 * it under the terms of the GNU General Public License as published by *
23 * the Free Software Foundation; either version 2 of the License, or *
24 * (at your option) any later version. *
25 * *
26 ***************************************************************************/
29 #ifndef ViewOptPage_included
30 #define ViewOptPage_included
32 #include "ViewOptPageForm.h"
34 #include <kvoctrainexpr.h>
36 class QueryManager;
38 class ViewOptPage : public ViewOptPageForm
40 Q_OBJECT
42 public:
44 ViewOptPage
46 QFont &_tablefont,
47 QFont &_ipa_font,
48 QueryManager *manager,
49 QWidget *parent = NULL,
50 const char *name = NULL
53 QFont getIPAFont() const { return ipa_font; }
54 QFont getFont() const { return tablefont; }
55 //GradeCols getGradeCols() const { return gc; }
57 protected:
58 void keyPressEvent( QKeyEvent * );
60 public slots:
61 void initFocus() const;
63 protected slots:
64 void slotChooseFont();
65 void slotChooseIPAFont();
66 void slotCol0(const QColor&);
67 void slotCol1(const QColor&);
68 void slotCol2(const QColor&);
69 void slotCol3(const QColor&);
70 void slotCol4(const QColor&);
71 void slotCol5(const QColor&);
72 void slotCol6(const QColor&);
73 void slotCol7(const QColor&);
74 void slotColUsed(bool used);
77 protected:
78 //GradeCols gc;
79 QFont tablefont;
80 QFont ipa_font;
82 #endif // ViewOptPage_included