WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. | Zuble QML Types | Zuble C++ Classes | Zuble Overview |
Zuble
0.1
Zuble Framework C++/QML extension API
|
Explicitly shared data object encapsulates a list of log record links. More...
#include <ZblLogReclinkData.h>
Public Slots | |
void | onSearchRowMatched (qint64 recordID, qint64 seekPosition, QList< int > modelRoles) |
Called when the search engine has found a target record in the log file. More... | |
Public Member Functions | |
ZblLogReclinkData (QObject *parent=0) | |
virtual | ~ZblLogReclinkData () |
ZTableModel * | zModel () |
Obtains the table model in which log record link data is stored. More... | |
QObject * | model () |
Obtains a sorted proxy model in which log record link data is stored. More... | |
QVariant | getData (int index, int role) |
QVariant | getData (int index, const QString &roleName) |
Protected Member Functions | |
ZBL_DECLARE_LOGGED_OBJECT bool | createMapModel () |
Protected Attributes | |
ZTableModel * | m_model |
The log map data model used for map node display. More... | |
Friends | |
class | ZLogReclinkModel |
Explicitly shared data object encapsulates a list of log record links.
This is an expanded set of log record links, one row per log record. See ZLogMap and ZblLogMapData for compressed storage of log record links.
Definition at line 25 of file ZblLogReclinkData.h.
Zbl::ZblLogReclinkData::ZblLogReclinkData | ( | QObject * | parent = 0 | ) |
Definition at line 11 of file ZblLogReclinkData.cpp.
|
virtual |
Definition at line 22 of file ZblLogReclinkData.cpp.
|
protected |
Definition at line 28 of file ZblLogReclinkData.cpp.
QVariant Zbl::ZblLogReclinkData::getData | ( | int | index, |
int | role | ||
) |
Definition at line 78 of file ZblLogReclinkData.cpp.
QVariant Zbl::ZblLogReclinkData::getData | ( | int | index, |
const QString & | roleName | ||
) |
Definition at line 83 of file ZblLogReclinkData.cpp.
QObject * Zbl::ZblLogReclinkData::model | ( | ) |
Obtains a sorted proxy model in which log record link data is stored.
Definition at line 73 of file ZblLogReclinkData.cpp.
|
slot |
Called when the search engine has found a target record in the log file.
recordID | The record ID number of the log record where search results were found. |
seekPosition | The file seek position of the log record where search results were found. |
modelRoles | A list of role numbers of this log record where search results were found. |
Definition at line 41 of file ZblLogReclinkData.cpp.
Referenced by Zbl::ZblLogSearch::linkModel().
ZTableModel * Zbl::ZblLogReclinkData::zModel | ( | ) |
Obtains the table model in which log record link data is stored.
Definition at line 66 of file ZblLogReclinkData.cpp.
Referenced by Zbl::ZblLogSearch::populateLinkModel().
|
friend |
Definition at line 27 of file ZblLogReclinkData.h.
|
protected |
The log map data model used for map node display.
Definition at line 97 of file ZblLogReclinkData.h.
Referenced by createMapModel(), getData(), model(), onSearchRowMatched(), and zModel().
Zuble documentation copyright © 2019 Bob Dinitto. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Zuble is a derivative work of Qt version 5. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.