public:
GuiParagraph(GuiView & lv);
- /// update
+ /// Dialog inherited methods
+ //@{
void updateView();
+ void dispatchParams();
+ bool isBufferDependent() const { return true; }
+ //@}
private:
///
///
LyXAlignment getAlignmentFromDialog();
///
- typedef std::map<LyXAlignment, QRadioButton *> RadioMap;
- RadioMap radioMap;
- typedef std::map<LyXAlignment, docstring> AlignmentLabels;
- AlignmentLabels labelMap;
-
- QString const alignDefaultLabel;
-
- void applyView() {}
- void enableView(bool enable);
-
- std::string name() const { return "paragraph"; }
-
-private:
- QString name_;
+ ParagraphParameters & params();
+ ///
+ ParagraphParameters const & params() const;
+ ///
+ bool haveMulitParSelection();
+ ///
+ bool canIndent() const;
+ ///
+ LyXAlignment alignPossible() const;
+ ///
+ LyXAlignment alignDefault() const;
private Q_SLOTS:
///
private:
///
- bool initialiseParams(std::string const & /*data*/) { return true; }
- /// clean-up on hide.
- void clearParams() {}
- ///
- void dispatchParams();
- ///
- bool isBufferDependent() const { return true; }
- ///
- ParagraphParameters & params();
+ typedef std::map<LyXAlignment, QRadioButton *> RadioMap;
///
- ParagraphParameters const & params() const;
+ RadioMap radioMap;
///
- bool haveMulitParSelection();
+ typedef std::map<LyXAlignment, docstring> AlignmentLabels;
///
- bool canIndent() const;
+ AlignmentLabels labelMap;
///
- LyXAlignment alignPossible() const;
+ QString const alignDefaultLabel;
///
- LyXAlignment alignDefault() const;
-
-private:
ParagraphParameters multiparsel_;
};