X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiIndices.h;h=efaec8354f7884a9a3f12da939467aa05c2e7519;hb=b6eacd8d4f86734e8abef3335b190ce12a6a11b5;hp=7e833edb422406ca779f1bb02e30d84e1e387d75;hpb=9be7c2a0ec2eaa1a86144c3b7bab219a95abc625;p=lyx.git diff --git a/src/frontends/qt4/GuiIndices.h b/src/frontends/qt4/GuiIndices.h index 7e833edb42..efaec8354f 100644 --- a/src/frontends/qt4/GuiIndices.h +++ b/src/frontends/qt4/GuiIndices.h @@ -33,7 +33,7 @@ class GuiIndices : public QWidget, public Ui::IndicesUi public: GuiIndices(QWidget * parent = 0); - void update(BufferParams const & params); + void update(BufferParams const & params, bool const readonly); void apply(BufferParams & params) const; Q_SIGNALS: @@ -45,7 +45,8 @@ protected: protected Q_SLOTS: void on_indexCO_activated(int n); - void on_indexOptionsED_textChanged(QString); + void on_newIndexLE_textChanged(QString); + void on_indexOptionsLE_textChanged(QString); void on_addIndexPB_pressed(); void on_renamePB_clicked(); void on_removePB_pressed(); @@ -55,8 +56,14 @@ protected Q_SLOTS: void on_multipleIndicesCB_toggled(bool); private: + /// + void updateWidgets(); /// Contains all legal indices for this doc IndicesList indiceslist_; + /// + bool readonly_; + /// + bool use_indices_; }; } // namespace frontend