]> 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 7d32ce26d6a60c59f457c6b197e43d14ab09c602..aeca7e9db5a498365456686544686d2d910fd857 100644 (file)
@@ -43,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:
@@ -72,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;