Crossfire Server, Trunk
|
#include <AssetFieldCompleter.h>
Public Member Functions | |
AssetFieldCompleter (QWidget *parent) | |
Protected Member Functions | |
virtual QString | pathFromIndex (const QModelIndex &index) const override |
virtual QStringList | splitPath (const QString &path) const override |
Word completer to suggest fields from assets. Will correctly handle dots and such. The code is heavily borrowed from https://doc.qt.io/qt-6/qtwidgets-tools-customcompleter-example.html
Definition at line 25 of file AssetFieldCompleter.h.
AssetFieldCompleter::AssetFieldCompleter | ( | QWidget * | parent | ) |
Standard constructor.
parent | parent widget. |
Definition at line 61 of file AssetFieldCompleter.cpp.
References addAssetData(), assetData, navar-midane_time::data, and root.
|
overrideprotectedvirtual |
Definition at line 77 of file AssetFieldCompleter.cpp.
References navar-midane_time::data, and npc_dialog::index.
|
overrideprotectedvirtual |
Definition at line 73 of file AssetFieldCompleter.cpp.
References python_init::path.