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


C++ HostLineEdit类代码示例

本文整理汇总了C++中HostLineEdit的典型用法代码示例。如果您正苦于以下问题:C++ HostLineEdit类的具体用法?C++ HostLineEdit怎么用?C++ HostLineEdit使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了HostLineEdit类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: HostLineEdit

static HostLineEdit *MythShutdownStartFECmd()
{
    HostLineEdit *gc = new HostLineEdit("MythWelcomeStartFECmd");
    gc->setLabel(QObject::tr("Command to run to start the Frontend"));
    gc->setValue(GetInstallPrefix() + "/bin/mythfrontend");
    gc->setHelpText(QObject::tr("Command to start mythfrontend.")); 
    return gc;
};
开发者ID:DocOnDev,项目名称:mythtv,代码行数:8,代码来源:welcomesettings.cpp

示例2: HostLineEdit

static HostLineEdit *MythArchiveSpumuxCmd()
{
    HostLineEdit *gc = new HostLineEdit("MythArchiveSpumuxCmd");
    gc->setLabel(QObject::tr("spumux command"));
    gc->setValue("spumux");
    gc->setHelpText(QObject::tr("Command to run spumux. Part of dvdauthor package"));
    return gc;
};
开发者ID:camdbug,项目名称:mythtv,代码行数:8,代码来源:archivesettings.cpp

示例3: HostLineEdit

static HostLineEdit *CDDevice()
{
    HostLineEdit *gc = new HostLineEdit("CDDevice");
    gc->setLabel(QObject::tr("CD device"));
    gc->setValue("default");
    gc->setHelpText(QObject::tr("CDRom device used for ripping/playback."));
    return gc;
};
开发者ID:txase,项目名称:mythtv,代码行数:8,代码来源:globalsettings.cpp

示例4: HostLineEdit

static HostLineEdit *MythShutdownReboot()
{
    HostLineEdit *gc = new HostLineEdit("MythShutdownReboot");
    gc->setLabel(MythShutdownSettings::tr("Command to reboot"));
    gc->setValue("/sbin/reboot");
    gc->setHelpText(MythShutdownSettings::tr("Command to reboot computer.")); 
    return gc;
};
开发者ID:Olti,项目名称:mythtv,代码行数:8,代码来源:welcomesettings.cpp

示例5: HostLineEdit

HostLineEdit *GetFanartDir()
{
    HostLineEdit *gc = new HostLineEdit("mythgame.fanartdir");
    gc->setLabel(QObject::tr("Directory where Game Fanart is stored"));
    gc->setValue(GetConfDir() + "/MythGame/Fanart");
    gc->setHelpText(QObject::tr("This directory will be the default browse "
                    "location when assigning fanart."));
    return gc;
}
开发者ID:Cougar,项目名称:mythtv,代码行数:9,代码来源:gamesettings.cpp

示例6: HostLineEdit

static HostLineEdit *MythGalleryMoviePlayerCmd()
{
    HostLineEdit *gc = new HostLineEdit("GalleryMoviePlayerCmd");
    gc->setLabel(QObject::tr("Command run to display movie files"));
    gc->setValue("mplayer -fs %s");
    gc->setHelpText(QObject::tr("This command is executed whenever a movie "
                    "file is selected"));
    return gc;
};
开发者ID:Openivo,项目名称:mythtv,代码行数:9,代码来源:gallerysettings.cpp

示例7: HostLineEdit

static HostLineEdit *LocalServerPort()
{
    HostLineEdit *gc = new HostLineEdit("BackendServerPort");
    gc->setLabel(QObject::tr("Port"));
    gc->setValue("6543");
    gc->setHelpText(QObject::tr("Unless you've got good reason, don't "
                    "change this."));
    return gc;
};
开发者ID:Openivo,项目名称:mythtv,代码行数:9,代码来源:backendsettings.cpp

示例8: HostLineEdit

static HostLineEdit *ZMServerIP()
{
    HostLineEdit *gc = new HostLineEdit("ZoneMinderServerIP");
    gc->setLabel(QObject::tr("IP address of the MythZoneMinder server"));
    gc->setValue("127.0.0.1");
    gc->setHelpText(QObject::tr("Enter the IP address of the MythZoneMinder server "
            "that this frontend should connect to."));
    return gc;
};
开发者ID:ChristopherNeufeld,项目名称:mythtv,代码行数:9,代码来源:zmsettings.cpp


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