GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
QtHandlesUtils.h File Reference
#include <QColor>
#include <QFont>
#include <QImage>
#include <QString>
#include <QStringList>
#include <string>
#include "graphics.h"
Include dependency graph for QtHandlesUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 QtHandles
 
 QtHandles::Utils
 

Functions

template<class T >
QFont QtHandles::Utils::computeFont (const typename T::properties &props, int height)
 
Matrix QtHandles::Utils::figureCurrentPoint (const graphics_object &fig, QMouseEvent *event)
 
Matrix QtHandles::Utils::figureCurrentPoint (const graphics_object &fig)
 
std::string QtHandles::Utils::figureSelectionType (QMouseEvent *event, bool isDoubleClick)
 
Qt::Alignment QtHandles::Utils::fromHVAlign (const caseless_str &halign, const caseless_str &valign)
 
QColor QtHandles::Utils::fromRgb (const Matrix &rgb)
 
QString QtHandles::Utils::fromStdString (const std::string &s)
 
QStringList QtHandles::Utils::fromStringVector (const string_vector &v)
 
QImage QtHandles::Utils::makeImageFromCData (const octave_value &v, int width, int height)
 
octave_scalar_map QtHandles::Utils::makeKeyEventStruct (QKeyEvent *event)
 
template<class T >
T::properties & QtHandles::Utils::properties (graphics_object obj)
 
template<class T >
T::properties & QtHandles::Utils::properties (const graphics_handle &h)
 
Cell QtHandles::Utils::toCellString (const QStringList &l)
 
Matrix QtHandles::Utils::toRgb (const QColor &c)
 
std::string QtHandles::Utils::toStdString (const QString &s)
 
string_vector QtHandles::Utils::toStringVector (const QStringList &l)