Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
main.cpp File Reference

(e22cd01076e795ed853b0536605d3bb205587d78)

#include <QtCore/qrangemodeladapter.h>
#include <QtWidgets/qlistview.h>
#include <QtWidgets/qtableview.h>
#include <QtWidgets/qtreeview.h>
#include <vector>
Include dependency graph for main.cpp:

Go to the source code of this file.

Classes

class  Book
struct  QRangeModel::RowOptions< Book >
struct  TreeRow
struct  std::tuple_size< TreeRow >
struct  std::tuple_element< 0, TreeRow >
struct  std::tuple_element< 1, TreeRow >

Namespaces

namespace  std
 [33]

Typedefs

using Tree = QList<TreeRow *>

Functions

void construct_and_use ()
void get_and_set ()
void dataAccess ()
void list_access ()
void table_access ()
void tree_access ()
void read_only ()
void list_iterate ()
void table_iterate ()
void tree_iterate ()

Typedef Documentation

◆ Tree

typedef QList< TreeRow * > Tree = QList<TreeRow *>

Definition at line 61 of file main.cpp.

Function Documentation

◆ construct_and_use()

void construct_and_use ( )

[construct]

[construct]

[use-model]

[use-model]

Definition at line 94 of file main.cpp.

◆ dataAccess()

void dataAccess ( )

[list-data]

[list-data]

[table-data]

[table-data]

[tree-data]

[tree-data]

[multirole-data]

[multirole-data]

Definition at line 132 of file main.cpp.

◆ get_and_set()

void get_and_set ( )

[get-range]

[get-range]

[set-range]

[set-range]

Definition at line 107 of file main.cpp.

◆ list_access()

void list_access ( )

[list-access]

[list-access]

[list-access-multirole]

[list-access-multirole]

[list-access-multirole-member-access]

[list-access-multirole-member-access]

[list-access-multirole-write-back]

[list-access-multirole-write-back]

Definition at line 164 of file main.cpp.

References Book::Book(), and Book::setRating().

Here is the call graph for this function:

◆ list_iterate()

void list_iterate ( )

[ranged-for-const-list]

[ranged-for-const-list]

[ranged-for-mutable-list]

[ranged-for-mutable-list]

Definition at line 278 of file main.cpp.

◆ read_only()

void read_only ( )

Definition at line 266 of file main.cpp.

◆ table_access()

void table_access ( )

[table-item-access]

[table-item-access]

[table-row-const-access]

[table-row-const-access]

[table-row-access]

[table-row-access]

[table-mixed-type-access]

[table-mixed-type-access]

Definition at line 200 of file main.cpp.

◆ table_iterate()

void table_iterate ( )

[ranged-for-const-table]

[ranged-for-const-table]

[ranged-for-const-table-items]

[ranged-for-const-table-items]

[ranged-for-mutable-table]

[ranged-for-mutable-table]

[ranged-for-mutable-table-items]

[ranged-for-mutable-table-items]

Definition at line 307 of file main.cpp.

◆ tree_access()

void tree_access ( )

[tree-row-access]

[tree-row-access]

[tree-item-access]

[tree-item-access]

[tree-row-write]

[tree-row-write]

Definition at line 237 of file main.cpp.

◆ tree_iterate()

void tree_iterate ( )

[ranged-for-tree]

[ranged-for-tree]

Definition at line 343 of file main.cpp.