18 #ifndef HURRICANE_CELL_IMAGE_H
19 #define HURRICANE_CELL_IMAGE_H
25 #include <QMainWindow>
34 #include "hurricane/Commons.h"
35 #include "hurricane/Name.h"
36 #include "hurricane/viewer/CellWidget.h"
50 enum Flags { ShowScale=0x0001 };
55 inline const CellWidget* getCellWidget ()
const;
57 inline void setMode (
int mode );
58 inline void setFitOnAbutmentBox (
bool );
60 inline bool fitOnAbutmentBox ()
const;
61 void pageDecorate ( QPainter& );
63 virtual std::string _getString ()
const;
68 PaletteWidget* _palette;
72 bool _fitOnAbutmentBox;
79 inline CellWidget* CellImage::getCellWidget () {
return _cellWidget; }
80 inline const CellWidget* CellImage::getCellWidget ()
const {
return _cellWidget; }
81 inline void CellImage::setMode (
int mode ) { _mode = mode; }
82 inline void CellImage::setFitOnAbutmentBox (
bool state ) { _fitOnAbutmentBox = state; }
83 inline bool CellImage::fitOnAbutmentBox ()
const {
return _fitOnAbutmentBox; }
Widget to generate Image files.
Definition: CellImage.h:46
void setScreenCellWidget(CellWidget *)
CellImage(QWidget *parent=NULL)
Flags
Definition: CellImage.h:50
QImage * toImage(unsigned int flags=0)