NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_Button.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口到 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_Button.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_UIBlock.hxx>
22#include <NXOpen/libnxopenuicpp_exports.hxx>
23#ifdef _MSC_VER
24#pragma warning(push)
25#pragma warning(disable:4996)
26#endif
27#ifdef __GNUC__
28#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29#endif
30namespace NXOpen
31{
32 namespace BlockStyler
33 {
34 class Button;
35 }
36 namespace BlockStyler
37 {
38 class UIBlock;
39 }
40 namespace BlockStyler
41 {
42 class _ButtonBuilder;
43 class ButtonImpl;
47 class NXOPENUICPPEXPORT Button : public NXOpen::BlockStyler::UIBlock
48 {
49 private: ButtonImpl * m_button_impl;
50 private: friend class _ButtonBuilder;
51 protected: Button();
52 public: ~Button();
57 (
58 );
63 (
64 const NXString & imageString
65 );
70 (
71 const char * imageString
72 );
77 (
78 );
83 (
84 const NXString & enumString
85 );
90 (
91 const char * enumString
92 );
96 public: std::vector<NXString> GetBalloonTooltipLayoutMembers
97 (
98 );
103 (
104 );
109 (
110 const NXString & balloonTooltipText
111 );
116 (
117 const char * balloonTooltipText
118 );
123 (
124 );
128 public: void SetBitmap
129 (
130 const NXString & bitmapString
131 );
136 (
137 const char * bitmapString
138 );
142 public: bool HighQualityBitmap
143 (
144 );
149 (
150 bool hishQuality
151 );
155 public: bool Localize
156 (
157 );
161 public: void SetLocalize
162 (
163 bool localize
164 );
169 (
170 );
174 public: void SetTooltip
175 (
176 const NXString & tooltipString
177 );
182 (
183 const char * tooltipString
184 );
188 public: void TestAction
189 (
190 );
191 };
192 }
193}
194#ifdef _MSC_VER
195#pragma warning(pop)
196#endif
197#ifdef __GNUC__
198#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
199#pragma GCC diagnostic warning "-Wdeprecated-declarations"
200#endif
201#endif
202#undef EXPORTLIBRARY