Skip to content

PythonQt.QtGui.QAbstractItemView · declarations 002

Back to PythonQt.QtGui.QAbstractItemView

MultiSelection instance-attribute

MultiSelection: Any

NoDragDrop instance-attribute

NoDragDrop: Any

NoEditTriggers instance-attribute

NoEditTriggers: Any

NoFrame instance-attribute

NoFrame: Any

NoSelection instance-attribute

NoSelection: Any

NoState instance-attribute

NoState: Any

OnItem instance-attribute

OnItem: Any

OnViewport instance-attribute

OnViewport: Any

Panel instance-attribute

Panel: Any

Plain instance-attribute

Plain: Any

PositionAtBottom instance-attribute

PositionAtBottom: Any

PositionAtCenter instance-attribute

PositionAtCenter: Any

PositionAtTop instance-attribute

PositionAtTop: Any

Raised instance-attribute

Raised: Any

ScrollHint instance-attribute

ScrollHint: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

ScrollMode instance-attribute

ScrollMode: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

ScrollPerItem instance-attribute

ScrollPerItem: Any

ScrollPerPixel instance-attribute

ScrollPerPixel: Any

SelectColumns instance-attribute

SelectColumns: Any

SelectItems instance-attribute

SelectItems: Any

SelectRows instance-attribute

SelectRows: Any

SelectedClicked instance-attribute

SelectedClicked: Any

SelectionBehavior instance-attribute

SelectionBehavior: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

SelectionMode instance-attribute

SelectionMode: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

Shadow instance-attribute

Shadow: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

Shadow_Mask instance-attribute

Shadow_Mask: Any

Shape instance-attribute

Shape: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

Shape_Mask instance-attribute

Shape_Mask: Any

SingleSelection instance-attribute

SingleSelection: Any

SizeAdjustPolicy instance-attribute

SizeAdjustPolicy: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

StyleMask instance-attribute

StyleMask: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

StyledPanel instance-attribute

StyledPanel: Any

Sunken instance-attribute

Sunken: Any

VLine instance-attribute

VLine: Any

WinPanel instance-attribute

WinPanel: Any

activated

activated(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QAbstractItemView.activated; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QAbstractItemView::activated(const QModelIndex \&index)

This signal is emitted when the item specified by index is activated by the user. How to activate items depends on the platform; e.g., by single- or double-clicking the item, or by pressing the Return or Enter key when the item is current.

See also clicked(), doubleClicked(), entered(), and pressed().

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#activated

addScrollBarWidget

addScrollBarWidget(widget: Any, alignment: Any) -> Any

X.addScrollBarWidget(widget, alignment)

alternatingRowColors instance-attribute

alternatingRowColors: bool

Qt 5 reference:

alternatingRowColors : bool

This property holds whether to draw the background using alternating colors

If this property is true, the item background will be drawn using QPalette::Base and QPalette::AlternateBase; otherwise the background will be drawn using the QPalette::Base color.

By default, this property is false.

Access functions:

bool alternatingRowColors() const
void setAlternatingRowColors(bool enable)

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#alternatingRowColors

autoScroll instance-attribute

autoScroll: Any

Qt 5 reference:

autoScroll : bool

This property holds whether autoscrolling in drag move events is enabled

If this property is set to true (the default), the QAbstractItemView automatically scrolls the contents of the view if the user drags within 16 pixels of the viewport edge. If the current item changes, then the view will scroll automatically to ensure that the current item is fully visible.

This property only works if the viewport accepts drops. Autoscroll is switched off by setting this property to false.

Access functions:

bool hasAutoScroll() const
void setAutoScroll(bool enable)

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#autoScroll

autoScrollMargin instance-attribute

autoScrollMargin: int

Qt 5 reference:

autoScrollMargin : int

This property holds the size of the area when auto scrolling is triggered

This property controls the size of the area at the edge of the viewport that triggers autoscrolling. The default value is 16 pixels.

This property was introduced in Qt 4.4.

Access functions:

int autoScrollMargin() const
void setAutoScrollMargin(int margin)

Source: https://doc.qt.io/archives/qt-5.15/qabstractitemview.html#autoScrollMargin