2 * \file QCharacterDialog.h
3 * Copyright 2001 the LyX Team
9 #ifndef QCHARACTERDIALOG_H
10 #define QCHARACTERDIALOG_H
14 #include "ui/QCharacterDialogBase.h"
15 #include "QCharacter.h"
18 #include <qcheckbox.h>
19 #include <qcombobox.h>
23 class QCharacterDialog : public QCharacterDialogBase
27 QCharacterDialog(QCharacter * form, QWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags fl = 0);
33 /// return the currently selected language item
35 return lang->currentItem();
38 /// return true if toggle all is selected
40 return toggleall->isChecked();
43 /// set dialog read only
44 void setReadOnly(bool);
47 void closeEvent(QCloseEvent * e);
54 void apply_adaptor() {
58 void cancel_adaptor() {
63 void close_adaptor() {
71 #endif // QCHARACTERDIALOG_H