#include <MatrixSizeDialog.h>
Public Slots | |
void | accept () |
Accept changes and quit. | |
void | setColumns (int c) |
Set the number of columns. | |
void | setCoordinates (double xs, double xe, double ys, double ye) |
Set the start and end coordinates. | |
void | setRows (int r) |
Set the number of rows. | |
Signals | |
void | changeCoordinates (double fromX, double toX, double fromY, double toY) |
Emit the new coordinates. | |
void | changeDimensions (int rows, int cols) |
Emit the new matrix dimensions. | |
Public Member Functions | |
MatrixSizeDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructor. | |
Private Attributes | |
QSpinBox * | boxCols |
QSpinBox * | boxRows |
QLineEdit * | boxXEnd |
QLineEdit * | boxXStart |
QLineEdit * | boxYEnd |
QLineEdit * | boxYStart |
QPushButton * | buttonCancel |
QPushButton * | buttonOk |
QGroupBox * | groupBox1 |
QGroupBox * | groupBox2 |
MatrixSizeDialog::MatrixSizeDialog | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
Constructor.
parent | parent widget | |
fl | window flags |
void MatrixSizeDialog::accept | ( | ) | [slot] |
Accept changes and quit.
void MatrixSizeDialog::changeCoordinates | ( | double | fromX, | |
double | toX, | |||
double | fromY, | |||
double | toY | |||
) | [signal] |
Emit the new coordinates.
fromX | start x value | |
toX | end x value | |
fromY | start y value | |
toY | end y value |
void MatrixSizeDialog::changeDimensions | ( | int | rows, | |
int | cols | |||
) | [signal] |
Emit the new matrix dimensions.
rows | number of rows | |
cols | number of columns |
void MatrixSizeDialog::setColumns | ( | int | c | ) | [slot] |
Set the number of columns.
void MatrixSizeDialog::setCoordinates | ( | double | xs, | |
double | xe, | |||
double | ys, | |||
double | ye | |||
) | [slot] |
Set the start and end coordinates.
xs | start x value | |
xe | end x value | |
ys | start y value | |
ye | end y value |
void MatrixSizeDialog::setRows | ( | int | r | ) | [slot] |
Set the number of rows.
QSpinBox* MatrixSizeDialog::boxCols [private] |
QSpinBox * MatrixSizeDialog::boxRows [private] |
QLineEdit * MatrixSizeDialog::boxXEnd [private] |
QLineEdit* MatrixSizeDialog::boxXStart [private] |
QLineEdit * MatrixSizeDialog::boxYEnd [private] |
QLineEdit * MatrixSizeDialog::boxYStart [private] |
QPushButton* MatrixSizeDialog::buttonCancel [private] |
QPushButton* MatrixSizeDialog::buttonOk [private] |
QGroupBox* MatrixSizeDialog::groupBox1 [private] |
QGroupBox * MatrixSizeDialog::groupBox2 [private] |