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


C++ Pointer::SetEditorAreaVisible方法代码示例

本文整理汇总了C++中berry::ipagelayout::Pointer::SetEditorAreaVisible方法的典型用法代码示例。如果您正苦于以下问题:C++ Pointer::SetEditorAreaVisible方法的具体用法?C++ Pointer::SetEditorAreaVisible怎么用?C++ Pointer::SetEditorAreaVisible使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在berry::ipagelayout::Pointer的用法示例。


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

示例1: CreateInitialLayout

// //! [AddView1]
void ViewerPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  QString editorArea = layout->GetEditorArea();
  layout->SetEditorAreaVisible(false);
  layout->AddStandaloneView("org.mitk.views.datamanager", false, berry::IPageLayout::LEFT, 0.3f, layout->GetEditorArea());
  layout->AddStandaloneView("org.mitk.customviewer.views.simplerenderwindowview", false, berry::IPageLayout::RIGHT, 0.7f, layout->GetEditorArea());
}
开发者ID:0r,项目名称:MITK,代码行数:8,代码来源:ViewerPerspective.cpp

示例2: CreateInitialLayout

// //! [DicomPerspCreateLayout]
void DicomPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  QString editorArea = layout->GetEditorArea();
  layout->SetEditorAreaVisible(false);
  layout->AddStandaloneView("org.mitk.customviewer.views.dicomview", false, berry::IPageLayout::LEFT, 1.0f, layout->GetEditorArea());
  layout->GetViewLayout("org.mitk.customviewer.views.dicomview")->SetCloseable(false);
  layout->GetViewLayout("org.mitk.customviewer.views.dicomview")->SetMoveable(false);
}
开发者ID:0r,项目名称:MITK,代码行数:9,代码来源:DicomPerspective.cpp

示例3: CreateInitialLayout

void MinimalPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  // Editors are placed for free.
  std::string editorAreaId = layout->GetEditorArea();
  // Hides the editor area.
  layout->SetEditorAreaVisible(false);

  layout->AddView("org.mitk.views.minimalview", berry::IPageLayout::LEFT,0.5f, editorAreaId);
}
开发者ID:AGrafmint,项目名称:MITK,代码行数:9,代码来源:MinimalPerspective.cpp

示例4: CreateInitialLayout

void ExtendedPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  // Editors are placed for free.
  std::string editorAreaId = layout->GetEditorArea();
  // Hides the editor area.
  layout->SetEditorAreaVisible(false);

  // add the selection view (for providing selection events for the listener view) to the perspective
  layout->AddView("org.mitk.views.selectionviewmitk", berry::IPageLayout::LEFT,1.0f, editorAreaId);
  // add the listener view (listening for selection events of the selection view) to the perspective
  layout->AddView("org.mitk.views.listenerviewmitk", berry::IPageLayout::RIGHT,0.5f, "org.mitk.views.selectionviewmitk");
}
开发者ID:AGrafmint,项目名称:MITK,代码行数:12,代码来源:ExtendedPerspective.cpp

示例5: CreateInitialLayout

void MinimalPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  // Hides the editor area.
  layout->SetEditorAreaVisible(false);
}
开发者ID:0r,项目名称:MITK,代码行数:5,代码来源:MinimalPerspective.cpp


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