1 |
// qsamplerMainForm.h |
// qsamplerMainForm.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2013, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2016, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, 2008 Christian Schoenebeck |
Copyright (C) 2007,2008,2015 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
64 |
|
|
65 |
QString sessionName(const QString& sFilename); |
QString sessionName(const QString& sFilename); |
66 |
|
|
67 |
void appendMessages(const QString& s); |
void appendMessages(const QString& sText); |
68 |
void appendMessagesColor(const QString& s, const QString& c); |
void appendMessagesColor(const QString& sText, const QString& sColor); |
69 |
void appendMessagesText(const QString& s); |
void appendMessagesText(const QString& sText); |
70 |
void appendMessagesError(const QString& s); |
void appendMessagesError(const QString& sText); |
71 |
void appendMessagesClient(const QString& s); |
void appendMessagesClient(const QString& sText); |
72 |
|
|
73 |
ChannelStrip *createChannelStrip(Channel *pChannel); |
ChannelStrip *createChannelStrip(Channel *pChannel); |
74 |
void destroyChannelStrip(ChannelStrip *pChannelStrip); |
void destroyChannelStrip(ChannelStrip *pChannelStrip); |
126 |
// Channel strip activation/selection. |
// Channel strip activation/selection. |
127 |
void activateStrip(QMdiSubWindow *pMdiSubWindow); |
void activateStrip(QMdiSubWindow *pMdiSubWindow); |
128 |
|
|
129 |
|
// Channel toolbar orientation change. |
130 |
|
void channelsToolbarOrientation(Qt::Orientation orientation); |
131 |
|
|
132 |
protected: |
protected: |
133 |
|
|
134 |
|
void addChannelStrip(); |
135 |
|
void removeChannelStrip(); |
136 |
|
|
137 |
bool queryClose(); |
bool queryClose(); |
138 |
void closeEvent(QCloseEvent* pCloseEvent); |
void closeEvent(QCloseEvent* pCloseEvent); |
139 |
void dragEnterEvent(QDragEnterEvent *pDragEnterEvent); |
void dragEnterEvent(QDragEnterEvent *pDragEnterEvent); |
140 |
void dropEvent(QDropEvent *pDropEvent); |
void dropEvent(QDropEvent *pDropEvent); |
141 |
void customEvent(QEvent* pCustomEvent); |
void customEvent(QEvent *pCustomEvent); |
142 |
|
void resizeEvent(QResizeEvent *); |
143 |
bool newSession(); |
bool newSession(); |
144 |
bool openSession(); |
bool openSession(); |
145 |
bool saveSession(bool bPrompt); |
bool saveSession(bool bPrompt); |
174 |
QSocketNotifier *m_pUsr1Notifier; |
QSocketNotifier *m_pUsr1Notifier; |
175 |
QString m_sFilename; |
QString m_sFilename; |
176 |
int m_iUntitled; |
int m_iUntitled; |
177 |
|
int m_iDirtySetup; |
178 |
int m_iDirtyCount; |
int m_iDirtyCount; |
179 |
lscp_client_t *m_pClient; |
lscp_client_t *m_pClient; |
180 |
QProcess *m_pServer; |
QProcess *m_pServer; |