#include "support/strfwd.h"
#include <QMainWindow>
+#include <QMenu>
class QCloseEvent;
class QDragEnterEvent;
class QDropEvent;
class QLabel;
-class QMenu;
class QShowEvent;
void clearMessage();
///
void updateWindowTitle(GuiWorkArea * wa);
+ ///
+ void disableShellEscape();
private Q_SLOTS:
///
/// Request to give focus to minibuffer
bool minibuffer_focus_;
+ /// Statusbar widget that shows shell-escape status
+ QLabel * shell_escape_;
/// Statusbar widget that shows read-only status
QLabel * read_only_;
/// Statusbar widget that shows version control status
QLabel * version_control_;
+ /// The rate from which the actual zoom value is calculated
+ /// from the default zoom pref
+ double zoom_ratio_ = 1.0;
/// Minimum zoom percentage
static int const zoom_min_ = 10;
bool devel_mode_;
};
+
+class SEMenu : public QMenu
+{
+ Q_OBJECT
+public:
+ explicit SEMenu(QWidget * parent);
+
+public Q_SLOTS:
+ void showMenu(QPoint const &) { exec(QCursor::pos()); }
+};
+
} // namespace frontend
} // namespace lyx