本文整理汇总了C++中HostLineEdit::setLabel方法的典型用法代码示例。如果您正苦于以下问题:C++ HostLineEdit::setLabel方法的具体用法?C++ HostLineEdit::setLabel怎么用?C++ HostLineEdit::setLabel使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HostLineEdit
的用法示例。
在下文中一共展示了HostLineEdit::setLabel方法的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;
};
示例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;
};
示例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;
};
示例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;
};
示例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;
}
示例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;
};
示例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;
};
示例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;
};