// This is needed so that ui_FindAndReplaceUi.h can find qt_()
#include "qt_helpers.h"
#include "ui_FindAndReplaceUi.h"
+#include "support/docstring.h"
#include <string>
public:
FindAndReplaceWidget(GuiView & view);
bool initialiseParams(std::string const & params);
- void updateGUI();
+ void updateWorkAreas();
+ void updateButtons();
+
+ // return true if \c wa is one if the adv. F&R workareas
+ bool hasWorkArea(GuiWorkArea * wa) const;
public Q_SLOTS:
///
void hideDialog();
+ void setFormatIgnores(bool const b);
+
+ docstring const checkState(std::string const s, bool const b);
+
protected Q_SLOTS:
void on_findNextPB_clicked();
void on_replacePB_clicked();
void on_replaceallPB_clicked();
+ void on_searchbackCB_clicked();
+ void on_selectAllPB_clicked();
+ void on_deselectAllPB_clicked();
};
void dispatchParams() override {}
bool isBufferDependent() const override { return false; }
bool canApplyToReadOnly() const override { return true; }
+ bool hasWorkArea(GuiWorkArea * wa) const { return widget_->hasWorkArea(wa); }
void selectAll();
/// update