2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2002-09-14 23:59:19 +00:00
|
|
|
/**
|
|
|
|
* \file QDelimiterDialog.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-09-14 23:59:19 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-09-14 23:59:19 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QDELIMITERDIALOG_H
|
|
|
|
#define QDELIMITERDIALOG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "ui/QDelimiterDialogBase.h"
|
2002-09-24 13:57:09 +00:00
|
|
|
#include "LString.h"
|
2002-09-14 23:59:19 +00:00
|
|
|
|
|
|
|
class QMath;
|
|
|
|
class IconPalette;
|
|
|
|
class QLabel;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QDelimiterDialog : public QDelimiterDialogBase {
|
2002-09-14 23:59:19 +00:00
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
QDelimiterDialog(QMath * form);
|
|
|
|
public slots:
|
2002-12-07 18:09:39 +00:00
|
|
|
void ldelim_clicked(const string & str);
|
|
|
|
void rdelim_clicked(const string & str);
|
2002-09-14 23:59:19 +00:00
|
|
|
void insertClicked();
|
|
|
|
protected:
|
|
|
|
//needed ? virtual void closeEvent(QCloseEvent * e);
|
|
|
|
private:
|
|
|
|
void set_label(QLabel * label, string const & str);
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
/// symbol of left delimiter
|
2002-09-14 23:59:19 +00:00
|
|
|
string left_;
|
|
|
|
|
|
|
|
/// symbol of right delimiter
|
|
|
|
string right_;
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2002-09-14 23:59:19 +00:00
|
|
|
/// owning form
|
|
|
|
QMath * form_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QDELIMITERDIALOG_H
|