/**
* \file QCharacterDialog.C
- * Copyright 2001 the LyX Team
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Edwin Leuven, leuven@fee.uva.nl
+ * \author Edwin Leuven
+ *
+ * Full author contact details are available in file CREDITS
*/
+#include <config.h>
+
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include "QCharacterDialog.h"
#include <qcombobox.h>
#include <qpushbutton.h>
#include <qgroupbox.h>
+
QCharacterDialog::QCharacterDialog(QCharacter * form)
- : QCharacterDialogBase(0, 0, false, 0),
+ : QCharacterDialogBase(0, 0, false, 0),
form_(form)
{
connect(okPB, SIGNAL(clicked()),
connect(closePB, SIGNAL(clicked()),
form_, SLOT(slotClose()));
}
-
+
void QCharacterDialog::change_adaptor()
{
form_->changed();
-
+
if (!autoapplyCB->isChecked())
return;
shapeCO->setCurrentItem(0);
miscCO->setCurrentItem(0);
langCO->setCurrentItem(0);
- colorCO->setCurrentItem(0);
+ colorCO->setCurrentItem(0);
}
-
+
void QCharacterDialog::closeEvent(QCloseEvent * e)
{
form_->slotWMHide();