/// updates the possible layouts selectable
virtual void updateLayoutChoice(bool force) = 0;
-
/// update the toolbar
virtual void updateToolbars() = 0;
/// get toolbar info
virtual void toggleToolbarState(std::string const & name, bool allowauto) = 0;
/// update the status bar
virtual void updateStatusBar() = 0;
-
/// display a message in the view
virtual void message(docstring const &) = 0;
- /// clear any temporary message and replace with current status
- virtual void clearMessage() = 0;
-
/// dispatch to current BufferView
virtual void dispatch(FuncRequest const & cmd) = 0;
/// returns true if this view has the focus.
virtual bool hasFocus() const = 0;
-
///
virtual void restartCursor() = 0;
#include "Action.h"
-#include "frontends/LyXView.h"
-
#include "debug.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "LyXAction.h"
#include "FuncRequest.h"
-#include "frontends/LyXView.h"
-
#include "support/lyxalgo.h"
#include "support/lstrings.h"
#include "gettext.h"
#include "TextClass.h"
-#include "frontends/LyXView.h"
-
#include "support/convert.h"
#include <algorithm>
statusBar()->setSizeGripEnabled(true);
QObject::connect(&statusbar_timer_, SIGNAL(timeout()),
- this, SLOT(update_view_state_qt()));
+ this, SLOT(clearMessage()));
d.setBackground();
}
}
-void GuiView::clearMessage()
-{
- update_view_state_qt();
-}
-
-
void GuiView::setIconSize(unsigned int size)
{
d.lastIconSize = size;
}
-void GuiView::update_view_state_qt()
+void GuiView::clearMessage()
{
if (!hasFocus())
return;
GuiToolbar * makeToolbar(ToolbarInfo const & tbinfo, bool newline);
virtual void updateStatusBar();
virtual void message(docstring const & str);
- virtual void clearMessage();
virtual bool hasFocus() const;
void showMiniBuffer(bool);
void openMenu(docstring const &);
void closing(int);
public Q_SLOTS:
- /// idle timeout
- void update_view_state_qt();
+ /// idle timeout.
+ /// clear any temporary message and replace with current status.
+ void clearMessage();
///
void updateWindowTitle(GuiWorkArea * wa);
void bigSizedIcons();
private:
- friend GuiWorkArea;
+ friend class GuiWorkArea;
/// make sure we quit cleanly
virtual void closeEvent(QCloseEvent * e);
#ifndef INSERTTABLEWIDGET_H
#define INSERTTABLEWIDGET_H
-#include "frontends/LyXView.h"
#include <QWidget>
namespace lyx {
namespace frontend {
+class LyXView;
class InsertTableWidget : public QWidget {
Q_OBJECT