GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::enter_shortcut Class Reference

#include "shortcut-manager.h"

Inheritance diagram for octave::enter_shortcut:
Collaboration diagram for octave::enter_shortcut:

Public Slots

void handle_direct_shortcut (int)
 
void handle_shift_modifier (int)
 

Public Member Functions

 enter_shortcut (QWidget *p=nullptr)
 
 ~enter_shortcut (void)=default
 
virtual void keyPressEvent (QKeyEvent *e)
 

Private Attributes

bool m_direct_shortcut
 
bool m_shift_modifier
 

Detailed Description

Definition at line 40 of file shortcut-manager.h.

Constructor & Destructor Documentation

◆ enter_shortcut()

octave::enter_shortcut::enter_shortcut ( QWidget p = nullptr)

Definition at line 56 of file shortcut-manager.cc.

References m_direct_shortcut, and m_shift_modifier.

◆ ~enter_shortcut()

octave::enter_shortcut::~enter_shortcut ( void  )
default

Member Function Documentation

◆ handle_direct_shortcut

void octave::enter_shortcut::handle_direct_shortcut ( int  state)
slot

Definition at line 98 of file shortcut-manager.cc.

References m_direct_shortcut, and octave::state.

◆ handle_shift_modifier

void octave::enter_shortcut::handle_shift_modifier ( int  state)
slot

Definition at line 107 of file shortcut-manager.cc.

References m_shift_modifier, and octave::state.

◆ keyPressEvent()

void octave::enter_shortcut::keyPressEvent ( QKeyEvent *  e)
virtual

Definition at line 63 of file shortcut-manager.cc.

References CTRL, m_direct_shortcut, and m_shift_modifier.

Member Data Documentation

◆ m_direct_shortcut

bool octave::enter_shortcut::m_direct_shortcut
private

Definition at line 59 of file shortcut-manager.h.

Referenced by enter_shortcut(), handle_direct_shortcut(), and keyPressEvent().

◆ m_shift_modifier

bool octave::enter_shortcut::m_shift_modifier
private

Definition at line 60 of file shortcut-manager.h.

Referenced by enter_shortcut(), handle_shift_modifier(), and keyPressEvent().


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