Changeset View
Changeset View
Standalone View
Standalone View
src/view/kateview.cpp
Context not available. | |||||
678 | a->setWhatsThis(i18n("This decreases the display font size.")); | 678 | a->setWhatsThis(i18n("This decreases the display font size.")); | ||
---|---|---|---|---|---|
679 | connect(a, SIGNAL(triggered(bool)), m_viewInternal, SLOT(slotDecFontSizes())); | 679 | connect(a, SIGNAL(triggered(bool)), m_viewInternal, SLOT(slotDecFontSizes())); | ||
680 | 680 | | |||
681 | a = ac->addAction(QStringLiteral("view_reset_font_sizes")); | ||||
682 | a->setIcon(QIcon::fromTheme(QStringLiteral("zoom-original"))); | ||||
683 | a->setText(i18n("Reset Font Size")); | ||||
684 | ac->setDefaultShortcuts(a, KStandardShortcut::shortcut(KStandardShortcut::ActualSize)); | ||||
685 | a->setWhatsThis(i18n("This resets the display font size.")); | ||||
686 | connect(a, SIGNAL(triggered(bool)), m_viewInternal, SLOT(slotResetFontSizes())); | ||||
687 | | ||||
681 | a = m_toggleBlockSelection = new KToggleAction(i18n("Bl&ock Selection Mode"), this); | 688 | a = m_toggleBlockSelection = new KToggleAction(i18n("Bl&ock Selection Mode"), this); | ||
682 | ac->addAction(QStringLiteral("set_verticalSelect"), a); | 689 | ac->addAction(QStringLiteral("set_verticalSelect"), a); | ||
683 | ac->setDefaultShortcut(a, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_B)); | 690 | ac->setDefaultShortcut(a, QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_B)); | ||
Context not available. |