GNU Octave  8.1.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

 Utils
 

Functions

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