GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
qt-utils.h File Reference
#include <list>
#include <QFontMetrics>
#include <QList>
Include dependency graph for qt-utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int qt_fontmetrics_horizontal_advance (const QFontMetrics &fm, const QString &text, int len=-1)
 
int qt_fontmetrics_horizontal_advance (const QFontMetrics &fm, QChar ch)
 
template<typename T >
QList< T > std_list_to_qt_list (const std::list< T > &lst)
 

Function Documentation

◆ qt_fontmetrics_horizontal_advance() [1/2]

int qt_fontmetrics_horizontal_advance ( const QFontMetrics &  fm,
const QString &  text,
int  len = -1 
)
inline

Definition at line 58 of file qt-utils.h.

References len.

◆ qt_fontmetrics_horizontal_advance() [2/2]

int qt_fontmetrics_horizontal_advance ( const QFontMetrics &  fm,
QChar  ch 
)
inline

◆ std_list_to_qt_list()

template<typename T >
QList<T> std_list_to_qt_list ( const std::list< T > &  lst)
inline

Definition at line 38 of file qt-utils.h.