mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
bb8ce22e78
work _despite_ of LyXLex so... here is the Paragraph dialog reworked. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6487 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
778 B
C++
44 lines
778 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QParagraph.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Edwin Leuven
|
|
* \author John Levon
|
|
*
|
|
* Full author contact details are available in file CREDITS
|
|
*/
|
|
|
|
#ifndef QPARAGRAPH_H
|
|
#define QPARAGRAPH_H
|
|
|
|
|
|
#include "QDialogView.h"
|
|
#include "LString.h"
|
|
#include <vector>
|
|
|
|
class ControlParagraph;
|
|
class QParagraphDialog;
|
|
|
|
|
|
class QParagraph
|
|
: public QController<ControlParagraph, QView<QParagraphDialog> >
|
|
{
|
|
public:
|
|
friend class QParagraphDialog;
|
|
|
|
QParagraph(Dialog &);
|
|
private:
|
|
/// Apply changes
|
|
virtual void apply();
|
|
/// update
|
|
virtual void update_contents();
|
|
/// build the dialog
|
|
virtual void build_dialog();
|
|
|
|
std::vector<string> units_;
|
|
};
|
|
|
|
#endif // QPARAGRAPH_H
|