]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/checkedwidgets.h
Minipage is no more (long live the box inset)
[lyx.git] / src / frontends / qt2 / checkedwidgets.h
1 // -*- C++ -*-
2 /**
3  * \file qt2/checkedwidgets.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef CHECKEDWIDGETS_H
13 #define CHECKEDWIDGETS_H
14
15
16 #include "BCView.h"
17
18 class QLabel;
19 class QLineEdit;
20
21
22 void addCheckedLineEdit(BCView & bcview,
23                         QLineEdit * input, QLabel * label = 0);
24
25 class CheckedLineEdit : public CheckedWidget {
26 public:
27         CheckedLineEdit(QLineEdit * input, QLabel * label = 0);
28
29 private:
30         ///
31         virtual bool check() const;
32
33         ///
34         QLineEdit * input_;
35         QLabel * label_;
36 };
37
38 #endif // CHECKEDWIDGETS_H