API reference - Class QTextTableCellFormat

Notation used in Ruby API documentation

Description: Binding of QTextTableCellFormat

Class hierarchy: QTextTableCellFormat » QTextCharFormat » QTextFormat

Public constructors

new QTextTableCellFormatnewConstructor QTextTableCellFormat::QTextTableCellFormat()

Public methods

[const]voidassign(const QTextTableCellFormat other)Assign the contents of another object to self
[const]doublebottomPaddingMethod double QTextTableCellFormat::bottomPadding()
voidbottomPadding=(double padding)Method void QTextTableCellFormat::setBottomPadding(double padding)
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QTextTableCellFormatdupCreates a copy of self
[const]boolisValidMethod bool QTextTableCellFormat::isValid()
[const]boolisValid?Method bool QTextTableCellFormat::isValid()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]doubleleftPaddingMethod double QTextTableCellFormat::leftPadding()
voidleftPadding=(double padding)Method void QTextTableCellFormat::setLeftPadding(double padding)
[const]doublerightPaddingMethod double QTextTableCellFormat::rightPadding()
voidrightPadding=(double padding)Method void QTextTableCellFormat::setRightPadding(double padding)
voidsetBottomPadding(double padding)Method void QTextTableCellFormat::setBottomPadding(double padding)
voidsetLeftPadding(double padding)Method void QTextTableCellFormat::setLeftPadding(double padding)
voidsetPadding(double padding)Method void QTextTableCellFormat::setPadding(double padding)
voidsetRightPadding(double padding)Method void QTextTableCellFormat::setRightPadding(double padding)
voidsetTopPadding(double padding)Method void QTextTableCellFormat::setTopPadding(double padding)
[const]doubletopPaddingMethod double QTextTableCellFormat::topPadding()
voidtopPadding=(double padding)Method void QTextTableCellFormat::setTopPadding(double padding)

Detailed description

[const] void assign(const QTextTableCellFormat 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.

[const] double bottomPadding

Description: Method double QTextTableCellFormat::bottomPadding()

void bottomPadding=(double padding)

Description: Method void QTextTableCellFormat::setBottomPadding(double padding)

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] QTextTableCellFormat dup

Description: Creates a copy of self

[const] bool isValid

Description: Method bool QTextTableCellFormat::isValid()

[const] bool isValid?

Description: Method bool QTextTableCellFormat::isValid()

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

[const] double leftPadding

Description: Method double QTextTableCellFormat::leftPadding()

void leftPadding=(double padding)

Description: Method void QTextTableCellFormat::setLeftPadding(double padding)

[static] new QTextTableCellFormat new

Description: Constructor QTextTableCellFormat::QTextTableCellFormat()

This method creates an object of class QTextTableCellFormat.

[const] double rightPadding

Description: Method double QTextTableCellFormat::rightPadding()

void rightPadding=(double padding)

Description: Method void QTextTableCellFormat::setRightPadding(double padding)

void setBottomPadding(double padding)

Description: Method void QTextTableCellFormat::setBottomPadding(double padding)

void setLeftPadding(double padding)

Description: Method void QTextTableCellFormat::setLeftPadding(double padding)

void setPadding(double padding)

Description: Method void QTextTableCellFormat::setPadding(double padding)

void setRightPadding(double padding)

Description: Method void QTextTableCellFormat::setRightPadding(double padding)

void setTopPadding(double padding)

Description: Method void QTextTableCellFormat::setTopPadding(double padding)

[const] double topPadding

Description: Method double QTextTableCellFormat::topPadding()

void topPadding=(double padding)

Description: Method void QTextTableCellFormat::setTopPadding(double padding)