open_iA  2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | List of all members
iAFixedAspectWidget Class Reference

Keeps the aspect ratio of a contained iAVtkQtWidget fixed by placing two other resizable widgets around it as padding. More...

#include <iAFixedAspectWidget.h>

Inheritance diagram for iAFixedAspectWidget:
Collaboration diagram for iAFixedAspectWidget:

Public Member Functions

 iAFixedAspectWidget (double aspect=1.0, Qt::Alignment verticalAlign=Qt::AlignVCenter)
 
void setBackgroundColor (QColor const &color)
 
iAVtkQtWidgetvtkWidget ()
 
- Public Member Functions inherited from iASignallingWidget
void setBackgroundColor (QColor const &color)
 

Additional Inherited Members

- Signals inherited from iASignallingWidget
void dblClicked ()
 

Detailed Description

Keeps the aspect ratio of a contained iAVtkQtWidget fixed by placing two other resizable widgets around it as padding.

Constructor & Destructor Documentation

◆ iAFixedAspectWidget()

iAFixedAspectWidget::iAFixedAspectWidget ( double  aspect = 1.0,
Qt::Alignment  verticalAlign = Qt::AlignVCenter 
)

Member Function Documentation

◆ setBackgroundColor()

void iAFixedAspectWidget::setBackgroundColor ( QColor const &  color)

◆ vtkWidget()

iAVtkQtWidget * iAFixedAspectWidget::vtkWidget ( )

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