namespace lyx {
-class InsetInfo;
-
namespace frontend {
class GuiInfo : public DialogView, public Ui::InfoUi
public:
GuiInfo(GuiView & lv);
- /// Dialog inherited methods
+ /// \name Dialog inherited methods
//@{
void applyView();
void updateView();
- void dispatchParams();
+ void dispatchParams() {}
void enableView(bool enable);
bool isBufferDependent() const { return true; }
+ bool canApply() const { return true; }
//@}
private Q_SLOTS:
+ void on_newPB_clicked();
void on_closePB_clicked();
+ void on_typeCO_currentIndexChanged(int);
+ void on_nameLE_textChanged(QString const &);
+
+private:
+ void paramsToDialog();
+ void dialogToParams();
+ QString type_;
+ QString name_;
};
} // namespace frontend