QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCArchiveModel Class Reference

#include <QGCArchiveModel.h>

+ Inheritance diagram for QGCArchiveModel:
+ Collaboration diagram for QGCArchiveModel:

Signals

void archivePathChanged ()
 
void countChanged ()
 
void fileCountChanged ()
 
void directoryCountChanged ()
 
void totalSizeChanged ()
 
void loadingChanged ()
 
void errorStringChanged ()
 
void filterModeChanged ()
 
void loadingComplete (bool success)
 Emitted when archive loading completes (success or failure)
 

Detailed Description

List model for archive contents, suitable for QML ListView binding. Provides natural sorting, filtering by type, and lazy loading support.

Usage in QML:

import QGroundControl.Utilities
ListView {
model: QGCArchiveModel {
archivePath: "/path/to/archive.zip"
}
delegate: ItemDelegate {
text: model.name
icon.name: model.isDirectory ? "folder" : "file"
}
}

Definition at line 27 of file QGCArchiveModel.h.

Member Function Documentation

◆ archivePathChanged

void QGCArchiveModel::archivePathChanged ( )
signal

◆ countChanged

void QGCArchiveModel::countChanged ( )
signal

◆ directoryCountChanged

void QGCArchiveModel::directoryCountChanged ( )
signal

◆ errorStringChanged

void QGCArchiveModel::errorStringChanged ( )
signal

◆ fileCountChanged

void QGCArchiveModel::fileCountChanged ( )
signal

◆ filterModeChanged

void QGCArchiveModel::filterModeChanged ( )
signal

◆ loadingChanged

void QGCArchiveModel::loadingChanged ( )
signal

◆ loadingComplete

void QGCArchiveModel::loadingComplete ( bool  success)
signal

Emitted when archive loading completes (success or failure)

◆ totalSizeChanged

void QGCArchiveModel::totalSizeChanged ( )
signal

The documentation for this class was generated from the following files: