本文整理汇总了C++中SetUpdate函数的典型用法代码示例。如果您正苦于以下问题:C++ SetUpdate函数的具体用法?C++ SetUpdate怎么用?C++ SetUpdate使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了SetUpdate函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: SetUpdate
void
QvisLegacyStreamlinePlotWindow::colorTableNameChanged(bool useDefault, const QString &ctName)
{
streamAtts->SetColorTableName(ctName.latin1());
SetUpdate(false);
Apply();
}
示例2: SetUpdate
void
QvisLine3DInterface::visibilityToggled(bool val)
{
annot->SetVisible(val);
SetUpdate(false);
Apply();
}
示例3: SetUpdate
void
QvisLegendAttributesInterface::boldToggled(bool val)
{
annot->SetFontBold(val);
SetUpdate(false);
Apply();
}
示例4: SetBool
void
QvisLegendAttributesInterface::drawMinmaxToggled(bool val)
{
SetBool(LEGEND_DRAW_MINMAX, val);
SetUpdate(false);
Apply();
}
示例5: SetUpdate
// ****************************************************************************
// Method: QvisKeyframeWindow::keyframeEnabledToggled
//
// Purpose:
// toggle the keyframe enabled mode
//
// Programmer: Jeremy Meredith
// Creation: January 23, 2003
//
// Modifications:
// Brad Whitlock, Tue Oct 28 09:27:41 PDT 2008
// Don't update.
//
// ****************************************************************************
void
QvisKeyframeWindow::keyframeEnabledToggled(bool k)
{
kfAtts->SetEnabled(k);
SetUpdate(false);
Apply();
}
示例6: SetUpdate
void
ViewerProxy::SetPlotSILRestriction(avtSILRestriction_p newRestriction)
{
// Copy the new SIL restriction into the internal SIL restriction object.
internalSILRestriction = newRestriction;
SILRestrictionAttributes *newSRA =internalSILRestriction->MakeAttributes();
if(newSRA)
{
// Copy the attribute representation of the SIL restriction into the
// silRestrictionAtts object and send notify observers. Note that
// SetUpdate is set to false so the proxy's Update method is NOT called
SILRestrictionAttributes *silRestrictionAtts =
state->GetSILRestrictionAttributes();
*silRestrictionAtts = *newSRA;
SetUpdate(false);
silRestrictionAtts->Notify();
// Now that the new SIL restriction attributes have been sent to the
// viewer, send the RPC that tells the viewer to apply them.
GetViewerMethods()->SetPlotSILRestriction();
// Delete the new SRA since we're done with it.
delete newSRA;
}
}
示例7: SetUpdate
void
QvisSpreadsheetPlotWindow::subsetNameChanged(const QString &name)
{
atts->SetSubsetName(name.toStdString());
SetUpdate(false);
Apply();
}
示例8: SetupEntity
void CVicinityDependentObjectMover::Reset( const bool bEnteringGameMode )
{
m_bForcedReverseMoveToStartPos = false;
m_currentState = eObjectRangeMoverState_None;
SetupEntity();
SetUpdate();
}