GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Slots | Signals | Public Member Functions | Public Attributes | Private Attributes | List of all members
QUIWidgetCreator Class Reference

#include "dialog.h"

Inheritance diagram for QUIWidgetCreator:
Inheritance graph
[legend]
Collaboration diagram for QUIWidgetCreator:
Collaboration graph
[legend]

Public Slots

void dialog_button_clicked (QAbstractButton *button)
 
void filedialog_finished (const QStringList &files, const QString &path, int filterindex)
 
void input_finished (const QStringList &input, int button_pressed)
 
void list_select_finished (const QIntList &selected, int button_pressed)
 

Signals

void create_dialog (const QString &, const QString &, const QString &, const QStringList &, const QString &, const QStringList &)
 
void create_filedialog (const QStringList &filters, const QString &title, const QString &filename, const QString &dirname, const QString &multimode)
 
void create_inputlayout (const QStringList &, const QString &, const QFloatList &, const QFloatList &, const QStringList &)
 
void create_listview (const QStringList &, const QString &, int, int, const QIntList &, const QString &, const QStringList &, const QString &, const QString &)
 

Public Member Functions

 QUIWidgetCreator (void)
 
 ~QUIWidgetCreator (void)
 
QString get_dialog_button (void)
 
const QString * get_dialog_path (void)
 
int get_dialog_result (void)
 
const QIntListget_list_index (void)
 
const QStringList * get_string_list (void)
 
void signal_dialog (const QString &message, const QString &title, const QString &icon, const QStringList &button, const QString &defbutton, const QStringList &role)
 
bool signal_filedialog (const QStringList &filters, const QString &title, const QString &filename, const QString &dirname, const QString &multimode)
 
bool signal_inputlayout (const QStringList &prompt, const QString &title, const QFloatList &nr, const QFloatList &nc, const QStringList &defaults)
 
bool signal_listview (const QStringList &list, const QString &mode, int wd, int ht, const QList< int > &initial, const QString &name, const QStringList &prompt, const QString &ok_string, const QString &cancel_string)
 

Public Attributes

QMutex mutex
 
QWaitCondition waitcondition
 

Private Attributes

QString dialog_button
 
int dialog_result
 
QIntListlist_index
 
QString * path_name
 
QStringList * string_list
 

Detailed Description

Definition at line 44 of file dialog.h.

Constructor & Destructor Documentation

QUIWidgetCreator::QUIWidgetCreator ( void  )

Definition at line 47 of file dialog.cc.

QUIWidgetCreator::~QUIWidgetCreator ( void  )

Definition at line 54 of file dialog.cc.

References list_index, path_name, and string_list.

Member Function Documentation

void QUIWidgetCreator::create_dialog ( const QString &  _t1,
const QString &  _t2,
const QString &  _t3,
const QStringList &  _t4,
const QString &  _t5,
const QStringList &  _t6 
)
signal

Definition at line 129 of file moc-dialog.cc.

Referenced by signal_dialog().

void QUIWidgetCreator::create_filedialog ( const QStringList &  filters,
const QString &  title,
const QString &  filename,
const QString &  dirname,
const QString &  multimode 
)
signal

Definition at line 150 of file moc-dialog.cc.

Referenced by signal_filedialog().

void QUIWidgetCreator::create_inputlayout ( const QStringList &  _t1,
const QString &  _t2,
const QFloatList _t3,
const QFloatList _t4,
const QStringList &  _t5 
)
signal

Definition at line 143 of file moc-dialog.cc.

Referenced by signal_inputlayout().

void QUIWidgetCreator::create_listview ( const QStringList &  _t1,
const QString &  _t2,
int  _t3,
int  _t4,
const QIntList _t5,
const QString &  _t6,
const QStringList &  _t7,
const QString &  _t8,
const QString &  _t9 
)
signal

Definition at line 136 of file moc-dialog.cc.

