xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
结构体 | Public 成员函数 | 静态 Public 属性
QwtPlotItem类 参考
类 QwtPlotItem 继承关系图:
QCore QwtPlotCurve QwtPlotLegendItem QwtPlotMarker QwtPlotSeriesItem QwtPlotAbstractBarChart QwtPlotBarChart QwtPlotMultiBarChart

结构体

enum  ItemAttribute
 
enum  ItemInterest
 
enum  RttiValues
 

Public 成员函数

静态 Public 属性

额外继承的成员函数

详细描述

在文件 QwtPlotItem.x5 行定义.

成员函数说明

◆ attach()

void attach ( QwtPlot  plot)

在文件 QwtPlotItem.x111 行定义.

111 {
112 QtXnl.widget_set_native_value(nativehandle, Constant.QwtPlotItem_attach, plot.nativehandle);
113 }
QwtPlot plot()

◆ detach()

void detach ( )

在文件 QwtPlotItem.x114 行定义.

114 {
115 QtXnl.widget_slot(nativehandle, Constant.QwtPlotItem_detach);
116 }

◆ hide()

void hide ( )

在文件 QwtPlotItem.x191 行定义.

191 {
192 QtXnl.widget_slot(nativehandle, Constant.QwtPlotItem_hide);
193 }

◆ isVisible()

bool isVisible ( )

在文件 QwtPlotItem.x199 行定义.

199 {
200 return QtXnl.widget_get_bool_value(nativehandle, Constant.QwtPlotItem_isVisible);
201 }

◆ legendIconSize()

QSize legendIconSize ( )

在文件 QwtPlotItem.x174 行定义.

174 {
175 long lsize = QtXnl.long_get(nativehandle, Constant.QwtPlotItem_legendIconSize);
176 return new QSize(lsize >> 32 & 0xffffffff, lsize & 0xffffffff);
177 }

◆ plot()

QwtPlot plot ( )

在文件 QwtPlotItem.x118 行定义.

118 {
119 return (QwtPlot)QtXnl.object_get_handle(nativehandle, Constant.QwtPlotItem_plot, 0);
120 }

◆ renderThreadCount()

int renderThreadCount ( )

在文件 QwtPlotItem.x166 行定义.

166 {
167 return QtXnl.widget_get_int_value(nativehandle, Constant.QwtPlotItem_renderThreadCount);
168 }

◆ rtti()

int rtti ( )

在文件 QwtPlotItem.x134 行定义.

134 {
135 return QtXnl.widget_get_int_value(nativehandle, Constant.QwtPlotItem_rtti);
136 }

◆ setAxes()

void setAxes ( int  xAxis,
int  yAxis 
)

在文件 QwtPlotItem.x203 行定义.

203 {
204 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_setAxes, xAxis, yAxis);
205 }

◆ setItemAttribute()

void setItemAttribute ( ItemAttribute  n,
bool  on 
)

在文件 QwtPlotItem.x138 行定义.

138 {
139 QtXnl.int_long_int_long_int_int(nativehandle, Constant.QwtPlotItem_setItemAttribute, 0, n, on ? 1 : 0);
140 }

◆ setItemInterest()

void setItemInterest ( ItemInterest  n,
bool  on 
)

在文件 QwtPlotItem.x146 行定义.

146 {
147 QtXnl.int_long_int_long_int_int(nativehandle, Constant.QwtPlotItem_setItemInterest, 0, n, on ? 1 : 0);
148 }

◆ setLegendIconSize()

void setLegendIconSize ( QSize  s)

在文件 QwtPlotItem.x170 行定义.

170 {
171 QtXnl.native_double2(nativehandle, Constant.QwtPlotItem_setLegendIconSize, s.cx, s.cy);
172 }

◆ setRenderHint()

void setRenderHint ( int  n,
bool  on 
)

在文件 QwtPlotItem.x154 行定义.

154 {
155 QtXnl.int_long_int_long_int_int(nativehandle, Constant.QwtPlotItem_setRenderHint, 0, n, on ? 1 : 0);
156 }

◆ setRenderThreadCount()

void setRenderThreadCount ( int  numThreads)

在文件 QwtPlotItem.x162 行定义.

162 {
163 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_setRenderThreadCount, numThreads, 0) != 0;
164 }

◆ setTitle()

void setTitle ( String  title)

QwtPlotCurve 重载.

在文件 QwtPlotItem.x122 行定义.

122 {
123 QtXnl.widget_slot_string(nativehandle, Constant.QwtPlotItem_SETTITLE, title);
124 }

◆ setVisible()

void setVisible ( bool  v)

在文件 QwtPlotItem.x195 行定义.

195 {
196 QtXnl.widget_set_bool_value(nativehandle, Constant.QwtPlotItem_setVisible, v);
197 }

◆ setXAxis()

void setXAxis ( int  x)

在文件 QwtPlotItem.x207 行定义.

207 {
208 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_setXAxis, x, 0);
209 }

◆ setYAxis()

void setYAxis ( int  x)

在文件 QwtPlotItem.x215 行定义.

215 {
216 QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_setYAxis, x, 0);
217 }

◆ setZ()

void setZ ( double  z)

在文件 QwtPlotItem.x183 行定义.

183 {
184 QtXnl.widget_set_double_value(nativehandle,Constant.QwtPlotItem_setZ, z);
185 }

◆ show()

void show ( )

在文件 QwtPlotItem.x187 行定义.

187 {
188 QtXnl.widget_slot(nativehandle, Constant.QwtPlotItem_show);
189 }

◆ testItemAttribute()

bool testItemAttribute ( ItemAttribute  n)

在文件 QwtPlotItem.x142 行定义.

142 {
143 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_testItemAttribute, n, 0) != 0;
144 }

◆ testItemInterest()

bool testItemInterest ( ItemInterest  n)

在文件 QwtPlotItem.x150 行定义.

150 {
151 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_testItemInterest, n, 0) != 0;
152 }

◆ testRenderHint()

bool testRenderHint ( int  n)

在文件 QwtPlotItem.x158 行定义.

158 {
159 return QtXnl.widget_set_v2int_value(nativehandle, Constant.QwtPlotItem_testRenderHint, n, 0) != 0;
160 }

◆ title()

String title ( )

在文件 QwtPlotItem.x130 行定义.

130 {
131 return (String)QtXnl.core_getString(nativehandle, Constant.QwtPlotItem_title);
132 }
字符串类

◆ xAxis()

int xAxis ( )

在文件 QwtPlotItem.x211 行定义.

211 {
212 return QtXnl.widget_get_int_value(nativehandle, Constant.QwtPlotItem_xAxis);
213 }

◆ yAxis()

int yAxis ( )

在文件 QwtPlotItem.x219 行定义.

219 {
220 return QtXnl.widget_get_int_value(nativehandle, Constant.QwtPlotItem_yAxis);
221 }

◆ z()

double z ( )

在文件 QwtPlotItem.x179 行定义.

179 {
180 return QtXnl.widget_get_double_value(nativehandle,Constant.QwtPlotItem_z);
181 }

结构体成员变量说明

◆ RenderAntialiased

const int RenderAntialiased = 1
static

在文件 QwtPlotItem.x6 行定义.