本文整理汇总了C++中HostLineEdit::setHelpText方法的典型用法代码示例。如果您正苦于以下问题:C++ HostLineEdit::setHelpText方法的具体用法?C++ HostLineEdit::setHelpText怎么用?C++ HostLineEdit::setHelpText使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HostLineEdit
的用法示例。
在下文中一共展示了HostLineEdit::setHelpText方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: HostLineEdit
static HostLineEdit *NonID3FileNameFormat()
{
HostLineEdit *gc = new HostLineEdit("NonID3FileNameFormat");
gc->setLabel(QObject::tr("Filename Format"));
gc->setValue("GENRE/ARTIST/ALBUM/TRACK_TITLE");
gc->setHelpText(QObject::tr("Directory and filename Format used to grab "
"information if no ID3 information is found. Accepts "
"GENRE, ARTIST, ALBUM, TITLE, ARTIST_TITLE and "
"TRACK_TITLE."));
return gc;
};
示例2: HostLineEdit
static HostLineEdit *MiscStatusScript()
{
HostLineEdit *he = new HostLineEdit("MiscStatusScript");
he->setLabel(QObject::tr("Miscellaneous status application"));
he->setValue("");
he->setHelpText(QObject::tr("External application or script that outputs "
"extra information for inclusion in the "
"backend status page. See http://www.mythtv."
"org/wiki/Miscellaneous_Status_Information"));
return he;
}
示例3: HostLineEdit
static HostLineEdit *TreeLevels()
{
HostLineEdit *gc = new HostLineEdit("TreeLevels", true);
gc->setLabel(QObject::tr("Tree Sorting"));
gc->setValue("splitartist artist album title");
gc->setHelpText(QObject::tr("Order in which to sort the Music "
"Tree. Possible values are a space-separated list of "
"genre, splitartist, splitartist1, artist, album, and "
"title OR the keyword \"directory\" to indicate that "
"the onscreen tree mirrors the filesystem."));
return gc;
};
示例4: HostLineEdit
static HostLineEdit *GameFavTreeLevels()
{
HostLineEdit *gc = new HostLineEdit("GameFavTreeLevels");
gc->setLabel(MythGameGeneralSettings::tr("Favorite display order"));
gc->setValue("gamename");
gc->setHelpText(MythGameGeneralSettings::tr("Order in which to sort the "
"games marked as favorites "
"- this is for all systems. "
"Available choices: system, "
"year, genre and gamename"));
return gc;
}
示例5: HostLineEdit
static HostLineEdit *MythShutdownNvramRestartCmd()
{
HostLineEdit *gc = new HostLineEdit("MythShutdownNvramRestartCmd");
gc->setLabel(MythShutdownSettings::tr("nvram-wakeup Restart Command"));
gc->setValue("/sbin/grub-set-default 1");
gc->setHelpText(MythShutdownSettings::tr("Command to run if your bios "
"requires you to reboot to allow nvram-wakeup settings "
"to take effect. Leave blank if your bios does not "
"require a reboot. See the README file for more "
"examples."));
return gc;
};
示例6: HostLineEdit
static HostLineEdit *MythGalleryDir()
{
HostLineEdit *gc = new HostLineEdit("GalleryDir");
gc->setLabel(QObject::tr("Directory that holds images"));
#ifdef Q_WS_MACX
gc->setValue(QDir::homePath() + "/Pictures");
#else
gc->setValue("/var/lib/pictures");
#endif
gc->setHelpText(QObject::tr("This directory must exist and "
"MythGallery needs to have read permission."));
return gc;
};
示例7: VerticalConfigurationGroup
/*!
\brief Settings for Importing
\param enable True if password has been entered
*/
ImportSettings::ImportSettings(bool enable) : VerticalConfigurationGroup()
{
setLabel(tr("Import"));
setEnabled(enable);
HostLineEdit *script = new HostLineEdit("GalleryImportCmd", true);
script->setLabel(tr("Import Command"));
script->setHelpText(tr("Command/script that can be run from the menu. "
"\n%TMPDIR% will be replaced by a new temporary directory, "
"which the import dialog will show automatically. The "
"directory will be removed when Gallery exits."));
script->setEnabled(enable);
addChild(script);
}