#ifndef GUIPARAGRAPH_H
#define GUIPARAGRAPH_H
-// Uncomment this if you prefer dock widget
-//#define USE_DOCK_WIDGET
-
-#include "Layout.h"
-#include "ui_ParagraphUi.h"
#include "DialogView.h"
-#include "ParagraphParameters.h"
#include "GuiView.h"
#include "qt_helpers.h"
+#include "ui_ParagraphUi.h"
+
+#include "Layout.h"
+#include "ParagraphParameters.h"
+
#include "support/debug.h"
-#include <QCloseEvent>
#include <QDialog>
#include <QSettings>
#include <QShowEvent>
//@{
void updateView();
void dispatchParams();
+ void enableView(bool enable);
bool isBufferDependent() const { return true; }
+ virtual kb_action getLfun() const { return LFUN_PARAGRAPH_PARAMS_APPLY; }
//@}
private:
///
ParagraphParameters const & params() const;
///
- bool haveMulitParSelection();
+ bool haveMultiParSelection();
///
bool canIndent() const;
///