NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
UIStyler_Dialog.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++界面到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// UIStyler_Dialog.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/TransientObject.hxx>
22
#include <NXOpen/SelectionHandle.hxx>
23
#include <NXOpen/UIStyler_StylerItem.hxx>
24
#include <NXOpen/libnxopenuicpp_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
UIStyler
35
{
36
class
Dialog
;
37
}
38
class
SelectionHandle
;
39
namespace
UIStyler
40
{
41
class
BitMap
;
42
}
43
namespace
UIStyler
44
{
45
class
ButtonLayout
;
46
}
47
namespace
UIStyler
48
{
49
class
CollapsibleGroup
;
50
}
51
namespace
UIStyler
52
{
53
class
ColorTool
;
54
}
55
namespace
UIStyler
56
{
57
class
DialogItem
;
58
}
59
namespace
UIStyler
60
{
61
class
GroupBox
;
62
}
63
namespace
UIStyler
64
{
65
class
IntegerItem
;
66
}
67
namespace
UIStyler
68
{
69
class
IntegerScale
;
70
}
71
namespace
UIStyler
72
{
73
class
LabelItem
;
74
}
75
namespace
UIStyler
76
{
77
class
MultiSelectList
;
78
}
79
namespace
UIStyler
80
{
81
class
MultiTextBox
;
82
}
83
namespace
UIStyler
84
{
85
class
OptionMenu
;
86
}
87
namespace
UIStyler
88
{
89
class
OptionToggle
;
90
}
91
namespace
UIStyler
92
{
93
class
PropertyPage
;
94
}
95
namespace
UIStyler
96
{
97
class
PushButton
;
98
}
99
namespace
UIStyler
100
{
101
class
RadioBox
;
102
}
103
namespace
UIStyler
104
{
105
class
RealItem
;
106
}
107
namespace
UIStyler
108
{
109
class
RealScale
;
110
}
111
namespace
UIStyler
112
{
113
class
RowColumn
;
114
}
115
namespace
UIStyler
116
{
117
class
ScrolledWindow
;
118
}
119
namespace
UIStyler
120
{
121
class
SelectionBox
;
122
}
123
namespace
UIStyler
124
{
125
class
Separator
;
126
}
127
namespace
UIStyler
128
{
129
class
SingleSelectList
;
130
}
131
namespace
UIStyler
132
{
133
class
StringItem
;
134
}
135
namespace
UIStyler
136
{
137
class
StylerItem
;
138
}
139
namespace
UIStyler
140
{
141
class
TabControl
;
142
}
143
namespace
UIStyler
144
{
145
class
Toggle
;
146
}
147
namespace
UIStyler
148
{
149
class
ToolPalette
;
150
}
151
namespace
UIStyler
152
{
153
class
WideString
;
154
}
155
namespace
UIStyler
156
{
158
enum
DialogResponse
159
{
160
DialogResponsePickResponse
= 1,
161
DialogResponseOk
,
162
DialogResponseCancel
,
163
DialogResponseBack
,
164
DialogResponseApply
,
165
DialogResponseHelp
,
166
DialogResponseObjectSelected
,
167
DialogResponseObjectSelectedByName
,
168
DialogResponseCbTerminate
169
};
170
171
enum
DialogIndex
172
{
173
DialogIndexNoSubIndex
= -1
174
};
175
}
176
namespace
UIStyler
177
{
178
class
DialogImpl;
182
class
NXOPENUICPPEXPORT
Dialog
:
public
NXOpen::TransientObject
183
{
185
public
:
enum
ItemType
186
{
187
ItemTypePushButton
,
188
ItemTypeDialogItem
,
189
ItemTypeRadioBox
,
190
ItemTypeRealItem
,
191
ItemTypeRealScale
,
192
ItemTypeBitmap
,
193
ItemTypeRowColumn
,
194
ItemTypeButtonLayout
,
195
ItemTypeScrolledWindow
,
196
ItemTypeColorTool
,
197
ItemTypeSelectionBox
,
198
ItemTypeSeparator
,
199
ItemTypeSingleSelectList
,
200
ItemTypeStringItem
,
201
ItemTypeGroupBox
,
202
ItemTypeIntegerItem
,
203
ItemTypeIntegerScale
,
204
ItemTypeMultiSelectList
,
205
ItemTypeLabelItem
,
206
ItemTypeMultiTextBox
,
207
ItemTypeTabControl
,
208
ItemTypeOptionMenu
,
209
ItemTypeToggle
,
210
ItemTypeOptionToggle
,
211
ItemTypeToolPalette
,
212
ItemTypeWideString
,
213
ItemTypePropertyPage
,
214
ItemTypeCollapsibleGroup
215
};
216
private
: DialogImpl * m_dialog_impl;
218
public
:
explicit
Dialog
(
void
*ptr);
220
223
public
:
virtual
~Dialog
();
227
public
:
NXOpen::UIStyler::DialogItem
*
GetDialogIndex
228
(
229
const
NXString
& itemIdentifier
230
);
234
NXOpen::UIStyler::DialogItem
*
GetDialogIndex
235
(
236
const
char
* itemIdentifier
237
);
241
public
:
NXOpen::UIStyler::PushButton
*
GetPushButton
242
(
243
const
NXString
& itemIdentifier
244
);
248
NXOpen::UIStyler::PushButton
*
GetPushButton
249
(
250
const
char
* itemIdentifier
251
);
255
public
:
NXOpen::UIStyler::BitMap
*
GetBitmap
256
(
257
const
NXString
& itemIdentifier
258
);
262
NXOpen::UIStyler::BitMap
*
GetBitmap
263
(
264
const
char
* itemIdentifier
265
);
269
public
:
NXOpen::UIStyler::ButtonLayout
*
GetButtonLayout
270
(
271
const
NXString
& itemIdentifier
272
);
276
NXOpen::UIStyler::ButtonLayout
*
GetButtonLayout
277
(
278
const
char
* itemIdentifier
279
);
283
public
:
NXOpen::UIStyler::ColorTool
*
GetColorTool
284
(
285
const
NXString
& itemIdentifier
286
);
290
NXOpen::UIStyler::ColorTool
*
GetColorTool
291
(
292
const
char
* itemIdentifier
293
);
297
public
:
NXOpen::UIStyler::GroupBox
*
GetGroupBox
298
(
299
const
NXString
& itemIdentifier
300
);
304
NXOpen::UIStyler::GroupBox
*
GetGroupBox
305
(
306
const
char
* itemIdentifier
307
);
311
public
:
NXOpen::UIStyler::IntegerItem
*
GetIntegerItem
312
(
313
const
NXString
& itemIdentifier
314
);
318
NXOpen::UIStyler::IntegerItem
*
GetIntegerItem
319
(
320
const
char
* itemIdentifier
321
);
325
public
:
NXOpen::UIStyler::IntegerScale
*
GetIntegerScale
326
(
327
const
NXString
& itemIdentifier
328
);
332
NXOpen::UIStyler::IntegerScale
*
GetIntegerScale
333
(
334
const
char
* itemIdentifier
335
);
339
public
:
NXOpen::UIStyler::MultiSelectList
*
GetMultiSelectList
340
(
341
const
NXString
& itemIdentifier
342
);
346
NXOpen::UIStyler::MultiSelectList
*
GetMultiSelectList
347
(
348
const
char
* itemIdentifier
349
);
353
public
:
NXOpen::UIStyler::MultiTextBox
*
GetMultiTextBox
354
(
355
const
NXString
& itemIdentifier
356
);
360
NXOpen::UIStyler::MultiTextBox
*
GetMultiTextBox
361
(
362
const
char
* itemIdentifier
363
);
367
public
:
NXOpen::UIStyler::OptionMenu
*
GetOptionMenu
368
(
369
const
NXString
& itemIdentifier
370
);
374
NXOpen::UIStyler::OptionMenu
*
GetOptionMenu
375
(
376
const
char
* itemIdentifier
377
);
381
public
:
NXOpen::UIStyler::OptionToggle
*
GetOptionToggle
382
(
383
const
NXString
& itemIdentifier
384
);
388
NXOpen::UIStyler::OptionToggle
*
GetOptionToggle
389
(
390
const
char
* itemIdentifier
391
);
395
public
:
NXOpen::UIStyler::PropertyPage
*
GetPropertyPage
396
(
397
const
NXString
& itemIdentifier
398
);
402
NXOpen::UIStyler::PropertyPage
*
GetPropertyPage
403
(
404
const
char
* itemIdentifier
405
);
409
public
:
NXOpen::UIStyler::RadioBox
*
GetRadioBox
410
(
411
const
NXString
& itemIdentifier
412
);
416
NXOpen::UIStyler::RadioBox
*
GetRadioBox
417
(
418
const
char
* itemIdentifier
419
);
423
public
:
NXOpen::UIStyler::RealItem
*
GetRealItem
424
(
425
const
NXString
& itemIdentifier
426
);
430
NXOpen::UIStyler::RealItem
*
GetRealItem
431
(
432
const
char
* itemIdentifier
433
);
437
public
:
NXOpen::UIStyler::RealScale
*
GetRealScale
438
(
439
const
NXString
& itemIdentifier
440
);
444
NXOpen::UIStyler::RealScale
*
GetRealScale
445
(
446
const
char
* itemIdentifier
447
);
451
public
:
NXOpen::UIStyler::RowColumn
*
GetRowColumn
452
(
453
const
NXString
& itemIdentifier
454
);
458
NXOpen::UIStyler::RowColumn
*
GetRowColumn
459
(
460
const
char
* itemIdentifier
461
);
465
public
:
NXOpen::UIStyler::ScrolledWindow
*
GetScrolledWindow
466
(
467
const
NXString
& itemIdentifier
468
);
472
NXOpen::UIStyler::ScrolledWindow
*
GetScrolledWindow
473
(
474
const
char
* itemIdentifier
475
);
479
public
:
NXOpen::UIStyler::SelectionBox
*
GetSelectionBox
480
(
481
const
NXString
& itemIdentifier
482
);
486
NXOpen::UIStyler::SelectionBox
*
GetSelectionBox
487
(
488
const
char
* itemIdentifier
489
);
493
public
:
NXOpen::UIStyler::Separator
*
GetSeparator
494
(
495
const
NXString
& itemIdentifier
496
);
500
NXOpen::UIStyler::Separator
*
GetSeparator
501
(
502
const
char
* itemIdentifier
503
);
507
public
:
NXOpen::UIStyler::SingleSelectList
*
GetSingleSelectList
508
(
509
const
NXString
& itemIdentifier
510
);
514
NXOpen::UIStyler::SingleSelectList
*
GetSingleSelectList
515
(
516
const
char
* itemIdentifier
517
);
521
public
:
NXOpen::UIStyler::StringItem
*
GetStringItem
522
(
523
const
NXString
& itemIdentifier
524
);
528
NXOpen::UIStyler::StringItem
*
GetStringItem
529
(
530
const
char
* itemIdentifier
531
);
535
public
:
NXOpen::UIStyler::TabControl
*
GetTabControl
536
(
537
const
NXString
& itemIdentifier
538
);
542
NXOpen::UIStyler::TabControl
*
GetTabControl
543
(
544
const
char
* itemIdentifier
545
);
549
public
:
NXOpen::UIStyler::Toggle
*
GetToggle
550
(
551
const
NXString
& itemIdentifier
552
);
556
NXOpen::UIStyler::Toggle
*
GetToggle
557
(
558
const
char
* itemIdentifier
559
);
563
public
:
NXOpen::UIStyler::ToolPalette
*
GetToolPalette
564
(
565
const
NXString
& itemIdentifier
566
);
570
NXOpen::UIStyler::ToolPalette
*
GetToolPalette
571
(
572
const
char
* itemIdentifier
573
);
577
public
:
NXOpen::UIStyler::LabelItem
*
GetLabelItem
578
(
579
const
NXString
& itemIdentifier
580
);
584
NXOpen::UIStyler::LabelItem
*
GetLabelItem
585
(
586
const
char
* itemIdentifier
587
);
591
public
:
NXOpen::UIStyler::CollapsibleGroup
*
GetCollapsibleGroup
592
(
593
const
NXString
& itemIdentifier
594
);
598
NXOpen::UIStyler::CollapsibleGroup
*
GetCollapsibleGroup
599
(
600
const
char
* itemIdentifier
601
);
605
public
:
NXOpen::UIStyler::WideString
*
GetWideString
606
(
607
const
NXString
& itemIdentifier
608
);
612
NXOpen::UIStyler::WideString
*
GetWideString
613
(
614
const
char
* itemIdentifier
615
);
619
public
:
NXOpen::UIStyler::StylerItem
*
GetStylerItem
620
(
621
const
NXString
& itemIdentifier ,
622
NXOpen::UIStyler::Dialog::ItemType
type
623
);
627
NXOpen::UIStyler::StylerItem
*
GetStylerItem
628
(
629
const
char
* itemIdentifier ,
630
NXOpen::UIStyler::Dialog::ItemType
type
631
);
635
public
:
NXOpen::UIStyler::StylerItem
*
GetDialogItemUsingSelectionHandle
636
(
637
NXOpen::SelectionHandle
* select
638
);
645
public
:
NXOpen::UIStyler::DialogResponse
Show
646
(
647
);
651
public
:
void
RegisterWithUiMenu
652
(
653
bool
isTopDialog
654
);
655
};
//lint !e1712 default constructor not defined for class
656
}
657
}
658
#ifdef _MSC_VER
659
#pragma warning(pop)
660
#endif
661
#ifdef __GNUC__
662
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
663
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
664
#endif
665
#endif
666
#undef EXPORTLIBRARY