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
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 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)

Private Attributes

QItemSelectionModel * selector

Detailed Description

Definition at line 196 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

Definition at line 183 of file dialog.cc.

References buttonCancel_clicked(), buttonOk_clicked(), finish_selection(), and selector.

Member Function Documentation

void ListDialog::buttonCancel_clicked ( void  )
slot

Definition at line 306 of file dialog.cc.

References finish_selection().

Referenced by ListDialog(), and reject().

void ListDialog::buttonOk_clicked ( void  )
slot

Definition at line 289 of file dialog.cc.

References finish_selection(), and selector.

Referenced by ListDialog().

void ListDialog::finish_selection ( const QIntList ,
int   
)
signal
void ListDialog::reject ( void  )
slot

Definition at line 319 of file dialog.cc.

References buttonCancel_clicked().

Member Data Documentation

QItemSelectionModel* ListDialog::selector
private

Definition at line 200 of file dialog.h.

Referenced by buttonOk_clicked(), and ListDialog().


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