QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
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 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 45 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 58 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 31 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 71 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 83 of file qgsexpressiontreeview.cpp.