QtiPlot  0.9.8.2
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
MatrixResamplingDialog Class Reference

Matrix properties dialog. More...

#include <MatrixResamplingDialog.h>

Inheritance diagram for MatrixResamplingDialog:

Public Member Functions

 MatrixResamplingDialog (Matrix *m, bool shrink=false, QWidget *parent=0, Qt::WFlags fl=0)
 Constructor. More...
 

Private Slots

void apply ()
 Apply changes. More...
 
void buttonClicked (QAbstractButton *)
 
void updateDimensionsInfo ()
 

Private Member Functions

void calculateDimensions (int *newRows, int *newColumns)
 

Private Attributes

QComboBox * boxAction
 
QSpinBox * boxColumns
 
QComboBox * boxMethod
 
QSpinBox * boxRows
 
QDialogButtonBox * buttonBox
 
Matrixd_matrix
 
QLineEdit * dimensionsLabel
 

Detailed Description

Matrix properties dialog.

Constructor & Destructor Documentation

◆ MatrixResamplingDialog()

MatrixResamplingDialog::MatrixResamplingDialog ( Matrix m,
bool  shrink = false,
QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructor.

Parameters
parentparent widget
flwindow flags

References boxAction, boxColumns, boxMethod, boxRows, buttonBox, buttonClicked(), dimensionsLabel, and updateDimensionsInfo().

Member Function Documentation

◆ apply

void MatrixResamplingDialog::apply ( )
privateslot

Apply changes.

References boxMethod, calculateDimensions(), d_matrix, and Matrix::resample().

Referenced by buttonClicked().

◆ buttonClicked

void MatrixResamplingDialog::buttonClicked ( QAbstractButton *  btn)
privateslot

References apply(), and buttonBox.

Referenced by MatrixResamplingDialog().

◆ calculateDimensions()

void MatrixResamplingDialog::calculateDimensions ( int *  newRows,
int *  newColumns 
)
private

◆ updateDimensionsInfo

void MatrixResamplingDialog::updateDimensionsInfo ( )
privateslot

Member Data Documentation

◆ boxAction

QComboBox * MatrixResamplingDialog::boxAction
private

◆ boxColumns

QSpinBox* MatrixResamplingDialog::boxColumns
private

◆ boxMethod

QComboBox* MatrixResamplingDialog::boxMethod
private

Referenced by apply(), and MatrixResamplingDialog().

◆ boxRows

QSpinBox * MatrixResamplingDialog::boxRows
private

◆ buttonBox

QDialogButtonBox* MatrixResamplingDialog::buttonBox
private

◆ d_matrix

Matrix* MatrixResamplingDialog::d_matrix
private

◆ dimensionsLabel

QLineEdit* MatrixResamplingDialog::dimensionsLabel
private

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