]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiGraphics.h
Create new graphics from within LyX choosing a sample file to copy from.
[lyx.git] / src / frontends / qt4 / GuiGraphics.h
index 67a4cbeac299d05cf32cbf354e92b2e1085b91ae..aeca7e9db5a498365456686544686d2d910fd857 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "insets/InsetGraphicsParams.h"
 
-#include "support/docstring.h"
-
 #include <vector>
 
 class QString;
@@ -45,9 +43,14 @@ private Q_SLOTS:
        void on_newGroupPB_clicked();
        void on_browsePB_clicked();
        void on_getPB_clicked();
+       void on_editPB_clicked();
+       void on_chooseSamplePB_clicked();
+       void on_okPB_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:
@@ -74,6 +77,8 @@ private:
        std::string readBoundingBox(std::string const & file);
        /// test if file exist
        bool isFileNameValid(std::string const & fname) const;
+       /// Check if file exists, if not, ask whether ok to continue
+       bool checkFileExists();
 
        /// Control the bb
        bool bbChanged;