mirror of
https://github.com/KDE/konsole.git
synced 2026-02-05 04:41:35 -05:00
Add the context menu options to split the view left-right and top-bottom
FEATURE: 415724
This commit is contained in:
committed by
Kurt Hindenburg
parent
44501778fe
commit
d3fa26f65b
@@ -672,6 +672,14 @@ void SessionController::setupCommonActions()
|
||||
action->setVisible(false);
|
||||
connect(action, &QAction::triggered, this, &SessionController::copy);
|
||||
|
||||
action = collection->addAction(QStringLiteral("split-view-left-right"));
|
||||
action->setText(i18n("Split View Left-Right"));
|
||||
connect(action, &QAction::triggered, this, &SessionController::requestSplitViewLeftRight);
|
||||
|
||||
action = collection->addAction(QStringLiteral("split-view-top-bottom"));
|
||||
action->setText(i18n("Split View Top-Bottom"));
|
||||
connect(action, &QAction::triggered, this, &SessionController::requestSplitViewTopBotton);
|
||||
|
||||
action = collection->addAction(QStringLiteral("edit_copy_contextmenu_in_out"));
|
||||
action->setText(i18n("Copy except prompts"));
|
||||
action->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy")));
|
||||
|
||||
Reference in New Issue
Block a user