#ifndef QSEARCHADV_H
#define QSEARCHADV_H
-#include "GuiWorkArea.h"
-
#include "DockView.h"
+// This is needed so that ui_FindAndReplaceUi.h can find qt_()
+#include "qt_helpers.h"
#include "ui_FindAndReplaceUi.h"
-#include "BufferView.h"
-#include "Buffer.h"
-#include "LyX.h"
-#include "Text.h"
#include "lyxfind.h"
-#include <QDialog>
-
#include <string>
namespace lyx {
public:
FindAndReplaceWidget(GuiView & view);
bool initialiseParams(std::string const & params);
+ void updateGUI();
+
+public Q_SLOTS:
+ ///
+ void dockLocationChanged(Qt::DockWidgetArea area);
private:
///
bool initialiseParams(std::string const &);
void clearParams() {}
void dispatchParams() {}
- bool isBufferDependent() const { return true; }
+ bool isBufferDependent() const { return false; }
+ bool canApplyToReadOnly() const { return true; }
void selectAll();
/// update
- void updateView() {}
+ void updateView();
//virtual void update_contents() {}
protected: