Audacity 3.2.0
Namespaces | Macros | Functions | Variables
KeyConfigPrefs.cpp File Reference
#include "KeyConfigPrefs.h"
#include <wx/setup.h>
#include <wx/defs.h>
#include <wx/ffile.h>
#include <wx/menu.h>
#include <wx/button.h>
#include <wx/radiobut.h>
#include <wx/stattext.h>
#include <wx/statbox.h>
#include <wx/textctrl.h>
#include "ActiveProject.h"
#include "MenuCreator.h"
#include "Prefs.h"
#include "Project.h"
#include "../ProjectWindows.h"
#include "XMLFileReader.h"
#include "SelectFile.h"
#include "ShuttleGui.h"
#include "FileNames.h"
#include "../widgets/BasicMenu.h"
#include "../widgets/KeyView.h"
#include "AudacityMessageBox.h"
#include "wxWidgetsWindowPlacement.h"
Include dependency graph for KeyConfigPrefs.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{KeyConfigPrefs.cpp}
 

Macros

#define AssignDefaultsButtonID   17001
 
#define CurrentComboID   17002
 
#define SetButtonID   17003
 
#define ClearButtonID   17004
 
#define CommandsListID   17005
 
#define ExportButtonID   17006
 
#define ImportButtonID   17007
 
#define FilterID   17008
 
#define ViewByTreeID   17009
 
#define ViewByNameID   17010
 
#define ViewByKeyID   17011
 
#define FilterTimerID   17012
 
#define EMPTY_SHORTCUT   ("")
 
#define NO_SHORTCUT   (wxString)((wxChar)7)
 

Functions

PrefsPanel::Factory KeyConfigPrefsFactory (const CommandID &name)
 

Variables

PrefsPanel::Registration anonymous_namespace{KeyConfigPrefs.cpp}::sAttachment
 

Macro Definition Documentation

◆ AssignDefaultsButtonID

#define AssignDefaultsButtonID   17001

Definition at line 57 of file KeyConfigPrefs.cpp.

◆ ClearButtonID

#define ClearButtonID   17004

Definition at line 60 of file KeyConfigPrefs.cpp.

◆ CommandsListID

#define CommandsListID   17005

Definition at line 61 of file KeyConfigPrefs.cpp.

◆ CurrentComboID

#define CurrentComboID   17002

Definition at line 58 of file KeyConfigPrefs.cpp.

◆ EMPTY_SHORTCUT

#define EMPTY_SHORTCUT   ("")

Definition at line 71 of file KeyConfigPrefs.cpp.

◆ ExportButtonID

#define ExportButtonID   17006

Definition at line 62 of file KeyConfigPrefs.cpp.

◆ FilterID

#define FilterID   17008

Definition at line 64 of file KeyConfigPrefs.cpp.

◆ FilterTimerID

#define FilterTimerID   17012

Definition at line 68 of file KeyConfigPrefs.cpp.

◆ ImportButtonID

#define ImportButtonID   17007

Definition at line 63 of file KeyConfigPrefs.cpp.

◆ NO_SHORTCUT

#define NO_SHORTCUT   (wxString)((wxChar)7)

Definition at line 73 of file KeyConfigPrefs.cpp.

◆ SetButtonID

#define SetButtonID   17003

Definition at line 59 of file KeyConfigPrefs.cpp.

◆ ViewByKeyID

#define ViewByKeyID   17011

Definition at line 67 of file KeyConfigPrefs.cpp.

◆ ViewByNameID

#define ViewByNameID   17010

Definition at line 66 of file KeyConfigPrefs.cpp.

◆ ViewByTreeID

#define ViewByTreeID   17009

Definition at line 65 of file KeyConfigPrefs.cpp.

Function Documentation

◆ KeyConfigPrefsFactory()

PrefsPanel::Factory KeyConfigPrefsFactory ( const CommandID name = {})

A PrefsPanel::Factory that creates one KeyConfigPrefs panel. This factory can be parametrized by name, which specifies a command to be focused initially

Definition at line 937 of file KeyConfigPrefs.cpp.

938{
939 return [=](wxWindow *parent, wxWindowID winid, AudacityProject *pProject)
940 {
941 wxASSERT(parent); // to justify safenew
942 auto result = safenew KeyConfigPrefs{ parent, winid, pProject, name };
943 return result;
944 };
945}
const TranslatableString name
Definition: Distortion.cpp:76
#define safenew
Definition: MemoryX.h:9
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A PrefsPanel for keybindings.

References name, and safenew.

Referenced by AudacityApp::InitPart2().

Here is the caller graph for this function: