35#include <core/config.h>
54 MainForm( QApplication * pQApplication, QString sSongFilename );
57 virtual void errorEvent(
int nErrorCode )
override;
228 setFixedSize( w, h );
282 bool eventFilter( QObject *o, QEvent *e )
override;
288 #ifdef H2CORE_HAVE_LASH
289 QTimer *lashPollTimer;
320 void openSongWithDialog(
const QString& sWindowTitle,
const QString& sPath,
bool bIsDemo );
Changes
Bitwise or-able options showing which part of the Preferences were altered using the PreferencesDialo...
void startPlaybackAtCursor(QObject *pObject)
Relocates to current position of the cursor and starts playback if the transport isn't rolling yet.
void onBPMMinusAccelEvent()
void action_file_save_as()
Project > Save As / Export from Session handling function.
QAction * m_pRecentFileAction4
void update_instrument_checkbox(bool show)
virtual void errorEvent(int nErrorCode) override
bool handleSelectNextPrevSongOnPlaylist(int step)
void action_window_showTimeline()
void action_debug_logLevel_warn()
void action_file_export_lilypond()
void action_debug_logLevel_debug()
void action_window_showPatternEditor()
QAction * m_pViewTimelineAction
void action_file_export_pattern_as(int nPatternRow=-1)
void closeAll()
Wrapper around savePreferences() and quit() method of m_pQApp.
void action_debug_logLevel_error()
bool eventFilter(QObject *o, QEvent *e) override
QAction * m_pRecentFileAction0
void savePreferences()
Stores the current state of the GUI (position, width, height, and visibility of the widgets) in the H...
void onFixMissingSamples()
QMenu * m_pRecentFilesMenu
void action_window_showAutomationArea()
void action_debug_showFilesystemInfo()
void updateRecentUsedSongList()
void action_file_open()
Project > Open / Import into Session handling function.
void action_window_showSongEditor()
Shows the song editor.
QAction * m_pViewPlaybackTrackAction
std::map< int, int > keycodeInstrumentMap
void action_instruments_importLibrary()
void action_file_open_recent(QAction *pAction)
void action_banks_properties()
void onRestartAccelEvent()
void checkMissingSamples()
void action_debug_printObjects()
print the object map
void action_window_showPlaylistDialog()
QString getAutoSaveFilename()
void action_inputMode_instrument()
void update_automation_checkbox()
QAction * m_pViewPlaylistEditorAction
void action_file_export()
QAction * m_pRecentFileAction1
void action_instruments_addInstrument()
void createMenuBar()
Create the menubar.
virtual void updatePreferencesEvent(int nValue) override
Handles the loading and saving of the H2Core::Preferences from the core part of H2Core::Hydrogen.
MainForm(QApplication *pQApplication, QString sSongFilename)
void update_mixer_checkbox()
virtual void quitEvent(int) override
void onPlayStopAccelEvent()
bool action_file_exit()
return true if the app needs to be closed.
void action_file_new()
Project > New handling function.
void onPreferencesChanged(H2Core::Preferences::Changes changes)
void closeEvent(QCloseEvent *ev) override
Window close event.
virtual void updateSongEvent(int nValue) override
void action_debug_logLevel_none()
QAction * m_pDrumkitAction
virtual void undoRedoActionEvent(int nEvent) override
void action_instruments_exportLibrary()
bool prepareSongOpening()
virtual void jacksessionEvent(int nValue) override
QAction * m_pInstrumentAction
void action_instruments_onlineImportLibrary()
void startAutosaveTimer()
debug only
void update_playback_track_group()
void openSongWithDialog(const QString &sWindowTitle, const QString &sPath, bool bIsDemo)
QMenu * m_pInstrumentsMenu
void action_instruments_saveAsLibrary()
QAction * m_pRecentFileAction3
void update_director_checkbox()
QAction * m_pViewMixerAction
void functionDeleteInstrument(int nInstrument)
void action_instruments_clearAll()
void action_window_showMixer()
void action_instruments_saveLibrary()
void setMainWindowSize(int w, int h)
InfoBar * m_pMidiSetupInfoBar
QString m_sPreviousAutoSaveFilename
Since the filename of the current song does change whenever the users uses "Save As" multiple autosav...
void update_playlist_checkbox()
void onPlaylistDisplayTimer()
void action_window_showInstrumentRack()
void action_instruments_addComponent()
void action_inputMode_drumkit()
QAction * m_pViewDirectorAction
void checkNecessaryDirectories()
void action_file_openDemo()
QAction * m_pViewAutomationPathAction
void showPreferencesDialog()
void editDrumkitProperties(bool bDrumkitNameLocked)
InfoBar * m_pMissingSamplesInfoBar
bool handleUnsavedChanges()
void action_window_toggleFullscreen()
void action_debug_openLogfile()
void action_file_export_midi()
void action_file_openPattern()
QAction * m_pViewMixerInstrumentRackAction
void action_debug_showAudioEngineInfo()
void action_window_showPlaybackTrack()
void action_window_show_DirectorWidget()
virtual void playlistLoadSongEvent(int nIndex) override
void onBPMPlusAccelEvent()
QAction * m_pRecentFileAction2
static void usr1SignalHandler(int unused)
void action_file_songProperties()
QActionGroup * m_pViewPlaybackTrackActionGroup
void action_debug_logLevel_info()