Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NumberDialog Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-sheet/numberdlg.h>

List of all members.

Public Member Functions

 NumberDialog (QWidget *parent=0)
 ~NumberDialog ()
int exec (const QString &caption, const QString &text, int value=1, int min=1, int max=99, int step=1)
int getValue ()

Private Attributes

QLabel * label
QSpinBox * edit


Constructor & Destructor Documentation

NumberDialog::NumberDialog QWidget *  parent = 0  ) 
 

Definition at line 36 of file numberdlg.cpp.

References edit, and label.

NumberDialog::~NumberDialog  ) 
 

Definition at line 49 of file numberdlg.cpp.


Member Function Documentation

int NumberDialog::exec const QString caption,
const QString text,
int  value = 1,
int  min = 1,
int  max = 99,
int  step = 1
 

Definition at line 52 of file numberdlg.cpp.

References edit, and label.

Referenced by MainWindow::slotColumnWidth(), MainWindow::slotInsertCols(), MainWindow::slotInsertRows(), MainWindow::slotInsertSheets(), and MainWindow::slotRowHeight().

int NumberDialog::getValue  ) 
 

Definition at line 65 of file numberdlg.cpp.

References edit.

Referenced by MainWindow::slotColumnWidth(), MainWindow::slotInsertCols(), MainWindow::slotInsertRows(), MainWindow::slotInsertSheets(), and MainWindow::slotRowHeight().


Member Data Documentation

QSpinBox* NumberDialog::edit [private]
 

Definition at line 48 of file numberdlg.h.

Referenced by exec(), getValue(), and NumberDialog().

QLabel* NumberDialog::label [private]
 

Definition at line 44 of file numberdlg.h.

Referenced by exec(), and NumberDialog().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:41:41 2005 for OPIE by  doxygen 1.4.2