QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Functions
qgsexpressiontreeview.cpp File Reference
#include <QMenu>
#include <QMessageBox>
#include <QVersionNumber>
#include "qgsexpressiontreeview.h"
#include "moc_qgsexpressiontreeview.cpp"
#include "qgis.h"
#include "qgsvectorlayer.h"
#include "qgsexpressioncontextutils.h"
#include "qgssettings.h"
#include "qgsrelationmanager.h"
#include "qgsapplication.h"
#include "qgsiconutils.h"
Include dependency graph for qgsexpressiontreeview.cpp:

Go to the source code of this file.

Functions

QString formatLayerHelp (const QgsMapLayer *layer)
 Returns a HTML formatted string for use as a layer item help.
 
QString formatRecentExpressionHelp (const QString &label, const QString &expression)
 Returns a HTML formatted string for use as a recent expression item help.
 
QString formatRelationHelp (const QgsRelation &relation)
 Returns a HTML formatted string for use as a relation item help.
 
QString formatUserExpressionHelp (const QString &label, const QString &expression, const QString &description)
 Returns a HTML formatted string for use as a user expression item help.
 
QString formatVariableHelp (const QString &variable, const QString &description, bool showValue, const QVariant &value)
 Returns a HTML formatted string for use as a variable item help.
 

Function Documentation

◆ formatLayerHelp()

QString formatLayerHelp ( const QgsMapLayer layer)

Returns a HTML formatted string for use as a layer item help.

Definition at line 46 of file qgsexpressiontreeview.cpp.

◆ formatRecentExpressionHelp()

QString formatRecentExpressionHelp ( const QString &  label,
const QString &  expression 
)

Returns a HTML formatted string for use as a recent expression item help.

Definition at line 59 of file qgsexpressiontreeview.cpp.

◆ formatRelationHelp()

QString formatRelationHelp ( const QgsRelation relation)

Returns a HTML formatted string for use as a relation item help.

Definition at line 32 of file qgsexpressiontreeview.cpp.

◆ formatUserExpressionHelp()

QString formatUserExpressionHelp ( const QString &  label,
const QString &  expression,
const QString &  description 
)

Returns a HTML formatted string for use as a user expression item help.

Definition at line 72 of file qgsexpressiontreeview.cpp.

◆ formatVariableHelp()

QString formatVariableHelp ( const QString &  variable,
const QString &  description,
bool  showValue,
const QVariant &  value 
)

Returns a HTML formatted string for use as a variable item help.

Definition at line 84 of file qgsexpressiontreeview.cpp.