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>
57 const QString& icon,
const QStringList& button,
58 const QString& defbutton,
const QStringList& role)
63 if (! button.isEmpty ())
70 emit
create_dialog (message, title, xicon, button, defbutton, role);
79 const QString&
name,
const QStringList& prompt,
80 const QString& ok_string,
const QString& cancel_string)
86 prompt, ok_string, cancel_string);
95 const QStringList& defaults)
97 if (prompt.isEmpty ())
108 const QString&
filename,
const QString& dirname,
109 const QString &multimode)
125 void create_dialog (
const QString&,
const QString&,
const QString&,
126 const QStringList&,
const QString&,
const QStringList&);
129 const QIntList&,
const QString&,
const QStringList&,
130 const QString&,
const QString&);
137 const QString&
filename,
const QString& dirname,
138 const QString& multimode);
173 const QString& icon,
const QStringList& button,
174 const QString& defbutton,
175 const QStringList& role);
183 emit buttonClicked (0);
196 int width,
int height,
const QList<int>& initial,
197 const QString&
name,
const QStringList& prompt,
198 const QString& ok_string,
const QString& cancel_string);
229 explicit InputDialog (
const QStringList& prompt,
const QString& title,
231 const QStringList& defaults);
252 explicit FileDialog (
const QStringList& filters,
253 const QString& title,
const QString&
filename,
254 const QString& dirname,
const QString& multimode);
258 void finish_input (
const QStringList&,
const QString&,
int);
void item_double_clicked(const QModelIndex &)
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
void buttonOk_clicked(void)
void finish_selection(const QIntList &, int)
QItemSelectionModel * selector
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are input
FileDialog(const QStringList &filters, const QString &title, const QString &filename, const QString &dirname, const QString &multimode)
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)
void rejectSelection(void)
void message(const char *name, const char *fmt,...)
void closeEvent(QCloseEvent *)
QUIWidgetCreator uiwidget_creator
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
MessageDialog(const QString &message, const QString &title, const QString &icon, const QStringList &button, const QString &defbutton, const QStringList &role)
void finish_input(const QStringList &, const QString &, int)
void acceptSelection(void)
QAbstractItemModel * model
void buttonCancel_clicked(void)