BibleTime
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
BtShortcutsEditor Class Reference

#include <btshortcutseditor.h>

Inheritance diagram for BtShortcutsEditor:

Signals

void keyChangeRequest (QString const &actionName, QKeySequence const &keys)
 

Public Member Functions

 BtShortcutsEditor (BtActionCollection *collection, QWidget *parent)
 
void changeShortcutInDialog (QKeySequence const &keys)
 
void clearConflictWithKeys (QKeySequence const &keys)
 
void commitChanges ()
 
QString findConflictWithKeys (QKeySequence const &keys) const
 

Private Slots

void customButtonClicked (bool checked)
 
void defaultButtonClicked (bool checked)
 
void noneButtonClicked (bool checked)
 
void slotSelectionChanged ()
 

Private Attributes

int m_currentRow
 
QRadioButton * m_customButton
 
QPushButton * m_customPushButton
 
QRadioButton * m_defaultButton
 
QLabel * m_defaultLabelValue
 
BtShortcutsDialogm_dlg
 
QRadioButton * m_noneButton
 
QGroupBox * m_shortcutChooser
 
QTableWidget * m_table
 

Detailed Description

Definition at line 31 of file btshortcutseditor.h.

Constructor & Destructor Documentation

◆ BtShortcutsEditor()

BtShortcutsEditor::BtShortcutsEditor ( BtActionCollection collection,
QWidget parent 
)

Member Function Documentation

◆ changeShortcutInDialog()

void BtShortcutsEditor::changeShortcutInDialog ( QKeySequence const &  keys)

Definition at line 352 of file btshortcutseditor.cpp.

References BtShortcutsDialog::changeSelectedShortcut(), and m_dlg.

◆ clearConflictWithKeys()

void BtShortcutsEditor::clearConflictWithKeys ( QKeySequence const &  keys)

◆ commitChanges()

void BtShortcutsEditor::commitChanges ( )

◆ customButtonClicked

void BtShortcutsEditor::customButtonClicked ( bool  checked)
privateslot

◆ defaultButtonClicked

void BtShortcutsEditor::defaultButtonClicked ( bool  checked)
privateslot

◆ findConflictWithKeys()

QString BtShortcutsEditor::findConflictWithKeys ( QKeySequence const &  keys) const

Definition at line 373 of file btshortcutseditor.cpp.

References m_table.

◆ keyChangeRequest

void BtShortcutsEditor::keyChangeRequest ( QString const &  actionName,
QKeySequence const &  keys 
)
signal

◆ noneButtonClicked

void BtShortcutsEditor::noneButtonClicked ( bool  checked)
privateslot

◆ slotSelectionChanged

void BtShortcutsEditor::slotSelectionChanged ( )
privateslot

Member Data Documentation

◆ m_currentRow

int BtShortcutsEditor::m_currentRow
private

◆ m_customButton

QRadioButton* BtShortcutsEditor::m_customButton
private

Definition at line 75 of file btshortcutseditor.h.

Referenced by BtShortcutsEditor(), and slotSelectionChanged().

◆ m_customPushButton

QPushButton* BtShortcutsEditor::m_customPushButton
private

◆ m_defaultButton

QRadioButton* BtShortcutsEditor::m_defaultButton
private

Definition at line 74 of file btshortcutseditor.h.

Referenced by BtShortcutsEditor(), and slotSelectionChanged().

◆ m_defaultLabelValue

QLabel* BtShortcutsEditor::m_defaultLabelValue
private

Definition at line 77 of file btshortcutseditor.h.

Referenced by BtShortcutsEditor(), and slotSelectionChanged().

◆ m_dlg

BtShortcutsDialog* BtShortcutsEditor::m_dlg
private

◆ m_noneButton

QRadioButton* BtShortcutsEditor::m_noneButton
private

Definition at line 73 of file btshortcutseditor.h.

Referenced by BtShortcutsEditor(), and slotSelectionChanged().

◆ m_shortcutChooser

QGroupBox* BtShortcutsEditor::m_shortcutChooser
private

Definition at line 72 of file btshortcutseditor.h.

Referenced by BtShortcutsEditor().

◆ m_table

QTableWidget* BtShortcutsEditor::m_table
private

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