// -*- C++ -*-
/* This file is part of
* ======================================================
- *
+ *
* LyX, The Document Processor
*
* Copyright 1998 The LyX Team.
#endif
#include "insetcollapsable.h"
+#include <sigc++/signal_system.h>
class Painter;
/** The float inset
-
+
*/
class InsetFloat : public InsetCollapsable {
public:
///
- InsetFloat(string const &);
+ InsetFloat(BufferParams const &, string const &);
+ ///
+ InsetFloat(InsetFloat const &, bool same_id = false);
+ ///
+ ~InsetFloat();
///
void write(Buffer const * buf, std::ostream & os) const;
///
///
int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
///
- int docBook(Buffer const *, std::ostream &) const;
+ int docbook(Buffer const *, std::ostream &) const;
///
string const editMessage() const;
///
- bool insertInsetAllowed(Inset * inset) const;
- ///
- void insetButtonRelease(BufferView * bv, int x, int y, int button);
+ bool insetAllowed(Inset::Code) const;
///
string const & type() const;
///
void wide(bool w);
///
bool wide() const;
+ ///
+ bool showInsetDialog(BufferView *) const;
+ ///
+ SigC::Signal0<void> hideDialog;
private:
///
string floatType_;