]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QPreamble.h
Some Qt graphics dialog improvements. Yet more work needed :/
[lyx.git] / src / frontends / qt2 / QPreamble.h
1 // -*- C++ -*-
2 /**
3  * \file QPreamble.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  */
9
10 #ifndef QPREAMBLE_H
11 #define QPREAMBLE_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "Qt2Base.h"
18
19 class ControlPreamble;
20 class QPreambleDialog;
21
22 ///
23 class QPreamble
24         : public Qt2CB<ControlPreamble, Qt2DB<QPreambleDialog> >
25 {
26 public:
27         ///
28         friend class QPreambleDialog;
29         ///
30         QPreamble();
31
32 private:
33         /// Apply changes
34         virtual void apply();
35         /// update
36         virtual void update_contents();
37         /// build the dialog
38         virtual void build_dialog();
39 };
40
41 #endif // QPREAMBLE_H