API reference - Class QPrinter_PageSize

Notation used in Ruby API documentation

Description: This class represents the QPrinter::PageSize enum

Class hierarchy: QPrinter_PageSize » QPrinter_QFlags_PageSize

Public constructors

new QPrinter_PageSizenew(unsigned int value)Creates the enum object from an integer

Public methods

[const]bool==(QPrinter_PageSize other)Compares the enum class against an enum of it's own type
[const]bool==(unsigned int other)Compares the enum class against an integer
[const]voidassign(const QPrinter_PageSize other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QPrinter_PageSizedupCreates a copy of self
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]unsigned intto_iConverts the enum class to an integer
[const]stringto_sConverts the enum class to a string

Public static methods and constants

new QPrinter_PageSizeA0Enum constant QPrinter::A0
new QPrinter_PageSizeA1Enum constant QPrinter::A1
new QPrinter_PageSizeA2Enum constant QPrinter::A2
new QPrinter_PageSizeA3Enum constant QPrinter::A3
new QPrinter_PageSizeA4Enum constant QPrinter::A4
new QPrinter_PageSizeA5Enum constant QPrinter::A5
new QPrinter_PageSizeA6Enum constant QPrinter::A6
new QPrinter_PageSizeA7Enum constant QPrinter::A7
new QPrinter_PageSizeA8Enum constant QPrinter::A8
new QPrinter_PageSizeA9Enum constant QPrinter::A9
new QPrinter_PageSizeB0Enum constant QPrinter::B0
new QPrinter_PageSizeB1Enum constant QPrinter::B1
new QPrinter_PageSizeB10Enum constant QPrinter::B10
new QPrinter_PageSizeB2Enum constant QPrinter::B2
new QPrinter_PageSizeB3Enum constant QPrinter::B3
new QPrinter_PageSizeB4Enum constant QPrinter::B4
new QPrinter_PageSizeB5Enum constant QPrinter::B5
new QPrinter_PageSizeB6Enum constant QPrinter::B6
new QPrinter_PageSizeB7Enum constant QPrinter::B7
new QPrinter_PageSizeB8Enum constant QPrinter::B8
new QPrinter_PageSizeB9Enum constant QPrinter::B9
new QPrinter_PageSizeC5EEnum constant QPrinter::C5E
new QPrinter_PageSizeComm10EEnum constant QPrinter::Comm10E
new QPrinter_PageSizeCustomEnum constant QPrinter::Custom
new QPrinter_PageSizeDLEEnum constant QPrinter::DLE
new QPrinter_PageSizeExecutiveEnum constant QPrinter::Executive
new QPrinter_PageSizeFolioEnum constant QPrinter::Folio
new QPrinter_PageSizeLedgerEnum constant QPrinter::Ledger
new QPrinter_PageSizeLegalEnum constant QPrinter::Legal
new QPrinter_PageSizeLetterEnum constant QPrinter::Letter
new QPrinter_PageSizeNPageSizeEnum constant QPrinter::NPageSize
new QPrinter_PageSizeNPaperSizeEnum constant QPrinter::NPaperSize
new QPrinter_PageSizeTabloidEnum constant QPrinter::Tabloid

Detailed description

[const] bool ==(QPrinter_PageSize other)

Description: Compares the enum class against an enum of it's own type

[const] bool ==(unsigned int other)

Description: Compares the enum class against an integer

[static] new QPrinter_PageSize A0

Description: Enum constant QPrinter::A0

[static] new QPrinter_PageSize A1

Description: Enum constant QPrinter::A1

[static] new QPrinter_PageSize A2

Description: Enum constant QPrinter::A2

[static] new QPrinter_PageSize A3

Description: Enum constant QPrinter::A3

[static] new QPrinter_PageSize A4

Description: Enum constant QPrinter::A4

[static] new QPrinter_PageSize A5

Description: Enum constant QPrinter::A5

[static] new QPrinter_PageSize A6

Description: Enum constant QPrinter::A6

[static] new QPrinter_PageSize A7

Description: Enum constant QPrinter::A7

[static] new QPrinter_PageSize A8

Description: Enum constant QPrinter::A8

[static] new QPrinter_PageSize A9

Description: Enum constant QPrinter::A9

[static] new QPrinter_PageSize B0

Description: Enum constant QPrinter::B0

[static] new QPrinter_PageSize B1

Description: Enum constant QPrinter::B1

[static] new QPrinter_PageSize B10

Description: Enum constant QPrinter::B10

[static] new QPrinter_PageSize B2

Description: Enum constant QPrinter::B2

[static] new QPrinter_PageSize B3

Description: Enum constant QPrinter::B3

[static] new QPrinter_PageSize B4

Description: Enum constant QPrinter::B4

[static] new QPrinter_PageSize B5

Description: Enum constant QPrinter::B5

[static] new QPrinter_PageSize B6

Description: Enum constant QPrinter::B6

[static] new QPrinter_PageSize B7

Description: Enum constant QPrinter::B7

[static] new QPrinter_PageSize B8

Description: Enum constant QPrinter::B8

[static] new QPrinter_PageSize B9

Description: Enum constant QPrinter::B9

[static] new QPrinter_PageSize C5E

Description: Enum constant QPrinter::C5E

[static] new QPrinter_PageSize Comm10E

Description: Enum constant QPrinter::Comm10E

[static] new QPrinter_PageSize Custom

Description: Enum constant QPrinter::Custom

[static] new QPrinter_PageSize DLE

Description: Enum constant QPrinter::DLE

[static] new QPrinter_PageSize Executive

Description: Enum constant QPrinter::Executive

[static] new QPrinter_PageSize Folio

Description: Enum constant QPrinter::Folio

[static] new QPrinter_PageSize Ledger

Description: Enum constant QPrinter::Ledger

[static] new QPrinter_PageSize Legal

Description: Enum constant QPrinter::Legal

[static] new QPrinter_PageSize Letter

Description: Enum constant QPrinter::Letter

[static] new QPrinter_PageSize NPageSize

Description: Enum constant QPrinter::NPageSize

[static] new QPrinter_PageSize NPaperSize

Description: Enum constant QPrinter::NPaperSize

[static] new QPrinter_PageSize Tabloid

Description: Enum constant QPrinter::Tabloid

[const] void assign(const QPrinter_PageSize other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

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.

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[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.

[const] QPrinter_PageSize dup

Description: Creates a copy of self

[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.

[static] new QPrinter_PageSize new(unsigned int value)

Description: Creates the enum object from an integer

[const] unsigned int to_i

Description: Converts the enum class to an integer

[const] string to_s

Description: Converts the enum class to a string