当前位置: 首页>>代码示例>>C++>>正文


C++ HostLineEdit::setHelpText方法代码示例

本文整理汇总了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;
};
开发者ID:Cougar,项目名称:mythtv,代码行数:11,代码来源:globalsettings.cpp

示例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;
}
开发者ID:Olti,项目名称:mythtv,代码行数:11,代码来源:backendsettings.cpp

示例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;
};
开发者ID:txase,项目名称:mythtv,代码行数:12,代码来源:globalsettings.cpp

示例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;
}
开发者ID:Beirdo,项目名称:mythtv-stabilize,代码行数:12,代码来源:gamesettings.cpp

示例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;
};
开发者ID:Olti,项目名称:mythtv,代码行数:12,代码来源:welcomesettings.cpp

示例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;
};
开发者ID:Openivo,项目名称:mythtv,代码行数:13,代码来源:gallerysettings.cpp

示例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);
}
开发者ID:dragonian,项目名称:mythtv,代码行数:19,代码来源:galleryconfig.cpp


注:本文中的HostLineEdit::setHelpText方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。