本文整理汇总了C++中SPDesktop::clearWaitingCursor方法的典型用法代码示例。如果您正苦于以下问题:C++ SPDesktop::clearWaitingCursor方法的具体用法?C++ SPDesktop::clearWaitingCursor怎么用?C++ SPDesktop::clearWaitingCursor使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SPDesktop
的用法示例。
在下文中一共展示了SPDesktop::clearWaitingCursor方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void
ExecutionEnv::cancel (void) {
SPDesktop *desktop = (SPDesktop *)_doc;
desktop->clearWaitingCursor();
_effect->get_imp()->cancelProcessing();
return;
}
示例2: createWorkingDialog
void
ExecutionEnv::run (void) {
_state = ExecutionEnv::RUNNING;
if (_show_working) {
createWorkingDialog();
}
SPDesktop *desktop = (SPDesktop *)_doc;
desktop->setWaitingCursor();
_effect->get_imp()->effect(_effect, _doc, _docCache);
desktop->clearWaitingCursor();
_state = ExecutionEnv::COMPLETE;
// _runComplete.signal();
return;
}
示例3: create
void TemplateWidget::create()
{
if (_current_template.display_name == "")
return;
if (_current_template.is_procedural){
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
SPDesktop *desc = sp_file_new_default();
_current_template.tpl_effect->effect(desc);
DocumentUndo::clearUndo(sp_desktop_document(desc));
sp_desktop_document(desc)->setModifiedSinceSave(false);
if (desktop)
desktop->clearWaitingCursor();
}
else {
sp_file_new(_current_template.path);
}
}