action_view_zoom_fit_(new QAction(this)),
action_view_zoom_one_to_one_(new QAction(this)),
action_view_sticky_scrolling_(new QAction(this)),
+ action_view_coloured_bg_(new QAction(this)),
action_view_show_cursors_(new QAction(this)),
action_about_(new QAction(this))
#ifdef ENABLE_DECODE
menu_view->addSeparator();
+ action_view_coloured_bg_->setCheckable(true);
+ action_view_coloured_bg_->setChecked(true);
+ action_view_coloured_bg_->setShortcut(QKeySequence(Qt::Key_S));
+ action_view_coloured_bg_->setObjectName(
+ QString::fromUtf8("actionViewColouredBg"));
+ action_view_coloured_bg_->setText(tr("Use &coloured backgrounds"));
+ menu_view->addAction(action_view_coloured_bg_);
+
+ menu_view->addSeparator();
+
action_view_show_cursors_->setCheckable(true);
action_view_show_cursors_->setChecked(view_->cursors_shown());
action_view_show_cursors_->setIcon(QIcon::fromTheme("show-cursors",
view_->enable_sticky_scrolling(action_view_sticky_scrolling_->isChecked());
}
+void MainWindow::on_actionViewColouredBg_triggered()
+{
+}
+
void MainWindow::on_actionViewShowCursors_triggered()
{
assert(view_);
QAction* action_view_zoom_fit() const;
QAction* action_view_zoom_one_to_one() const;
QAction* action_view_sticky_scrolling() const;
+ QAction* action_view_coloured_bg() const;
QAction* action_view_show_cursors() const;
QAction* action_about() const;
void on_actionViewStickyScrolling_triggered();
+ void on_actionViewColouredBg_triggered();
+
void on_actionViewShowCursors_triggered();
void on_actionAbout_triggered();
QAction *const action_view_zoom_fit_;
QAction *const action_view_zoom_one_to_one_;
QAction *const action_view_sticky_scrolling_;
+ QAction *const action_view_coloured_bg_;
QAction *const action_view_show_cursors_;
QAction *const action_about_;