本文整理汇总了C++中GlobalLineEdit::setValue方法的典型用法代码示例。如果您正苦于以下问题:C++ GlobalLineEdit::setValue方法的具体用法?C++ GlobalLineEdit::setValue怎么用?C++ GlobalLineEdit::setValue使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GlobalLineEdit
的用法示例。
在下文中一共展示了GlobalLineEdit::setValue方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GlobalLineEdit
static GlobalLineEdit *BackendStartCommand()
{
GlobalLineEdit *gc = new GlobalLineEdit("BackendStartCommand");
gc->setLabel(QObject::tr("Backend start command"));
gc->setValue("mythbackend");
gc->setHelpText(QObject::tr("The command used to start the backend"
" when running on the master backend server "
"(e.g. sudo /etc/init.d/mythtv-backend start)."));
return gc;
};
示例2: GlobalLineEdit
static GlobalLineEdit *MythFillDatabasePath()
{
GlobalLineEdit *be = new GlobalLineEdit("MythFillDatabasePath");
be->setLabel(QObject::tr("mythfilldatabase program"));
be->setValue("mythfilldatabase");
be->setHelpText(QObject::tr(
"Use 'mythfilldatabase' or the name of a custom "
"script that will populate the program guide info "
"for all your video sources."));
return be;
}