312 |
QObject::connect(ui.fileMenu, |
QObject::connect(ui.fileMenu, |
313 |
SIGNAL(aboutToShow()), |
SIGNAL(aboutToShow()), |
314 |
SLOT(updateRecentFilesMenu())); |
SLOT(updateRecentFilesMenu())); |
315 |
|
QObject::connect(ui.channelsMenu, |
316 |
|
SIGNAL(aboutToShow()), |
317 |
|
SLOT(channelsMenuAboutToShow())); |
318 |
} |
} |
319 |
|
|
320 |
// Destructor. |
// Destructor. |
2171 |
if (pChannelStrip == NULL) |
if (pChannelStrip == NULL) |
2172 |
return NULL; |
return NULL; |
2173 |
|
|
2174 |
m_pWorkspace->addWindow(pChannelStrip, Qt::Tool); |
m_pWorkspace->addWindow(pChannelStrip, Qt::FramelessWindowHint); |
2175 |
|
|
2176 |
// Actual channel strip setup... |
// Actual channel strip setup... |
2177 |
pChannelStrip->setup(pChannel); |
pChannelStrip->setup(pChannel); |
2263 |
if (pChannelStrip) { |
if (pChannelStrip) { |
2264 |
QAction *pAction = ui.channelsMenu->addAction( |
QAction *pAction = ui.channelsMenu->addAction( |
2265 |
pChannelStrip->windowTitle(), this, SLOT(channelsMenuActivated())); |
pChannelStrip->windowTitle(), this, SLOT(channelsMenuActivated())); |
2266 |
pAction->setData(iChannel); |
pAction->setCheckable(true); |
2267 |
pAction->setChecked(activeChannelStrip() == pChannelStrip); |
pAction->setChecked(activeChannelStrip() == pChannelStrip); |
2268 |
|
pAction->setData(iChannel); |
2269 |
} |
} |
2270 |
} |
} |
2271 |
} |
} |