QtiPlot
0.9.8.2
|
Matrix properties dialog. More...
#include <MatrixDialog.h>
Public Member Functions | |
MatrixDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
Constructor. More... | |
void | setMatrix (Matrix *m) |
Private Slots | |
void | accept () |
Accept changes and quit. More... | |
void | apply () |
Apply changes. More... | |
void | showPrecisionBox (int item) |
Activate the numeric precision choice box. More... | |
Private Attributes | |
QSpinBox * | boxColWidth |
QComboBox * | boxFormat |
QComboBox * | boxNumericDisplay |
QSpinBox * | boxPrecision |
QPushButton * | buttonApply |
QPushButton * | buttonCancel |
QPushButton * | buttonOk |
Matrix * | d_matrix |
Matrix properties dialog.
MatrixDialog::MatrixDialog | ( | QWidget * | parent = 0 , |
Qt::WFlags | fl = 0 |
||
) |
Constructor.
parent | parent widget |
fl | window flags |
References accept(), apply(), boxColWidth, boxFormat, boxNumericDisplay, boxPrecision, buttonApply, buttonCancel, buttonOk, and showPrecisionBox().
|
privateslot |
|
privateslot |
Apply changes.
References boxColWidth, boxFormat, boxPrecision, Matrix::columnsWidth(), d_matrix, Matrix::precision(), Matrix::setColumnsWidth(), Matrix::setNumericFormat(), Matrix::textFormat(), and Matrix::undoStack().
Referenced by accept(), and MatrixDialog().
void MatrixDialog::setMatrix | ( | Matrix * | m | ) |
References boxColWidth, boxFormat, boxNumericDisplay, boxPrecision, Matrix::columnsWidth(), d_matrix, Matrix::precision(), and Matrix::textFormat().
Referenced by ApplicationWindow::showMatrixDialog().
|
privateslot |
|
private |
Referenced by apply(), MatrixDialog(), and setMatrix().
|
private |
Referenced by apply(), MatrixDialog(), and setMatrix().
|
private |
Referenced by MatrixDialog(), and setMatrix().
|
private |
Referenced by apply(), MatrixDialog(), setMatrix(), and showPrecisionBox().
|
private |
Referenced by MatrixDialog().
|
private |
Referenced by MatrixDialog().
|
private |
Referenced by MatrixDialog().
|
private |
Referenced by apply(), and setMatrix().