NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_Label.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_Label.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 Label;
35 }
36 namespace BlockStyler
37 {
38 class UIBlock;
39 }
40 namespace BlockStyler
41 {
42 class _LabelBuilder;
43 class LabelImpl;
47 class NXOPENUICPPEXPORT Label : public NXOpen::BlockStyler::UIBlock
48 {
49 private: LabelImpl * m_label_impl;
50 private: friend class _LabelBuilder;
51 protected: Label();
52 public: ~Label();
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 & tooltipText
111 );
116 (
117 const char * tooltipText
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 highQuality
151 );
155 public: bool Localize
156 (
157 );
161 public: void SetLocalize
162 (
163 bool localize
164 );
169 (
170 );
175 (
176 bool display
177 );
182 (
183 );
187 public: void SetTooltip
188 (
189 const NXString & tooltipString
190 );
195 (
196 const char * tooltipString
197 );
201 public: bool WordWrap
202 (
203 );
207 public: void SetWordWrap
208 (
209 bool wordwrap
210 );
211 };
212 }
213}
214#ifdef _MSC_VER
215#pragma warning(pop)
216#endif
217#ifdef __GNUC__
218#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
219#pragma GCC diagnostic warning "-Wdeprecated-declarations"
220#endif
221#endif
222#undef EXPORTLIBRARY