QGIS API Documentation  3.20.0-Odense (decaadbb31)
Functions
qgsexpressiontreeview.cpp File Reference
#include <QMenu>
#include <QMessageBox>
#include <QVersionNumber>
#include "qgsexpressiontreeview.h"
#include "qgis.h"
#include "qgsfieldformatterregistry.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. More...
 
QString formatRecentExpressionHelp (const QString &label, const QString &expression)
 Returns a HTML formatted string for use as a recent expression item help. More...
 
QString formatRelationHelp (const QgsRelation &relation)
 Returns a HTML formatted string for use as a relation item help. More...
 
QString formatUserExpressionHelp (const QString &label, const QString &expression, const QString &description)
 Returns a HTML formatted string for use as a user expression item help. More...
 
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. More...
 

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.