]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiExternal.h
GuiTabular, InsetTabular: fix http://bugzilla.lyx.org/show_bug.cgi?id=5752
[lyx.git] / src / frontends / qt4 / GuiExternal.h
index 80f272363a4752345b7a377b54cd54a43133d8ea..e1157e977c3e9935f4e757b2f6828df10cd708ce 100644 (file)
 #include "GuiDialog.h"
 #include "ui_ExternalUi.h"
 
-#include "support/types.h"
-
 #include "insets/InsetExternal.h"
 
 #include <QHash>
 
 namespace lyx {
-
-namespace external {
-
-class Template;
-class RotationDataType;
-
-} // namespace external
-
 namespace frontend {
 
 class GuiExternal : public GuiDialog, public Ui::ExternalUi
@@ -45,7 +35,6 @@ private Q_SLOTS:
        void bbChanged();
        void browseClicked();
        void change_adaptor();
-       void editClicked();
        void extraChanged(const QString &);
        void formatChanged(const QString &);
        void getbbClicked();
@@ -53,11 +42,10 @@ private Q_SLOTS:
        void templateChanged();
        void widthUnitChanged();
 
-public:
+private:
        ///
        typedef QHash<QString, QString> MapType;
 
-private:
        ///
        bool activateAspectratio() const;
        /// Apply changes
@@ -66,11 +54,9 @@ private:
        void updateContents();
        /// Helper function called when the template is changed.
        void updateTemplate();
-       /// get bounding box from file
-       void getBB();
-
        ///
-       MapType extra_;
+       bool usingScale() const;
+
        ///
        bool initialiseParams(std::string const & data);
        /// clean-up on hide.
@@ -80,16 +66,12 @@ private:
        ///
        bool isBufferDependent() const { return true; }
 
-       ///
-       void editExternal();
        ///
        QString browse(QString const & input_file,
                                 QString const & template_name) const;
 
-       /// Read the Bounding Box from a eps or ps-file
-       std::string const readBB(std::string const & file);
        ///
-private:
+       MapType extra_;
        ///
        InsetExternalParams params_;
        ///