GNU Octave  3.8.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 | 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)
void wait (void)

Private Attributes

QString dialog_button
int dialog_result
QIntListlist_index
QMutex mutex
QString * path_name
QStringList * string_list
QWaitCondition waitcondition

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 &  ,
const QString &  ,
const QString &  ,
const QStringList &  ,
const QString &  ,
const QStringList &   
)
signal

Referenced by signal_dialog().

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

Referenced by signal_filedialog().

void QUIWidgetCreator::create_inputlayout ( const QStringList &  ,
const QString &  ,
const QFloatList ,
const QFloatList ,
const QStringList &   
)
signal

Referenced by signal_inputlayout().

void QUIWidgetCreator::create_listview ( const QStringList &  ,
const QString &  ,
int  ,
int  ,
const QIntList ,
const QString &  ,
const QStringList &  ,
const QString &  ,
const QString &   
)
signal

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, and waitcondition.

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

Definition at line 102 of file dialog.cc.

References dialog_result, 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 91 of file dialog.cc.

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

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

Definition at line 78 of file dialog.cc.

References dialog_result, list_index, 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().

void QUIWidgetCreator::wait ( void  )
inline

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
private

Definition at line 166 of file dialog.h.

Referenced by wait().

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
private

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