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.cc File Reference
#include <QApplication>
#include <QKeyEvent>
#include <QMouseEvent>
#include <list>
#include "ov.h"
#include "graphics.h"
#include "Backend.h"
#include "Container.h"
#include "KeyMap.h"
#include "Object.h"
#include "QtHandlesUtils.h"
Include dependency graph for QtHandlesUtils.cc:

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)
 
template QFont QtHandles::Utils::computeFont< uicontrol > (const uicontrol::properties &props, int height)
 
template QFont QtHandles::Utils::computeFont< uipanel > (const uipanel::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)
 
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)