23 #if ! defined (octave_QtHandlesUtils_h) 24 #define octave_QtHandlesUtils_h 1 30 #include <QStringList> 62 bool isDoubleClick =
false);
T::properties & properties(const graphics_handle &h)
Qt::Alignment fromHVAlign(const std::string &halign, const std::string &valign)
QString fromStdString(const std::string &s)
QStringList fromStringVector(const string_vector &v)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
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)
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)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
string_vector toStringVector(const QStringList &l)
T::properties & properties(graphics_object obj)