]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiTabular.h
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / GuiTabular.h
index 8b32715b26182a2cbee81003dc6cd271a9529ae5..9a5c8e758fd658438a7151c27a9557c5f4f315cf 100644 (file)
 namespace lyx {
 namespace frontend {
 
-class GuiTabular : public GuiDialog, public Ui::TabularUi, public Controller
+class GuiTabular : public GuiDialog, public Ui::TabularUi
 {
        Q_OBJECT
 
 public:
-       GuiTabular(LyXView & lv);
+       GuiTabular(GuiView & lv);
        ~GuiTabular();
 
 private Q_SLOTS:
@@ -67,12 +67,9 @@ private Q_SLOTS:
        void ltLastFooterBorderAbove_clicked();
        void ltLastFooterBorderBelow_clicked();
        void ltLastFooterEmpty_clicked();
+       void on_captionStatusCB_toggled();
 
 private:
-       ///
-       void closeEvent(QCloseEvent * e);
-       /// parent controller
-       Controller & controller() { return *this; }
        ///
        bool isValid() { return true; }
        /// update borders
@@ -90,7 +87,7 @@ private:
        ///
        bool isBufferDependent() const { return true; }
        ///
-       kb_action getLfun() const { return LFUN_TABULAR_FEATURE; }
+       FuncCode getLfun() const { return LFUN_TABULAR_FEATURE; }
 
        ///
        Tabular::idx_type getActiveCell() const;
@@ -99,12 +96,6 @@ private:
        /// set a parameter
        void set(Tabular::Feature, std::string const & arg = std::string());
 
-       /// borders
-       void toggleTopLine();
-       void toggleBottomLine();
-       void toggleLeftLine();
-       void toggleRightLine();
-
        void setSpecial(std::string const & special);
 
        void setWidth(std::string const & width);