NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
UIStyler_Attachment.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// Header for C++ interface to JA API
5
//--------------------------------------------------------------------------
6
//
7
// Source File:
8
// UIStyler_Attachment.ja
9
//
10
// Generated by:
11
// apiwrap
12
//
13
// WARNING:
14
// This file is automatically generated - do not edit by hand
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/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
30
namespace
NXOpen
31
{
32
namespace
UIStyler
33
{
34
class
Attachment
;
35
}
36
namespace
UIStyler
37
{
38
}
39
namespace
UIStyler
40
{
41
class
AttachmentImpl;
45
class
NXOPENUICPPEXPORT
Attachment
:
public
NXOpen::TransientObject
46
{
48
public
:
enum
AttachType
49
{
50
AttachTypeDialog
,
51
AttachTypeDefault
,
52
AttachTypeNone
,
53
AttachTypeNoChange
,
54
AttachTypeItem
55
};
56
private
:
AttachmentImpl
* m_attachment_impl;
58
public
:
explicit
Attachment
(
void
*ptr);
60
66
public
:
virtual
~Attachment
();
70
public
:
void
SetCenter
71
(
72
bool
isCenter
73
);
77
public
:
void
SetAttachTypeTop
78
(
79
NXOpen::UIStyler::Attachment::AttachType
attachTypeTop
80
);
84
public
:
void
SetAttachTypeLeft
85
(
86
NXOpen::UIStyler::Attachment::AttachType
attachTypeLeft
87
);
91
public
:
void
SetAttachTypeRight
92
(
93
NXOpen::UIStyler::Attachment::AttachType
attachTypeRight
94
);
98
public
:
void
SetTopOffset
99
(
100
int
offsetTop
101
);
105
public
:
void
SetLeftOffset
106
(
107
int
offsetLeft
108
);
112
public
:
void
SetRightOffset
113
(
114
int
offsetRight
115
);
119
public
:
void
SetTopDialogItem
120
(
121
const
NXString
& topItemIdentifire
122
);
126
void
SetTopDialogItem
127
(
128
const
char
* topItemIdentifire
129
);
133
public
:
void
SetLeftDialogItem
134
(
135
const
NXString
& leftItemIdentifire
136
);
140
void
SetLeftDialogItem
141
(
142
const
char
* leftItemIdentifire
143
);
147
public
:
void
SetRightDialogItem
148
(
149
const
NXString
& rightItemIdentifire
150
);
154
void
SetRightDialogItem
155
(
156
const
char
* rightItemIdentifire
157
);
158
};
//lint !e1712 default constructor not defined for class
159
}
160
}
161
#ifdef _MSC_VER
162
#pragma warning(pop)
163
#endif
164
#ifdef __GNUC__
165
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
166
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
167
#endif
168
#endif
169
#undef EXPORTLIBRARY