xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数
QScintilla.QSciPrinter类 参考
类 QScintilla.QSciPrinter 继承关系图:
QPrinter

Public 成员函数

额外继承的成员函数

详细描述

在文件 QSci.xcsm5 行定义.

构造及析构函数说明

◆ QSciPrinter() [1/3]

QSciPrinter ( ) throws IllegalArgumentException

在文件 QSci.xcsm6 行定义.

6 {
7 nativehandle = QtXnl.createQPObject(QType.qtSciPrinter, this, 0, PrinterMode.ScreenResolution, 0, 0, 0);
8 if (nativehandle == 0) {
9 throw new IllegalArgumentException("can't new Object");
10 }
11 }
long nativehandle
Definition QNative.xcsm:91

◆ QSciPrinter() [2/3]

QSciPrinter ( long  handle) throws IllegalArgumentException

在文件 QSci.xcsm13 行定义.

13 {
14 setNeedDelloc(false);
15 nativehandle = handle;
16 }
void setNeedDelloc(bool bd)
Definition QPrinter.xcsm:78

◆ QSciPrinter() [3/3]

QSciPrinter ( PrinterMode  mode) throws IllegalArgumentException

在文件 QSci.xcsm18 行定义.

18 {
19 nativehandle = QtXnl.createQPObject(QType.qtSciPrinter, this, 0, mode, 0, 0, 0);
20 if (nativehandle == 0) {
21 throw new IllegalArgumentException("can't new Object");
22 }
23 }

成员函数说明

◆ finalize()

void finalize ( )
override

重载 QPrinter .

在文件 QSci.xcsm29 行定义.

29 {
30 if (isNeedDelloc()){
31 QtXnl.widget_slot(nativehandle, Constant.SCIPRINTERDTOR);
32 }
33 }
bool isNeedDelloc()
Definition QPrinter.xcsm:82

◆ printRange()

void printRange ( @NotNilptr QScintilla  sci,
int  from,
int  to_ 
)

在文件 QSci.xcsm25 行定义.

25 {
26 QtXnl.widget_set_intlongint_value(nativehandle, Constant.PRINTSCIRANGE, sci.nativehandle, from, to_);
27 }