// -*- C++ -*-
/**
- * \file floatplacement.h
+ * \file FloatPlacement.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* Full author contact details are available in file CREDITS.
*/
-#ifndef QT_FLOATPLACEMENT_H
-#define QT_FLOATPLACEMENT_H
+#ifndef FLOATPLACEMENT_H
+#define FLOATPLACEMENT_H
-#include "ui/FloatPlacementUi.h"
+#include "ui_FloatPlacementUi.h"
#include <QWidget>
#include <string>
+
+namespace lyx {
+
class InsetFloatParams;
class FloatPlacement : public QWidget, public Ui::FloatPlacementUi {
Q_OBJECT
public:
FloatPlacement(QWidget * parent = 0);
- ~FloatPlacement();
void useWide();
void useSideways();
- void set(InsetFloatParams const & params);
+ void set(lyx::InsetFloatParams const & params);
void set(std::string const & placement);
void checkAllowed();
Q_SIGNALS:
void changed();
+private:
+ /// one of figure or table?
+ bool standardfloat_;
+
};
-#endif
+} // namespace lyx
+
+#endif // FLOATPLACEMENT_H