support loading states, and data files when loaded from pqRecentFilesMenu.
More...
#include <pqStandardRecentlyUsedResourceLoaderImplementation.h>
◆ pqStandardRecentlyUsedResourceLoaderImplementation()
| pqStandardRecentlyUsedResourceLoaderImplementation::pqStandardRecentlyUsedResourceLoaderImplementation |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~pqStandardRecentlyUsedResourceLoaderImplementation()
| pqStandardRecentlyUsedResourceLoaderImplementation::~pqStandardRecentlyUsedResourceLoaderImplementation |
( |
| ) |
|
|
override |
◆ canLoad()
| bool pqStandardRecentlyUsedResourceLoaderImplementation::canLoad |
( |
const pqServerResource & |
resource | ) |
|
|
overridevirtual |
◆ load()
Loads the resource and returns the true if successfully loaded, otherwise false.
If returned false, the resource is treated as defunct and may be removed. from the recent list.
Implements pqRecentlyUsedResourceLoaderInterface.
◆ icon()
| QIcon pqStandardRecentlyUsedResourceLoaderImplementation::icon |
( |
const pqServerResource & |
resource | ) |
|
|
overridevirtual |
◆ label()
| QString pqStandardRecentlyUsedResourceLoaderImplementation::label |
( |
const pqServerResource & |
resource | ) |
|
|
overridevirtual |
◆ addDataFilesToRecentResources()
| static bool pqStandardRecentlyUsedResourceLoaderImplementation::addDataFilesToRecentResources |
( |
pqServer * |
server, |
|
|
const QStringList & |
files, |
|
|
const QString & |
smgroup, |
|
|
const QString & |
smname |
|
) |
| |
|
static |
Add data files(s) to the recently used resources list.
◆ addStateFileToRecentResources()
| static bool pqStandardRecentlyUsedResourceLoaderImplementation::addStateFileToRecentResources |
( |
pqServer * |
server, |
|
|
const QString & |
file, |
|
|
vtkTypeUInt32 |
location = 0x10 |
|
) |
| |
|
static |
Add state file to the recently used resources list.
The documentation for this class was generated from the following file: