26 #if ! defined (octave_QtHandlesUtils_h)
27 #define octave_QtHandlesUtils_h 1
33 #include <QStringList>
61 Qt::Alignment
fromHVAlign (
const std::string& halign,
62 const std::string& valign);
65 bool isDoubleClick =
false);
73 {
return dynamic_cast<typename
T::properties&
> (obj.get_properties ()); }
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::string toStdString(const QString &s)
Matrix toRgb(const QColor &c)
Qt::Alignment fromHVAlign(const std::string &halign, const std::string &valign)
Matrix figureCurrentPoint(const graphics_object &fig, QMouseEvent *event)
Cell toCellString(const QStringList &l)
QString fromStdString(const std::string &s)
string_vector toStringVector(const QStringList &l)
octave_scalar_map makeKeyEventStruct(QKeyEvent *event)
QStringList fromStringVector(const string_vector &v)
std::string figureSelectionType(QMouseEvent *event, bool isDoubleClick)
QFont computeFont(const typename T::properties &props, int height)
octave_scalar_map makeScrollEventStruct(QWheelEvent *event)
QColor fromRgb(const Matrix &rgb)
T::properties & properties(graphics_object obj)
QImage makeImageFromCData(const octave_value &v, int width, int height)