23 #ifndef __QtHandles_Utils__
24 #define __QtHandles_Utils__ 1
30 #include <QStringList>
62 bool isDoubleClick =
false);
T::properties & properties(const graphics_handle &h)
QString fromStdString(const std::string &s)
QStringList fromStringVector(const string_vector &v)
Matrix figureCurrentPoint(const graphics_object &fig, QMouseEvent *event)
QColor fromRgb(const Matrix &rgb)
octave_scalar_map makeKeyEventStruct(QKeyEvent *event)
Matrix toRgb(const QColor &c)
QFont computeFont(const typename T::properties &props, int height)
base_properties & get_properties(void)
QImage makeImageFromCData(const octave_value &v, int width, int height)
Qt::Alignment fromHVAlign(const caseless_str &halign, const caseless_str &valign)
std::string figureSelectionType(QMouseEvent *event, bool isDoubleClick)
Cell toCellString(const QStringList &l)
static graphics_object get_object(double val)
std::string toStdString(const QString &s)
string_vector toStringVector(const QStringList &l)
T::properties & properties(graphics_object obj)