openshot-audio  0.1.7
Public Member Functions | Public Attributes | List of all members
KeyMappingEditorComponent::ChangeKeyButton::KeyEntryWindow Class Reference
Inheritance diagram for KeyMappingEditorComponent::ChangeKeyButton::KeyEntryWindow:
AlertWindow Button::Listener

Public Member Functions

 KeyEntryWindow (KeyMappingEditorComponent &kec)
 
bool keyPressed (const KeyPress &key) override
 
bool keyStateChanged (bool) override
 
- Public Member Functions inherited from AlertWindow
 AlertWindow (const String &title, const String &message, AlertIconType iconType, Component *associatedComponent=nullptr)
 
 ~AlertWindow ()
 
AlertIconType getAlertType () const noexcept
 
void setMessage (const String &message)
 
void addButton (const String &name, int returnValue, const KeyPress &shortcutKey1=KeyPress(), const KeyPress &shortcutKey2=KeyPress())
 
int getNumButtons () const
 
void triggerButtonClick (const String &buttonName)
 
void setEscapeKeyCancels (bool shouldEscapeKeyCancel)
 
void addTextEditor (const String &name, const String &initialContents, const String &onScreenLabel=String::empty, bool isPasswordBox=false)
 
String getTextEditorContents (const String &nameOfTextEditor) const
 
TextEditorgetTextEditor (const String &nameOfTextEditor) const
 
void addComboBox (const String &name, const StringArray &items, const String &onScreenLabel=String::empty)
 
ComboBoxgetComboBoxComponent (const String &nameOfList) const
 
void addTextBlock (const String &text)
 
void addProgressBarComponent (double &progressValue)
 
void addCustomComponent (Component *component)
 
int getNumCustomComponents () const
 
ComponentgetCustomComponent (int index) const
 
ComponentremoveCustomComponent (int index)
 
bool containsAnyExtraComponents () const
 

Public Attributes

KeyPress lastPress
 

Additional Inherited Members

- Public Types inherited from AlertWindow
enum  AlertIconType { NoIcon, QuestionIcon, WarningIcon, InfoIcon }
 
enum  ColourIds { backgroundColourId = 0x1001800, textColourId = 0x1001810, outlineColourId = 0x1001820 }
 
- Static Public Member Functions inherited from AlertWindow
static void JUCE_CALLTYPE showMessageBoxAsync (AlertIconType iconType, const String &title, const String &message, const String &buttonText=String::empty, Component *associatedComponent=nullptr, ModalComponentManager::Callback *callback=nullptr)
 
static bool JUCE_CALLTYPE showOkCancelBox (AlertIconType iconType, const String &title, const String &message, const String &button1Text, const String &button2Text, Component *associatedComponent, ModalComponentManager::Callback *callback)
 
static int JUCE_CALLTYPE showYesNoCancelBox (AlertIconType iconType, const String &title, const String &message, const String &button1Text, const String &button2Text, const String &button3Text, Component *associatedComponent, ModalComponentManager::Callback *callback)
 
- Protected Member Functions inherited from AlertWindow
void paint (Graphics &) override
 
void mouseDown (const MouseEvent &) override
 
void mouseDrag (const MouseEvent &) override
 
bool keyPressed (const KeyPress &) override
 
void buttonClicked (Button *) override
 
void lookAndFeelChanged () override
 
void userTriedToCloseWindow () override
 
int getDesktopWindowStyleFlags () const override
 

Constructor & Destructor Documentation

KeyMappingEditorComponent::ChangeKeyButton::KeyEntryWindow::KeyEntryWindow ( KeyMappingEditorComponent kec)
inline

Member Function Documentation

bool KeyMappingEditorComponent::ChangeKeyButton::KeyEntryWindow::keyPressed ( const KeyPress key)
inlineoverride
bool KeyMappingEditorComponent::ChangeKeyButton::KeyEntryWindow::keyStateChanged ( bool  )
inlineoverride

Member Data Documentation

KeyPress KeyMappingEditorComponent::ChangeKeyButton::KeyEntryWindow::lastPress

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