Open 3D Engine AzQtComponents API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <TableView.h>
Inherits QTreeView.
Inherited by AzQtComponents::AssetFolderListView, and AzQtComponents::AssetFolderTableView.
Classes | |
struct | Config |
Public Member Functions | |
TableView (QWidget *parent=nullptr) | |
void | setExpandOnSelection (bool expand=true) |
bool | expandOnSelection () const |
bool | dataModelSupportsIsSelectedRole () const |
Static Public Member Functions | |
static Config | loadConfig (QSettings &settings) |
static Config | defaultConfig () |
Properties | |
bool | expandOnSelection |
Friends | |
class | Style |
Specialized TableView that allows the selected row to accordion out, so that all of the text in the row is visible, with wrapping. TableView inherits from QTreeView instead of QTableView as it provided more customization in the subclass over the size of rows.
Note that in order for the (accordion/)expandOnSelection functionality to work, you must have a model set that eventually unproxies to a TableViewModel and a delegate that is a TableViewItemDelegate.
|
static |
Returns default TableView config data.
|
static |
Loads the TablveView config data from a settings object.
|
readwrite |
Set this property to true if you'd like the TableView to expand the selected row to ensure that all of the text within is visible, with wrapping.
Note that in order for this functionality to work, you must have a model set that eventually unproxies to a TableViewModel and a delegate that is a TableViewItemDelegate.