Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QPageLayout
Sub-classes: Mode, QFlags_Mode, Orientation, QFlags_Orientation, Unit, QFlags_Unit
new QPageLayout | new | Constructor QPageLayout::QPageLayout() | |
new QPageLayout | new | (const QPageSize pageSize, const QPageLayout_Orientation orientation, const QMarginsF margins, const QPageLayout_Unit units = QPageLayout::Point, const QMarginsF minMargins = QMarginsF(0, 0, 0, 0)) | Constructor QPageLayout::QPageLayout(const QPageSize &pageSize, QPageLayout::Orientation orientation, const QMarginsF &margins, QPageLayout::Unit units, const QMarginsF &minMargins) |
new QPageLayout | new | (const QPageLayout other) | Constructor QPageLayout::QPageLayout(const QPageLayout &other) |
[const] | bool | != | (const QPageLayout rhs) | Operator bool ::operator!=(const QPageLayout &lhs, const QPageLayout &rhs) |
[const] | bool | == | (const QPageLayout rhs) | Operator bool ::operator==(const QPageLayout &lhs, const QPageLayout &rhs) |
void | _assign | (const QPageLayout other) | Assigns another object to self | |
[const] | QPageLayout ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
QPageLayout | assign | (const QPageLayout other) | Method QPageLayout &QPageLayout::operator=(const QPageLayout &other) | |
[const] | new QPageLayout ptr | dup | Creates a copy of self | |
[const] | QRectF | fullRect | Method QRectF QPageLayout::fullRect() | |
[const] | QRectF | fullRect | (const QPageLayout_Unit units) | Method QRectF QPageLayout::fullRect(QPageLayout::Unit units) |
[const] | QRect | fullRectPixels | (int resolution) | Method QRect QPageLayout::fullRectPixels(int resolution) |
[const] | QRect | fullRectPoints | Method QRect QPageLayout::fullRectPoints() | |
[const] | bool | isEquivalentTo? | (const QPageLayout other) | Method bool QPageLayout::isEquivalentTo(const QPageLayout &other) |
[const] | bool | isValid? | Method bool QPageLayout::isValid() | |
[const] | QMarginsF | margins | Method QMarginsF QPageLayout::margins() | |
[const] | QMarginsF | margins | (const QPageLayout_Unit units) | Method QMarginsF QPageLayout::margins(QPageLayout::Unit units) |
[const] | QMargins | marginsPixels | (int resolution) | Method QMargins QPageLayout::marginsPixels(int resolution) |
[const] | QMargins | marginsPoints | Method QMargins QPageLayout::marginsPoints() | |
[const] | QMarginsF | maximumMargins | Method QMarginsF QPageLayout::maximumMargins() | |
[const] | QMarginsF | minimumMargins | Method QMarginsF QPageLayout::minimumMargins() | |
void | minimumMargins= | (const QMarginsF minMargins) | Method void QPageLayout::setMinimumMargins(const QMarginsF &minMargins) | |
[const] | QPageLayout_Mode | mode | Method QPageLayout::Mode QPageLayout::mode() | |
void | mode= | (const QPageLayout_Mode mode) | Method void QPageLayout::setMode(QPageLayout::Mode mode) | |
[const] | QPageLayout_Orientation | orientation | Method QPageLayout::Orientation QPageLayout::orientation() | |
void | orientation= | (const QPageLayout_Orientation orientation) | Method void QPageLayout::setOrientation(QPageLayout::Orientation orientation) | |
[const] | QPageSize | pageSize | Method QPageSize QPageLayout::pageSize() | |
[const] | QRectF | paintRect | Method QRectF QPageLayout::paintRect() | |
[const] | QRectF | paintRect | (const QPageLayout_Unit units) | Method QRectF QPageLayout::paintRect(QPageLayout::Unit units) |
[const] | QRect | paintRectPixels | (int resolution) | Method QRect QPageLayout::paintRectPixels(int resolution) |
[const] | QRect | paintRectPoints | Method QRect QPageLayout::paintRectPoints() | |
bool | setBottomMargin | (double bottomMargin) | Method bool QPageLayout::setBottomMargin(double bottomMargin) | |
bool | setLeftMargin | (double leftMargin) | Method bool QPageLayout::setLeftMargin(double leftMargin) | |
bool | setMargins | (const QMarginsF margins) | Method bool QPageLayout::setMargins(const QMarginsF &margins) | |
void | setMinimumMargins | (const QMarginsF minMargins) | Method void QPageLayout::setMinimumMargins(const QMarginsF &minMargins) | |
void | setMode | (const QPageLayout_Mode mode) | Method void QPageLayout::setMode(QPageLayout::Mode mode) | |
void | setOrientation | (const QPageLayout_Orientation orientation) | Method void QPageLayout::setOrientation(QPageLayout::Orientation orientation) | |
void | setPageSize | (const QPageSize pageSize, const QMarginsF minMargins = QMarginsF(0, 0, 0, 0)) | Method void QPageLayout::setPageSize(const QPageSize &pageSize, const QMarginsF &minMargins) | |
bool | setRightMargin | (double rightMargin) | Method bool QPageLayout::setRightMargin(double rightMargin) | |
bool | setTopMargin | (double topMargin) | Method bool QPageLayout::setTopMargin(double topMargin) | |
void | setUnits | (const QPageLayout_Unit units) | Method void QPageLayout::setUnits(QPageLayout::Unit units) | |
void | swap | (QPageLayout other) | Method void QPageLayout::swap(QPageLayout &other) | |
[const] | QPageLayout_Unit | units | Method QPageLayout::Unit QPageLayout::units() | |
void | units= | (const QPageLayout_Unit units) | Method void QPageLayout::setUnits(QPageLayout::Unit units) |
[static,const] | QPageLayout_Unit | Cicero | Enum constant QPageLayout::Cicero | |
[static,const] | QPageLayout_Unit | Didot | Enum constant QPageLayout::Didot | |
[static,const] | QPageLayout_Mode | FullPageMode | Enum constant QPageLayout::FullPageMode | |
[static,const] | QPageLayout_Unit | Inch | Enum constant QPageLayout::Inch | |
[static,const] | QPageLayout_Orientation | Landscape | Enum constant QPageLayout::Landscape | |
[static,const] | QPageLayout_Unit | Millimeter | Enum constant QPageLayout::Millimeter | |
[static,const] | QPageLayout_Unit | Pica | Enum constant QPageLayout::Pica | |
[static,const] | QPageLayout_Unit | Point | Enum constant QPageLayout::Point | |
[static,const] | QPageLayout_Orientation | Portrait | Enum constant QPageLayout::Portrait | |
[static,const] | QPageLayout_Mode | StandardMode | Enum constant QPageLayout::StandardMode |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QPageLayout rhs) Description: Operator bool ::operator!=(const QPageLayout &lhs, const QPageLayout &rhs) This is the mapping of the global operator to the instance method. |
== | Signature: [const] bool == (const QPageLayout rhs) Description: Operator bool ::operator==(const QPageLayout &lhs, const QPageLayout &rhs) This is the mapping of the global operator to the instance method. |
Cicero | Signature: [static,const] QPageLayout_Unit Cicero Description: Enum constant QPageLayout::Cicero Python specific notes: |
Didot | Signature: [static,const] QPageLayout_Unit Didot Description: Enum constant QPageLayout::Didot Python specific notes: |
FullPageMode | Signature: [static,const] QPageLayout_Mode FullPageMode Description: Enum constant QPageLayout::FullPageMode Python specific notes: |
Inch | Signature: [static,const] QPageLayout_Unit Inch Description: Enum constant QPageLayout::Inch Python specific notes: |
Landscape | Signature: [static,const] QPageLayout_Orientation Landscape Description: Enum constant QPageLayout::Landscape Python specific notes: |
Millimeter | Signature: [static,const] QPageLayout_Unit Millimeter Description: Enum constant QPageLayout::Millimeter Python specific notes: |
Pica | Signature: [static,const] QPageLayout_Unit Pica Description: Enum constant QPageLayout::Pica Python specific notes: |
Point | Signature: [static,const] QPageLayout_Unit Point Description: Enum constant QPageLayout::Point Python specific notes: |
Portrait | Signature: [static,const] QPageLayout_Orientation Portrait Description: Enum constant QPageLayout::Portrait Python specific notes: |
StandardMode | Signature: [static,const] QPageLayout_Mode StandardMode Description: Enum constant QPageLayout::StandardMode Python specific notes: |
_assign | Signature: void _assign (const QPageLayout other) Description: Assigns another object to self |
_const_cast | Signature: [const] QPageLayout ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
assign | Signature: QPageLayout assign (const QPageLayout other) Description: Method QPageLayout &QPageLayout::operator=(const QPageLayout &other) |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed? | Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
dup | Signature: [const] new QPageLayout ptr dup Description: Creates a copy of self Python specific notes: |
fullRect | (1) Signature: [const] QRectF fullRect Description: Method QRectF QPageLayout::fullRect() |
(2) Signature: [const] QRectF fullRect (const QPageLayout_Unit units) Description: Method QRectF QPageLayout::fullRect(QPageLayout::Unit units) | |
fullRectPixels | Signature: [const] QRect fullRectPixels (int resolution) Description: Method QRect QPageLayout::fullRectPixels(int resolution) |
fullRectPoints | Signature: [const] QRect fullRectPoints Description: Method QRect QPageLayout::fullRectPoints() |
isEquivalentTo? | Signature: [const] bool isEquivalentTo? (const QPageLayout other) Description: Method bool QPageLayout::isEquivalentTo(const QPageLayout &other) |
isValid? | Signature: [const] bool isValid? Description: Method bool QPageLayout::isValid() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
margins | (1) Signature: [const] QMarginsF margins Description: Method QMarginsF QPageLayout::margins() |
(2) Signature: [const] QMarginsF margins (const QPageLayout_Unit units) Description: Method QMarginsF QPageLayout::margins(QPageLayout::Unit units) | |
marginsPixels | Signature: [const] QMargins marginsPixels (int resolution) Description: Method QMargins QPageLayout::marginsPixels(int resolution) |
marginsPoints | Signature: [const] QMargins marginsPoints Description: Method QMargins QPageLayout::marginsPoints() |
maximumMargins | Signature: [const] QMarginsF maximumMargins Description: Method QMarginsF QPageLayout::maximumMargins() |
minimumMargins | Signature: [const] QMarginsF minimumMargins Description: Method QMarginsF QPageLayout::minimumMargins() Python specific notes: |
minimumMargins= | Signature: void minimumMargins= (const QMarginsF minMargins) Description: Method void QPageLayout::setMinimumMargins(const QMarginsF &minMargins) Python specific notes: |
mode | Signature: [const] QPageLayout_Mode mode Description: Method QPageLayout::Mode QPageLayout::mode() Python specific notes: |
mode= | Signature: void mode= (const QPageLayout_Mode mode) Description: Method void QPageLayout::setMode(QPageLayout::Mode mode) Python specific notes: |
new | (1) Signature: [static] new QPageLayout new Description: Constructor QPageLayout::QPageLayout() This method creates an object of class QPageLayout. Python specific notes: |
(2) Signature: [static] new QPageLayout new (const QPageSize pageSize, const QPageLayout_Orientation orientation, const QMarginsF margins, const QPageLayout_Unit units = QPageLayout::Point, const QMarginsF minMargins = QMarginsF(0, 0, 0, 0)) Description: Constructor QPageLayout::QPageLayout(const QPageSize &pageSize, QPageLayout::Orientation orientation, const QMarginsF &margins, QPageLayout::Unit units, const QMarginsF &minMargins) This method creates an object of class QPageLayout. Python specific notes: | |
(3) Signature: [static] new QPageLayout new (const QPageLayout other) Description: Constructor QPageLayout::QPageLayout(const QPageLayout &other) This method creates an object of class QPageLayout. Python specific notes: | |
orientation | Signature: [const] QPageLayout_Orientation orientation Description: Method QPageLayout::Orientation QPageLayout::orientation() Python specific notes: |
orientation= | Signature: void orientation= (const QPageLayout_Orientation orientation) Description: Method void QPageLayout::setOrientation(QPageLayout::Orientation orientation) Python specific notes: |
pageSize | Signature: [const] QPageSize pageSize Description: Method QPageSize QPageLayout::pageSize() Python specific notes: |
paintRect | (1) Signature: [const] QRectF paintRect Description: Method QRectF QPageLayout::paintRect() |
(2) Signature: [const] QRectF paintRect (const QPageLayout_Unit units) Description: Method QRectF QPageLayout::paintRect(QPageLayout::Unit units) | |
paintRectPixels | Signature: [const] QRect paintRectPixels (int resolution) Description: Method QRect QPageLayout::paintRectPixels(int resolution) |
paintRectPoints | Signature: [const] QRect paintRectPoints Description: Method QRect QPageLayout::paintRectPoints() |
setBottomMargin | Signature: bool setBottomMargin (double bottomMargin) Description: Method bool QPageLayout::setBottomMargin(double bottomMargin) |
setLeftMargin | Signature: bool setLeftMargin (double leftMargin) Description: Method bool QPageLayout::setLeftMargin(double leftMargin) |
setMargins | Signature: bool setMargins (const QMarginsF margins) Description: Method bool QPageLayout::setMargins(const QMarginsF &margins) |
setMinimumMargins | Signature: void setMinimumMargins (const QMarginsF minMargins) Description: Method void QPageLayout::setMinimumMargins(const QMarginsF &minMargins) Python specific notes: |
setMode | Signature: void setMode (const QPageLayout_Mode mode) Description: Method void QPageLayout::setMode(QPageLayout::Mode mode) Python specific notes: |
setOrientation | Signature: void setOrientation (const QPageLayout_Orientation orientation) Description: Method void QPageLayout::setOrientation(QPageLayout::Orientation orientation) Python specific notes: |
setPageSize | Signature: void setPageSize (const QPageSize pageSize, const QMarginsF minMargins = QMarginsF(0, 0, 0, 0)) Description: Method void QPageLayout::setPageSize(const QPageSize &pageSize, const QMarginsF &minMargins) |
setRightMargin | Signature: bool setRightMargin (double rightMargin) Description: Method bool QPageLayout::setRightMargin(double rightMargin) |
setTopMargin | Signature: bool setTopMargin (double topMargin) Description: Method bool QPageLayout::setTopMargin(double topMargin) |
setUnits | Signature: void setUnits (const QPageLayout_Unit units) Description: Method void QPageLayout::setUnits(QPageLayout::Unit units) Python specific notes: |
swap | Signature: void swap (QPageLayout other) Description: Method void QPageLayout::swap(QPageLayout &other) |
units | Signature: [const] QPageLayout_Unit units Description: Method QPageLayout::Unit QPageLayout::units() Python specific notes: |
units= | Signature: void units= (const QPageLayout_Unit units) Description: Method void QPageLayout::setUnits(QPageLayout::Unit units) Python specific notes: |