GNU Octave  4.2.1
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
ListDialog Class Reference

#include "dialog.h"

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

Public Slots

void buttonCancel_clicked (void)
 
void buttonOk_clicked (void)
 
void item_double_clicked (const QModelIndex &)
 
void reject (void)
 

Signals

void finish_selection (const QIntList &, int)
 

Public Member Functions

 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)
 
 ~ListDialog (void)
 

Private Attributes

QAbstractItemModel * model
 
QItemSelectionModel * selector
 

Detailed Description

Definition at line 187 of file dialog.h.

Constructor & Destructor Documentation

ListDialog::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 
)
explicit
ListDialog::~ListDialog ( void  )

Definition at line 298 of file dialog.cc.

References model.

Member Function Documentation

void ListDialog::buttonCancel_clicked ( void  )
slot

Definition at line 320 of file dialog.cc.

References done, empty, and finish_selection().

Referenced by ListDialog(), and reject().

void ListDialog::buttonOk_clicked ( void  )
slot

Definition at line 304 of file dialog.cc.

References done, finish_selection(), and selector.

Referenced by item_double_clicked(), and ListDialog().

void ListDialog::finish_selection ( const QIntList _t1,
int  _t2 
)
signal

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

Referenced by buttonCancel_clicked(), buttonOk_clicked(), and ListDialog().

void ListDialog::item_double_clicked ( const QModelIndex &  )
slot

Definition at line 338 of file dialog.cc.

References buttonOk_clicked().

Referenced by ListDialog().

void ListDialog::reject ( void  )
slot

Definition at line 332 of file dialog.cc.

References buttonCancel_clicked().

Member Data Documentation

QAbstractItemModel* ListDialog::model
private

Definition at line 218 of file dialog.h.

Referenced by ListDialog(), and ~ListDialog().

QItemSelectionModel* ListDialog::selector
private

Definition at line 191 of file dialog.h.

Referenced by buttonOk_clicked(), and ListDialog().


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