QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Functions
qgsexpressiontreeview.cpp File Reference
#include <QMenu>
#include <QMessageBox>
#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 44 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 57 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 30 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 70 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 82 of file qgsexpressiontreeview.cpp.