Image window.
More...
#include <cImageWindow.h>
◆ cImageWindow()
| cImageWindow::cImageWindow |
( |
cGlobalPreferences * |
globalpreferences, |
|
|
QWidget * |
parent = (QWidget *)0 |
|
) |
| |
The constructor.
- Parameters
-
| globalpreferences | global preferences of the application |
| parent | pointer to a parent widget |
◆ activeLayerChanged
| void cImageWindow::activeLayerChanged |
( |
int |
layerid | ) |
|
|
signal |
The signal is emitted when a layer is selected.
- Parameters
-
◆ addLayer()
| void cImageWindow::addLayer |
( |
QString |
name | ) |
|
◆ applyGlobalPreferences()
Apply new global preferences.
- Parameters
-
| globalpreferences | global preferences of the application |
◆ closeEvent()
| void cImageWindow::closeEvent |
( |
QCloseEvent * |
event | ) |
|
Handle the window close event.
- Parameters
-
| event | pointer to QCloseEvent |
◆ doubleClickedSpectrumIDSignal
| void cImageWindow::doubleClickedSpectrumIDSignal |
( |
int |
spectrumid | ) |
|
|
signal |
The signal is emitted the image is double clicked.
- Parameters
-
| spectrumid | id of a spectrum |
◆ keyPressEvent()
| void cImageWindow::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
Handle a key press event.
- Parameters
-
| event | pointer to QKeyEvent |
◆ keyReleaseEvent()
| void cImageWindow::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
Handle a key release event.
- Parameters
-
| event | pointer to QKeyEvent |
◆ layerChanged
| void cImageWindow::layerChanged |
( |
int |
layerid, |
|
|
bool |
checked, |
|
|
int |
alpha, |
|
|
int |
zvalue, |
|
|
bool |
redraw |
|
) |
| |
|
signal |
The signal is emitted when a layer was changed.
- Parameters
-
| layerid | id of the layer |
| checked | true if the layer was checked, false if the layer was unchecked |
| alpha | transparency of the layer |
| zvalue | z-value of the layer |
| redraw | redraw scene |
◆ setDefaultValues()
| void cImageWindow::setDefaultValues |
( |
string |
imzmlfilename, |
|
|
int |
defaultmaxx, |
|
|
int |
defaultmaxy, |
|
|
int |
defaultpixelsizex, |
|
|
int |
defaultpixelsizey, |
|
|
eVendorType |
vendor |
|
) |
| |
Set the filename and some default values parsed from the imzML file.
- Parameters
-
| imzmlfilename | name of imzML file |
| defaultmaxx | max count of pixel x - parsed from imzML file |
| defaultmaxy | max count of pixel y - parsed from imzML file |
| defaultpixelsizex | pixel size x - parsed from imzML file |
| defaultpixelsizey | pixel size y - parsed from imzML file |
| vendor | vendor type |
◆ updateSummaryPeaksTableFilter
| void cImageWindow::updateSummaryPeaksTableFilter |
( |
int |
xmin, |
|
|
int |
xmax, |
|
|
int |
ymin, |
|
|
int |
ymax |
|
) |
| |
|
signal |
The signal is emitted when the region selection was changed.
- Parameters
-
| xmin | minimum x coordinate |
| xmax | maximum x coordinate |
| ymin | minimum y coordinate |
| ymax | maximum y coordinate |
The documentation for this class was generated from the following files: