#include <MainWindow.h>
◆ SessionState
◆ MainWindow() [1/2]
| lmms::gui::MainWindow::MainWindow |
( |
| ) |
|
|
private |
◆ MainWindow() [2/2]
| lmms::gui::MainWindow::MainWindow |
( |
const MainWindow & | | ) |
|
|
private |
◆ ~MainWindow()
| lmms::gui::MainWindow::~MainWindow |
( |
| ) |
|
|
overrideprivate |
◆ aboutLMMS
| void lmms::gui::MainWindow::aboutLMMS |
( |
| ) |
|
|
slot |
◆ addSpacingToToolBar()
| void lmms::gui::MainWindow::addSpacingToToolBar |
( |
int | _size | ) |
|
◆ addWidgetToToolBar()
| int lmms::gui::MainWindow::addWidgetToToolBar |
( |
QWidget * | _w, |
|
|
int | _row = -1, |
|
|
int | _col = -1 ) |
◆ addWindowedWidget()
| SubWindow * lmms::gui::MainWindow::addWindowedWidget |
( |
QWidget * | w, |
|
|
Qt::WindowFlags | windowFlags = QFlag(0) ) |
◆ autoSave
| void lmms::gui::MainWindow::autoSave |
( |
| ) |
|
|
slot |
◆ autoSaveTimerReset()
◆ browseHelp
| void lmms::gui::MainWindow::browseHelp |
( |
| ) |
|
|
privateslot |
◆ clearKeyModifiers()
| void lmms::gui::MainWindow::clearKeyModifiers |
( |
| ) |
|
◆ closeEvent()
| void lmms::gui::MainWindow::closeEvent |
( |
QCloseEvent * | _ce | ) |
|
|
overrideprotected |
◆ createNewProject
| void lmms::gui::MainWindow::createNewProject |
( |
| ) |
|
|
slot |
◆ detachAllSubWindows
| void lmms::gui::MainWindow::detachAllSubWindows |
( |
bool | detached | ) |
|
|
signal |
◆ emptySlot
| void lmms::gui::MainWindow::emptySlot |
( |
| ) |
|
|
slot |
◆ eventFilter()
| bool lmms::gui::MainWindow::eventFilter |
( |
QObject * | watched, |
|
|
QEvent * | event ) |
|
override |
◆ exportProject()
| void lmms::gui::MainWindow::exportProject |
( |
bool | multiExport = false | ) |
|
|
private |
◆ finalize()
| void lmms::gui::MainWindow::finalize |
( |
| ) |
|
|
private |
◆ focusOutEvent()
| void lmms::gui::MainWindow::focusOutEvent |
( |
QFocusEvent * | _fe | ) |
|
|
overrideprotected |
◆ getAutoSaveTimerInterval()
| int lmms::gui::MainWindow::getAutoSaveTimerInterval |
( |
| ) |
|
|
inline |
◆ getSession()
◆ guiSaveProject()
| bool lmms::gui::MainWindow::guiSaveProject |
( |
| ) |
|
|
private |
◆ guiSaveProjectAs()
| bool lmms::gui::MainWindow::guiSaveProjectAs |
( |
const QString & | filename | ) |
|
|
private |
◆ handleSaveResult()
| void lmms::gui::MainWindow::handleSaveResult |
( |
QString const & | filename, |
|
|
bool | songSavedSuccessfully ) |
|
private |
◆ help
| void lmms::gui::MainWindow::help |
( |
| ) |
|
|
slot |
◆ initProgress
| void lmms::gui::MainWindow::initProgress |
( |
const QString & | msg | ) |
|
|
signal |
◆ isShiftPressed()
| bool lmms::gui::MainWindow::isShiftPressed |
( |
| ) |
|
|
inline |
◆ keyPressEvent()
| void lmms::gui::MainWindow::keyPressEvent |
( |
QKeyEvent * | _ke | ) |
|
|
overrideprotected |
◆ keyReleaseEvent()
| void lmms::gui::MainWindow::keyReleaseEvent |
( |
QKeyEvent * | _ke | ) |
|
|
overrideprotected |
◆ mayChangeProject()
| bool lmms::gui::MainWindow::mayChangeProject |
( |
bool | stopPlayback | ) |
|
Asks whether changes made to the project are to be saved.
Opens a dialog giving the user the choice to (a) confirm his choice (such as opening a new file), (b) save the current project before proceeding or (c) cancel the process.
Every function that replaces the current file (e.g. creates new file, opens another file...) must call this before and may only proceed if this function returns true.
- Parameters
-
| stopPlayback | whether playback should be stopped upon prompting. If set to false, the caller should ensure that Engine::getSong()->stop() is called before unloading/loading a song. |
- Returns
- true if the user allows the software to proceed, false if they cancel the action.
◆ onExportProject
| void lmms::gui::MainWindow::onExportProject |
( |
| ) |
|
|
privateslot |
◆ onExportProjectMidi
| void lmms::gui::MainWindow::onExportProjectMidi |
( |
| ) |
|
|
privateslot |
◆ onExportProjectTracks
| void lmms::gui::MainWindow::onExportProjectTracks |
( |
| ) |
|
|
privateslot |
◆ onImportProject
| void lmms::gui::MainWindow::onImportProject |
( |
| ) |
|
|
privateslot |
◆ onProjectFileNameChanged
| void lmms::gui::MainWindow::onProjectFileNameChanged |
( |
| ) |
|
|
privateslot |
◆ onSongModified
| void lmms::gui::MainWindow::onSongModified |
( |
| ) |
|
|
privateslot |
◆ onToggleMetronome
| void lmms::gui::MainWindow::onToggleMetronome |
( |
| ) |
|
|
privateslot |
◆ openProject
| void lmms::gui::MainWindow::openProject |
( |
| ) |
|
|
slot |
◆ periodicUpdate
| void lmms::gui::MainWindow::periodicUpdate |
( |
| ) |
|
|
signal |
◆ redo
| void lmms::gui::MainWindow::redo |
( |
| ) |
|
|
slot |
◆ refocus()
| void lmms::gui::MainWindow::refocus |
( |
| ) |
|
◆ resetWindowTitle
| void lmms::gui::MainWindow::resetWindowTitle |
( |
| ) |
|
|
slot |
◆ restoreWidgetState()
| void lmms::gui::MainWindow::restoreWidgetState |
( |
QWidget * | _w, |
|
|
const QDomElement & | _de ) |
|
static |
◆ saveProject
| bool lmms::gui::MainWindow::saveProject |
( |
| ) |
|
|
slot |
◆ saveProjectAs
| bool lmms::gui::MainWindow::saveProjectAs |
( |
| ) |
|
|
slot |
◆ saveProjectAsDefaultTemplate
| void lmms::gui::MainWindow::saveProjectAsDefaultTemplate |
( |
| ) |
|
|
slot |
◆ saveProjectAsNewVersion
| bool lmms::gui::MainWindow::saveProjectAsNewVersion |
( |
| ) |
|
|
slot |
◆ saveWidgetState()
| void lmms::gui::MainWindow::saveWidgetState |
( |
QWidget * | _w, |
|
|
QDomElement & | _de ) |
|
static |
◆ sessionCleanup()
| void lmms::gui::MainWindow::sessionCleanup |
( |
| ) |
|
◆ setAllSubWindowsDetached()
| void lmms::gui::MainWindow::setAllSubWindowsDetached |
( |
bool | detached | ) |
|
◆ setSession()
◆ showSettingsDialog
| void lmms::gui::MainWindow::showSettingsDialog |
( |
| ) |
|
|
slot |
◆ showTool
| void lmms::gui::MainWindow::showTool |
( |
QAction * | _idx | ) |
|
|
privateslot |
◆ timerEvent()
| void lmms::gui::MainWindow::timerEvent |
( |
QTimerEvent * | _ev | ) |
|
|
overrideprotected |
◆ toggleAutomationEditorWin
| void lmms::gui::MainWindow::toggleAutomationEditorWin |
( |
| ) |
|
|
slot |
◆ toggleControllerRack
| void lmms::gui::MainWindow::toggleControllerRack |
( |
| ) |
|
|
slot |
◆ toggleFullscreen
| void lmms::gui::MainWindow::toggleFullscreen |
( |
| ) |
|
|
slot |
◆ toggleMicrotunerWin
| void lmms::gui::MainWindow::toggleMicrotunerWin |
( |
| ) |
|
|
slot |
◆ toggleMixerWin
| void lmms::gui::MainWindow::toggleMixerWin |
( |
| ) |
|
|
slot |
◆ togglePatternEditorWin
| void lmms::gui::MainWindow::togglePatternEditorWin |
( |
bool | forceShow = false | ) |
|
|
slot |
◆ togglePianoRollWin
| void lmms::gui::MainWindow::togglePianoRollWin |
( |
| ) |
|
|
slot |
◆ toggleProjectNotesWin
| void lmms::gui::MainWindow::toggleProjectNotesWin |
( |
| ) |
|
|
slot |
◆ toggleSongEditorWin
| void lmms::gui::MainWindow::toggleSongEditorWin |
( |
| ) |
|
|
slot |
◆ toggleWindow()
| void lmms::gui::MainWindow::toggleWindow |
( |
QWidget * | window, |
|
|
bool | forceShow = false ) |
|
private |
◆ toolBar()
| QWidget * lmms::gui::MainWindow::toolBar |
( |
| ) |
|
|
inline |
◆ undo
| void lmms::gui::MainWindow::undo |
( |
| ) |
|
|
slot |
◆ updateConfig
| void lmms::gui::MainWindow::updateConfig |
( |
QAction * | _who | ) |
|
|
privateslot |
◆ updatePlayPauseIcons
| void lmms::gui::MainWindow::updatePlayPauseIcons |
( |
| ) |
|
|
slot |
◆ updateUndoRedoButtons
| void lmms::gui::MainWindow::updateUndoRedoButtons |
( |
| ) |
|
|
slot |
◆ updateViewMenu
| void lmms::gui::MainWindow::updateViewMenu |
( |
| ) |
|
|
privateslot |
◆ workspace()
| QMdiArea * lmms::gui::MainWindow::workspace |
( |
| ) |
|
|
inline |
◆ GuiApplication
| friend class GuiApplication |
|
friend |
◆ DEFAULT_AUTO_SAVE_INTERVAL
◆ DEFAULT_SAVE_INTERVAL_MINUTES
| const int lmms::gui::MainWindow::DEFAULT_SAVE_INTERVAL_MINUTES = 2 |
|
static |
◆ m_autoSaveInterval
| int lmms::gui::MainWindow::m_autoSaveInterval |
|
private |
◆ m_autoSaveShortTime
| const int lmms::gui::MainWindow::m_autoSaveShortTime = 10 * 1000 |
|
static |
◆ m_autoSaveTimer
| QTimer lmms::gui::MainWindow::m_autoSaveTimer |
|
private |
◆ m_keyMods
◆ m_metronomeToggle
| ToolButton* lmms::gui::MainWindow::m_metronomeToggle |
|
private |
◆ m_redoAction
| QAction* lmms::gui::MainWindow::m_redoAction |
|
private |
◆ m_session
◆ m_toolBar
| QWidget* lmms::gui::MainWindow::m_toolBar |
|
private |
◆ m_toolBarLayout
| QGridLayout* lmms::gui::MainWindow::m_toolBarLayout |
|
private |
◆ m_tools
| QList<PluginView *> lmms::gui::MainWindow::m_tools |
|
private |
◆ m_toolsMenu
| QMenu* lmms::gui::MainWindow::m_toolsMenu |
|
private |
◆ m_undoAction
| QAction* lmms::gui::MainWindow::m_undoAction |
|
private |
◆ m_updateTimer
| QBasicTimer lmms::gui::MainWindow::m_updateTimer |
|
private |
◆ m_viewMenu
| QMenu* lmms::gui::MainWindow::m_viewMenu |
|
private |
◆ m_workspace
◆ maximized
| bool lmms::gui::MainWindow::maximized |
|
private |
The documentation for this class was generated from the following files: