lmms
Cross-platform music production software
Loading...
Searching...
No Matches
lmms::gui::GuiApplication Class Reference

#include <GuiApplication.h>

Inheritance diagram for lmms::gui::GuiApplication:

Public Slots

void displayInitProgress (const QString &msg)

Public Member Functions

 GuiApplication ()
 ~GuiApplication () override
void createSocketNotifier ()
MainWindow * mainWindow ()
MixerView * mixerView ()
SongEditorWindow * songEditor ()
PatternEditorWindow * patternEditor ()
PianoRollWindow * pianoRoll ()
ProjectNotes * getProjectNotes ()
MicrotunerConfig * getMicrotunerConfig ()
AutomationEditorWindow * automationEditor ()
ControllerRackView * getControllerRackView ()

Static Public Member Functions

static GuiApplication * instance ()
static void sigintHandler (int)
 Called from main when SIGINT is fired.
static bool isWayland ()

Static Public Attributes

static int s_sigintFd [2]
 File descriptors for unix socketpair, used to receive SIGINT.

Private Slots

void childDestroyed (QObject *obj)
void sigintOccurred ()

Private Attributes

MainWindow * m_mainWindow
MixerView * m_mixerView
SongEditorWindow * m_songEditor
AutomationEditorWindow * m_automationEditor
PatternEditorWindow * m_patternEditor
PianoRollWindow * m_pianoRoll
ProjectNotes * m_projectNotes
MicrotunerConfig * m_microtunerConfig
ControllerRackView * m_controllerRackView
QLabel * m_loadingProgressLabel
QSocketNotifier * m_sigintNotifier

Static Private Attributes

static GuiApplication * s_instance = nullptr

Constructor & Destructor Documentation

◆ GuiApplication()

lmms::gui::GuiApplication::GuiApplication ( )
explicit

◆ ~GuiApplication()

lmms::gui::GuiApplication::~GuiApplication ( )
override

Member Function Documentation

◆ automationEditor()

AutomationEditorWindow * lmms::gui::GuiApplication::automationEditor ( )
inline

◆ childDestroyed

void lmms::gui::GuiApplication::childDestroyed ( QObject * obj)
privateslot

◆ createSocketNotifier()

void lmms::gui::GuiApplication::createSocketNotifier ( )

◆ displayInitProgress

void lmms::gui::GuiApplication::displayInitProgress ( const QString & msg)
slot

◆ getControllerRackView()

ControllerRackView * lmms::gui::GuiApplication::getControllerRackView ( )
inline

◆ getMicrotunerConfig()

MicrotunerConfig * lmms::gui::GuiApplication::getMicrotunerConfig ( )
inline

◆ getProjectNotes()

ProjectNotes * lmms::gui::GuiApplication::getProjectNotes ( )
inline

◆ instance()

GuiApplication * lmms::gui::GuiApplication::instance ( )
static

◆ isWayland()

bool lmms::gui::GuiApplication::isWayland ( )
static

◆ mainWindow()

MainWindow * lmms::gui::GuiApplication::mainWindow ( )
inline

◆ mixerView()

MixerView * lmms::gui::GuiApplication::mixerView ( )
inline

◆ patternEditor()

PatternEditorWindow * lmms::gui::GuiApplication::patternEditor ( )
inline

◆ pianoRoll()

PianoRollWindow * lmms::gui::GuiApplication::pianoRoll ( )
inline

◆ sigintHandler()

void lmms::gui::GuiApplication::sigintHandler ( int )
static

Called from main when SIGINT is fired.

Unix signal handlers can only call async-signal-safe functions: write(fd) -> QSocketNotifier -> SLOT sigintOccurred()

See also
https://doc.qt.io/qt-6/unix-signals.html

◆ sigintOccurred

void lmms::gui::GuiApplication::sigintOccurred ( )
privateslot

◆ songEditor()

SongEditorWindow * lmms::gui::GuiApplication::songEditor ( )
inline

Member Data Documentation

◆ m_automationEditor

AutomationEditorWindow* lmms::gui::GuiApplication::m_automationEditor
private

◆ m_controllerRackView

ControllerRackView* lmms::gui::GuiApplication::m_controllerRackView
private

◆ m_loadingProgressLabel

QLabel* lmms::gui::GuiApplication::m_loadingProgressLabel
private

◆ m_mainWindow

MainWindow* lmms::gui::GuiApplication::m_mainWindow
private

◆ m_microtunerConfig

MicrotunerConfig* lmms::gui::GuiApplication::m_microtunerConfig
private

◆ m_mixerView

MixerView* lmms::gui::GuiApplication::m_mixerView
private

◆ m_patternEditor

PatternEditorWindow* lmms::gui::GuiApplication::m_patternEditor
private

◆ m_pianoRoll

PianoRollWindow* lmms::gui::GuiApplication::m_pianoRoll
private

◆ m_projectNotes

ProjectNotes* lmms::gui::GuiApplication::m_projectNotes
private

◆ m_sigintNotifier

QSocketNotifier* lmms::gui::GuiApplication::m_sigintNotifier
private

◆ m_songEditor

SongEditorWindow* lmms::gui::GuiApplication::m_songEditor
private

◆ s_instance

GuiApplication * lmms::gui::GuiApplication::s_instance = nullptr
staticprivate

◆ s_sigintFd

int lmms::gui::GuiApplication::s_sigintFd[2]
inlinestatic

File descriptors for unix socketpair, used to receive SIGINT.


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