GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QtHandlesUtils.cc File Reference
#include <list>
#include <QApplication>
#include <QKeyEvent>
#include <QMouseEvent>
#include "Container.h"
#include "KeyMap.h"
#include "Object.h"
#include "QtHandlesUtils.h"
#include "qt-graphics-toolkit.h"
#include "oct-string.h"
#include "graphics.h"
#include "ov.h"
Include dependency graph for QtHandlesUtils.cc:

Go to the source code of this file.

Namespaces

 QtHandles
 
 QtHandles::Utils
 

Functions

template<typename T >
QFont QtHandles::Utils::computeFont (const typename T::properties &props, int height)
 
template QFont QtHandles::Utils::computeFont< uibuttongroup > (const uibuttongroup::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)
 
template QFont QtHandles::Utils::computeFont< uitable > (const uitable::properties &props, int height)
 
Matrix QtHandles::Utils::figureCurrentPoint (const graphics_object &fig)
 
Matrix QtHandles::Utils::figureCurrentPoint (const graphics_object &fig, QMouseEvent *event)
 
std::string QtHandles::Utils::figureSelectionType (QMouseEvent *event, bool isDoubleClick)
 
Qt::Alignment QtHandles::Utils::fromHVAlign (const std::string &halign, const std::string &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)
 
octave_scalar_map QtHandles::Utils::makeScrollEventStruct (QWheelEvent *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)