NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
UI.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// UI.ja
9//
10// 生成工具:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成 - 请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/BlockStyler_BlockDialog.hxx>
22#include <NXOpen/CustomPopupMenuHandler.hxx>
23#include <NXOpen/Gateway_ImageExportBuilder.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/libnxopenuicpp_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
35 class UI;
36 namespace BlockStyler
37 {
38 class BlockDialog;
39 }
40 namespace BlockStyler
41 {
42 class DialogTester;
43 }
45 namespace Gateway
46 {
48 }
49 namespace MenuBar
50 {
51 class MenuBarManager;
52 }
53 class MovieManager;
54 class NXMessageBox;
55 namespace Preferences
56 {
58 }
59 namespace Preferences
60 {
62 }
63 class ProductDemo;
65 class Selection;
66 namespace UIStyler
67 {
68 class Styler;
69 }
70 class ViewUIManager;
71 class _UIBuilder;
72 class UIImpl;
80 class NXOPENUICPPEXPORT UI : public NXOpen::TaggedObject
81 {
83 public: enum Status
84 {
87 };
88 public:
108 private: UIImpl * m_ui_impl;
109 private: static UI *theUI;
111 public: static UI *GetUI();
112private: friend class _UIBuilder;
113 protected: UI();
114 public: ~UI();
124 public: void LockAccess
125 (
126 );
130 public: void UnlockAccess
131 (
132 );
136 public: void JournalPause
137 (
138 );
146 (
147 );
153 (
154 const NXString & dialogName
155 );
161 (
162 const char * dialogName
163 );
168 (
169 const NXOpen::UI::UtilityFunctionVisibilityHandler& utilityFunctionVisibilityHandler
170 );
175 (
176 int id
177 );
182 (
183 );
188 public: NX_DEPRECATED("Deprecated in NX2007.0.0. Use NXOpen::ViewCollection::CreateImageExportBuilder instead.") NXOpen::Gateway::ImageExportBuilder * CreateImageExportBuilder
189 (
190 );
195 public: bool CanOpenPart
196 (
197 );
202 (
203 const NXString & title ,
204 const NXString & description ,
205 const NXString & extraText ,
206 const NXString & icon
207 );
212 (
213 const char * title ,
214 const char * description ,
215 const char * extraText ,
216 const char * icon
217 );
222 (
223 int id
224 );
244 public: NXOpen::Preferences::SessionUserInterfaceUI *UserInterfacePreferences();
262
265 public: NXOpen::ProductDemo *ProductDemo();
267
271 };
272}
273#ifdef _MSC_VER
274#pragma warning(pop)
275#endif
276#ifdef __GNUC__
277#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
278#pragma GCC diagnostic warning "-Wdeprecated-declarations"
279#endif
280#endif
281#undef EXPORTLIBRARY