24 #if ! defined (octave_dialog_h) 25 #define octave_dialog_h 1 28 #include <QWaitCondition> 29 #include <QAbstractButton> 31 #include <QItemSelectionModel> 33 #include <QMessageBox> 35 #include <QFileDialog> 60 const QString& icon,
const QStringList& button,
61 const QString& defbutton,
const QStringList& role)
68 if (! button.isEmpty ())
84 const QString&
name,
const QStringList& prompt,
85 const QString& ok_string,
86 const QString& cancel_string)
92 prompt, ok_string, cancel_string);
101 const QStringList& defaults)
103 if (prompt.isEmpty ())
115 const QString& multimode)
130 void create_dialog (
const QString&,
const QString&,
const QString&,
131 const QStringList&,
const QString&,
const QStringList&);
134 const QIntList&,
const QString&,
const QStringList&,
135 const QString&,
const QString&);
143 const QString& multimode);
186 const QString& icon,
const QStringList& button,
187 const QString& defbutton,
188 const QStringList& role);
196 emit buttonClicked (
nullptr);
209 int width,
int height,
const QList<int>& initial,
210 const QString&
name,
const QStringList& prompt,
211 const QString& ok_string,
212 const QString& cancel_string);
243 explicit InputDialog (
const QStringList& prompt,
const QString& title,
245 const QStringList& defaults);
266 explicit FileDialog (
const QStringList& filters,
267 const QString& title,
const QString&
filename,
268 const QString&
dirname,
const QString& multimode);
272 void finish_input (
const QStringList&,
const QString&,
int);
The value of lines which begin with a space character are not saved in the history list A value of all commands are saved on the history list
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
QItemSelectionModel * selector
std::string dirname(const std::string &path)
QAbstractItemModel * m_model
MessageDialog(const QString &message, const QString &title, const QString &icon, const QStringList &button, const QString &defbutton, const QStringList &role)
void message(const char *name, const char *fmt,...)
void item_double_clicked(const QModelIndex &)
nd deftypefn *std::string name
void finish_selection(const QIntList &, int)
void finish_input(const QStringList &, const QString &, int)
OCTAVE_EXPORT octave_value_list or cell arrays Arguments are concatenated vertically The returned values are padded with blanks as needed to make each row of the string array have the same length Empty input strings are significant and will concatenated in the output For numerical input
void acceptSelection(void)
FileDialog(const QStringList &filters, const QString &title, const QString &filename, const QString &dirname, const QString &multimode)
void closeEvent(QCloseEvent *)
ListDialog(const QStringList &list, const QString &mode, int width, int height, const QList< int > &initial, const QString &name, const QStringList &prompt, const QString &ok_string, const QString &cancel_string)
otherwise an error message is printed The permission mask is a UNIX concept used when creating new objects on a file system such as files
QList< float > QFloatList
void buttonOk_clicked(void)
void buttonCancel_clicked(void)
QUIWidgetCreator uiwidget_creator
void rejectSelection(void)