本文整理汇总了C++中MainForm::appendMessages方法的典型用法代码示例。如果您正苦于以下问题:C++ MainForm::appendMessages方法的具体用法?C++ MainForm::appendMessages怎么用?C++ MainForm::appendMessages使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MainForm
的用法示例。
在下文中一共展示了MainForm::appendMessages方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: channelFxEdit
bool ChannelStrip::channelFxEdit (void)
{
MainForm *pMainForm = MainForm::getInstance();
if (!pMainForm || !channel())
return false;
pMainForm->appendMessages(QObject::tr("channel fx sends..."));
bool bResult = false;
#if CONFIG_FXSEND
ChannelFxForm *pChannelFxForm =
new ChannelFxForm(channel(), parentWidget());
if (pChannelFxForm) {
//pChannelForm->setup(this);
bResult = pChannelFxForm->exec();
delete pChannelFxForm;
}
#else // CONFIG_FXSEND
QMessageBox::critical(this,
QSAMPLER_TITLE ": " + tr("Unavailable"),
tr("Sorry, QSampler was built without FX send support!\n\n"
"(Make sure you have a recent liblscp when recompiling QSampler)"));
#endif // CONFIG_FXSEND
return bResult;
}
示例2: sendFineTuningSettings
void Options::sendFineTuningSettings() {
setMaxVoices(iMaxVoices);
setMaxStreams(iMaxStreams);
MainForm *pMainForm = MainForm::getInstance();
if (!pMainForm || !pMainForm->client())
return;
pMainForm->appendMessages(QObject::tr("Sent fine tuning settings."));
}
示例3: appendMessages
// Redirected messages output methods.
void Channel::appendMessages( const QString& s ) const
{
MainForm *pMainForm = MainForm::getInstance();
if (pMainForm)
pMainForm->appendMessages(channelName() + ' ' + s);
}