]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiGraphics.h
Do not compute caret geometry when we are not ready to do so.
[lyx.git] / src / frontends / qt4 / GuiGraphics.h
index 27e34ac916fa266414382179dc377b36e072f301..6446949daf39d54ab08f8ee7f57ddc67e55c43c5 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "insets/InsetGraphicsParams.h"
 
-#include "support/docstring.h"
-
 #include <vector>
 
 class QString;
@@ -40,13 +38,16 @@ public:
 
 private Q_SLOTS:
        void change_adaptor();
-       void change_group(const QString &);
-       void change_bb();
+       void changeGroup(int);
+       void changeBB();
+       void on_newGroupPB_clicked();
        void on_browsePB_clicked();
        void on_getPB_clicked();
        void on_scaleCB_toggled(bool);
        void on_WidthCB_toggled(bool);
        void on_HeightCB_toggled(bool);
+       void updateAspectRatioStatus();
+       void on_aspectratio_toggled(bool);
        void on_angle_textChanged(const QString &);
 
 private:
@@ -80,6 +81,8 @@ private:
        std::vector<std::string> origin_ltx;
        ///
        InsetGraphicsParams params_;
+       /// the current graphics group
+       std::string current_group_;
 };
 
 } // namespace frontend