本文整理汇总了C++中HostCheckBox::setLabel方法的典型用法代码示例。如果您正苦于以下问题:C++ HostCheckBox::setLabel方法的具体用法?C++ HostCheckBox::setLabel怎么用?C++ HostCheckBox::setLabel使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HostCheckBox
的用法示例。
在下文中一共展示了HostCheckBox::setLabel方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: HostCheckBox
static HostCheckBox *GameShowFileNames()
{
HostCheckBox *gc = new HostCheckBox("GameShowFileNames");
gc->setLabel(QObject::tr("Display Files Names in Game Tree"));
gc->setHelpText(QObject::tr("Enabling this causes the filenames to be displayed in the game tree rather than the trimmed/looked up gamename"));
return gc;
}
示例2: HostCheckBox
static HostCheckBox *MythGalleryAutoLoad()
{
HostCheckBox *gc = new HostCheckBox("GalleryAutoLoad");
gc->setLabel(QObject::tr("Automatically load MythGallery to display pictures"));
gc->setValue(false);
gc->setHelpText(QObject::tr("When a new CD-Rom or removable storage device containing pictures is detected then load MythGallery to display the content."));
return gc;
}
示例3: HostCheckBox
static HostCheckBox *CDWriterEnabled()
{
HostCheckBox *gc = new HostCheckBox("CDWriterEnabled");
gc->setLabel(QObject::tr("Enable CD Writing."));
gc->setValue(true);
gc->setHelpText(QObject::tr("Requires a SCSI or an IDE-SCSI CD Writer."));
return gc;
};
示例4: HostCheckBox
static HostCheckBox *MythArchiveAddSubtitles()
{
HostCheckBox *gc = new HostCheckBox("MythArchiveAddSubtitles");
gc->setLabel(QObject::tr("Add Subtitles"));
gc->setValue(false);
gc->setHelpText(QObject::tr("If available this option will add subtitles "
"to the final DVD. Requires 'Use ProjectX' to be on."));
return gc;
};
示例5: HostCheckBox
static HostCheckBox *JobAllowTranscode()
{
HostCheckBox *gc = new HostCheckBox("JobAllowTranscode");
gc->setLabel(QObject::tr("Allow transcoding jobs"));
gc->setValue(true);
gc->setHelpText(QObject::tr("If enabled, allow jobs of this type to "
"run on this backend."));
return gc;
};