Referenced by signal_listview().

void QUIWidgetCreator::dialog_button_clicked ( QAbstractButton *  button)
slot

Definition at line 63 of file dialog.cc.

References dialog_button, dialog_result, mutex, and waitcondition.

void QUIWidgetCreator::filedialog_finished ( const QStringList &  files,
const QString &  path,
int  filterindex 
)
slot

Definition at line 117 of file dialog.cc.

References dialog_result, mutex, path_name, string_list, and waitcondition.

QString QUIWidgetCreator::get_dialog_button ( void  )
inline
const QString* QUIWidgetCreator::get_dialog_path ( void  )
inline

Definition at line 115 of file dialog.h.

References path_name.

Referenced by octave_qt_link::do_file_dialog().

int QUIWidgetCreator::get_dialog_result ( void  )
inline
const QIntList* QUIWidgetCreator::get_list_index ( void  )
inline

Definition at line 91 of file dialog.h.

References list_index.

Referenced by octave_qt_link::do_list_dialog().

const QStringList* QUIWidgetCreator::get_string_list ( void  )
inline

Definition at line 105 of file dialog.h.

References string_list.

Referenced by octave_qt_link::do_file_dialog(), and octave_qt_link::do_input_dialog().

void QUIWidgetCreator::input_finished ( const QStringList &  input,
int  button_pressed 
)
slot

Definition at line 101 of file dialog.cc.

References dialog_result, input(), mutex, string_list, and waitcondition.

void QUIWidgetCreator::list_select_finished ( const QIntList selected,
int  button_pressed 
)
slot

Definition at line 83 of file dialog.cc.

References dialog_result, list_index, mutex, and waitcondition.

void QUIWidgetCreator::signal_dialog ( const QString &  message,
const QString &  title,
const QString &  icon,
const QStringList &  button,
const QString &  defbutton,
const QStringList &  role 
)
inline
bool QUIWidgetCreator::signal_filedialog ( const QStringList &  filters,
const QString &  title,
const QString &  filename,
const QString &  dirname,
const QString &  multimode 
)
inline

Definition at line 107 of file dialog.h.

References create_filedialog().

Referenced by octave_qt_link::do_file_dialog().

bool QUIWidgetCreator::signal_inputlayout ( const QStringList &  prompt,
const QString &  title,
const QFloatList nr,
const QFloatList nc,
const QStringList &  defaults 
)
inline

Definition at line 93 of file dialog.h.

References create_inputlayout().

Referenced by octave_qt_link::do_input_dialog().

bool QUIWidgetCreator::signal_listview ( const QStringList &  list,
const QString &  mode,
int  wd,
int  ht,
const QList< int > &  initial,
const QString &  name,
const QStringList &  prompt,
const QString &  ok_string,
const QString &  cancel_string 
)
inline

Definition at line 77 of file dialog.h.

References create_listview().

Referenced by octave_qt_link::do_list_dialog().

Member Data Documentation

QString QUIWidgetCreator::dialog_button
private

Definition at line 153 of file dialog.h.

Referenced by dialog_button_clicked(), get_dialog_button(), and signal_dialog().

int QUIWidgetCreator::dialog_result
private
QIntList* QUIWidgetCreator::list_index
private

Definition at line 158 of file dialog.h.

Referenced by get_list_index(), list_select_finished(), and ~QUIWidgetCreator().

QMutex QUIWidgetCreator::mutex
QString* QUIWidgetCreator::path_name
private

Definition at line 160 of file dialog.h.

Referenced by filedialog_finished(), get_dialog_path(), and ~QUIWidgetCreator().

QStringList* QUIWidgetCreator::string_list
private

Definition at line 157 of file dialog.h.

Referenced by filedialog_finished(), get_string_list(), input_finished(), and ~QUIWidgetCreator().

QWaitCondition QUIWidgetCreator::waitcondition

The documentation for this class was generated from the following files: