QGIS API Documentation 3.39.0-Master (bca3cdb6021)
Loading...
Searching...
No Matches
Functions
qgsexpressiontreeview.cpp File Reference
#include <QMenu>
#include <QMessageBox>
#include <QVersionNumber>
#include "qgsexpressiontreeview.h"
#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 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.