swift
Loading...
Searching...
No Matches
swift::gui::CShortcut Class Reference

Shortcut definitions to avoid duplicated shortcut defintions. More...

#include <shortcut.h>

Public Member Functions

 CShortcut ()=delete
 No constructor.

Static Public Member Functions

static const QKeySequence & keyStash ()
 For stashing models.
static const QKeySequence & keyAddToModelSet ()
 Add to model set.
static const QKeySequence & keyClearSelection ()
 For deselecting all.
static const QKeySequence & keySelectAll ()
 For selecting all.
static const QKeySequence & keyDisplayFilter ()
 Display filter.
static const QKeySequence & keyResizeView ()
 Resize view.
static const QKeySequence & keySave ()
 Save depending on context.
static const QKeySequence & keySaveViews ()
 Save in views.
static const QKeySequence & keyDelete ()
 Delete, e.g. selected rows.
static const QKeySequence & keyEscape ()
 Escape.
static const QKeySequence & keyCopy ()
 Copy.
static const QKeySequence & keyFontPlus ()
 Font plus.
static const QKeySequence & keyFontMinus ()
 Font minus.
static const QKeySequence & keyFontReset ()
 Font reset.
static QString toParenthesisString (const QKeySequence &sequence)
 As string for menus etc. Looks like "(CTRL + R)".

Detailed Description

Shortcut definitions to avoid duplicated shortcut defintions.

Definition at line 19 of file shortcut.h.

Member Function Documentation

◆ keyAddToModelSet()

const QKeySequence & swift::gui::CShortcut::keyAddToModelSet ( )
static

Add to model set.

Definition at line 18 of file shortcut.cpp.

◆ keyClearSelection()

const QKeySequence & swift::gui::CShortcut::keyClearSelection ( )
static

For deselecting all.

Definition at line 24 of file shortcut.cpp.

◆ keyCopy()

const QKeySequence & swift::gui::CShortcut::keyCopy ( )
static

Copy.

Definition at line 73 of file shortcut.cpp.

◆ keyDelete()

const QKeySequence & swift::gui::CShortcut::keyDelete ( )
static

Delete, e.g. selected rows.

Definition at line 61 of file shortcut.cpp.

◆ keyDisplayFilter()

const QKeySequence & swift::gui::CShortcut::keyDisplayFilter ( )
static

Display filter.

Definition at line 36 of file shortcut.cpp.

◆ keyEscape()

const QKeySequence & swift::gui::CShortcut::keyEscape ( )
static

Escape.

Definition at line 67 of file shortcut.cpp.

◆ keyFontMinus()

const QKeySequence & swift::gui::CShortcut::keyFontMinus ( )
static

Font minus.

Definition at line 85 of file shortcut.cpp.

◆ keyFontPlus()

const QKeySequence & swift::gui::CShortcut::keyFontPlus ( )
static

Font plus.

Definition at line 79 of file shortcut.cpp.

◆ keyFontReset()

const QKeySequence & swift::gui::CShortcut::keyFontReset ( )
static

Font reset.

Definition at line 91 of file shortcut.cpp.

◆ keyResizeView()

const QKeySequence & swift::gui::CShortcut::keyResizeView ( )
static

Resize view.

Definition at line 42 of file shortcut.cpp.

◆ keySave()

const QKeySequence & swift::gui::CShortcut::keySave ( )
static

Save depending on context.

Definition at line 48 of file shortcut.cpp.

◆ keySaveViews()

const QKeySequence & swift::gui::CShortcut::keySaveViews ( )
static

Save in views.

Definition at line 54 of file shortcut.cpp.

◆ keySelectAll()

const QKeySequence & swift::gui::CShortcut::keySelectAll ( )
static

For selecting all.

Definition at line 30 of file shortcut.cpp.

◆ keyStash()

const QKeySequence & swift::gui::CShortcut::keyStash ( )
static

For stashing models.

Definition at line 12 of file shortcut.cpp.

◆ toParenthesisString()

QString swift::gui::CShortcut::toParenthesisString ( const QKeySequence & sequence)
static

As string for menus etc. Looks like "(CTRL + R)".

Definition at line 97 of file shortcut.cpp.


The documentation for this class was generated from the following files: