#define GUIPARAGRAPH_H
#include "DialogView.h"
-#include "GuiView.h"
-#include "qt_helpers.h"
#include "ui_ParagraphUi.h"
-#include "Layout.h"
#include "ParagraphParameters.h"
-#include <QDialog>
-#include <QSettings>
-#include <QShowEvent>
-#include <QGridLayout>
-
#include <map>
namespace lyx {
void enableView(bool enable);
bool isBufferDependent() const { return true; }
virtual FuncCode getLfun() const { return LFUN_PARAGRAPH_PARAMS_APPLY; }
- void saveSession() const;
+ void saveSession(QSettings & settings) const;
void restoreSession();
//@}
///
bool canIndent() const;
///
+ bool hasLabelwidth() const;
+ ///
LyXAlignment alignPossible() const;
///
LyXAlignment alignDefault() const;
///
void on_synchronizedViewCB_toggled();
///
- void on_restorePB_clicked();
- ///
void on_linespacing_activated(int);
/// Apply changes
- void on_applyPB_clicked();
- /// Apply changes and close
- void on_okPB_clicked();
- /// Close/Cancel dialog
- void on_closePB_clicked();
+ void on_buttonBox_clicked(QAbstractButton * button);
private:
///