]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiTabular.h
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / GuiTabular.h
index bd045b4383be368b9f92c4ade71e2c26e4ed0d9b..1d90afa60445f1f3938034432c2350a27b0fe297 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "InsetParamsWidget.h"
 #include "ui_TabularUi.h"
+#include "insets/InsetTabular.h"
 
 namespace lyx {
 namespace frontend {
@@ -32,6 +33,9 @@ private Q_SLOTS:
        void checkEnabled();
        void borderSet_clicked();
        void borderUnset_clicked();
+       void on_topspaceCO_activated(int index);
+       void on_bottomspaceCO_activated(int index);
+       void on_interlinespaceCO_activated(int index);
 
 private:
        /// \name InsetParamsWidget inherited methods
@@ -49,10 +53,13 @@ private:
        ///
        void setTableAlignment(std::string & param_str) const;
        ///
-       bool left_border_set_;
-       bool right_border_set_;
-       bool top_border_set_;
-       bool bottom_border_set_;
+       void setWidthAndAlignment();
+       ///
+       bool funcEnabled(Tabular::Feature f) const;
+       ///
+       bool firstheader_suppressable_;
+       ///
+       bool lastfooter_suppressable_;
 };
 
 } // namespace frontend