rock_widget_collection  0.1
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Properties | Friends | List of all members
ImageViewOld Class Reference

#include <ImageViewOld.h>

Inherits MultiWidget.

Inherited by RangeView, and SonarView.

Public Slots

void emitUserExport ()
 
void update ()
 
void update2 ()
 
void setDefaultImage ()
 
void setZoomEnabled (bool enabled)
 
virtual void openGL (bool flag)
 
bool onOpenGL ()
 
- Public Slots inherited from MultiWidget
void setActive (bool b)
 
QString getMinimizedLabel ()
 
void setMinimizedLabel (QString label)
 
void childEvent (QChildEvent *event)
 
bool event (QEvent *event)
 
bool isHiddenWhenMinimized () const
 
void hideWhenMin (bool b)
 
- Public Slots inherited from PaintWidget
QObject * addItem (QObject *object)
 
QObject * addPoints (const QList< int > &points_x, const QList< int > &points_y, int groupNr, const QColor &color)
 
QObject * addText (int xPos, int yPos, int groupNr, const QString &text)
 
QObject * addLine (int xPos, int yPos, int groupNr, const QColor &color, int endX, int endY)
 
QObject * addEllipse (int xPos, int yPos, int groupNr, const QColor &color, int width, int height)
 
QObject * addRectangle (int xPos, int yPos, int groupNr, const QColor &color, int width, int height)
 
QObject * addPolyline (int groupNr, const QColor &color, const QList< QPoint > &points)
 
QObject * addPolygon (int groupNr, const QColor &color, const QList< QPoint > &points)
 
QObject * removeItem (QObject *drawItem, bool delete_object)
 
void removeAllItems (bool delete_objects)
 

Signals

void clickImage (int x, int y)
 
void userExport ()
 
- Signals inherited from MultiWidget
void activityChanged (bool)
 

Public Member Functions

 ImageViewOld (QWidget *parent=NULL, bool use_openGL=false)
 
virtual ~ImageViewOld ()
 
void contextMenuEvent (QContextMenuEvent *event)
 
int heightForWidth (int w)
 
void mouseDoubleClickEvent (QMouseEvent *event)
 
void setAspectRatio (bool value)
 
bool getAspectRatio ()
 
void saveImage (bool overlay=true)
 
bool saveImage2 (QString path, bool overlay=true)
 
bool saveImage3 (const QString &mode, int pixel_size, int width, int height, const char *pbuffer, QString path, QString format)
 
void resetCrop ()
 
void crop (int x, int y, int w, int h)
 
void addRawImage (const QString &mode, int pixel_size, int width, int height, const char *pbuffer, const int size)
 
void addFrame (const base::samples::frame::Frame &frame)
 
void addImage (const QImage &image)
 
void setGroupStatus (int groupNr, bool enable)
 
void clearGroups ()
 
int getHeight () const
 
int getWidth () const
 
int getFormat () const
 
- Public Member Functions inherited from MultiWidget
 MultiWidget (QWidget *parent=0)
 
- Public Member Functions inherited from PaintWidget
 PaintWidget (QWidget *parent)
 
 ~PaintWidget ()
 

Protected Member Functions

void drawDrawItemsToImage (QImage &image, bool all=false)
 
void drawDrawItemsToPainter (QPainter &painter, bool all=false)
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseReleaseEvent (QMouseEvent *event)
 
void calculateRects ()
 
std::pair< QPoint, bool > toImage (QPoint const &p)
 
- Protected Member Functions inherited from PaintWidget
void drawDrawItemsToImage (QImage &image, bool all=false)
 
void drawDrawItemsToPainter (QPainter &painter, bool all=false)
 
void paintEvent (QPaintEvent *event)
 

Protected Attributes

QMenu contextMenu
 
QAction * save_image_act
 
QAction * user_export_act
 
QString save_path
 
QImage originalImage
 
QImage image
 
QRect currentCrop
 
bool no_input
 
bool aspect_ratio
 
frame_helper::FrameQImageConverter frame_converter
 
ImageViewOldGLimage_view_gl
 
QRectF target
 
QRectF source
 
bool zoomEnabled
 
QPoint pressPoint
 
bool pressValid
 
- Protected Attributes inherited from MultiWidget
bool isActive
 
bool wasHidden
 
- Protected Attributes inherited from PaintWidget
QList< DrawItem * > items
 
QList< int > disabledGroups
 
bool isOpenGL
 

Properties

bool Use_OpenGL
 
bool Aspect_Ratio
 
- Properties inherited from MultiWidget
bool hideWhenMinimized
 
QString minimizedLabel
 

Friends

class ImageViewOldGL
 

Detailed Description

Widget which displays an image. The dimensions and the format needs to be given and images can then be added an will be shown immidiately.

Imaging

If an image which is larger than the specified dimension is added, only the images visible parts (within the dimension specified) will be shown.
Alternatively one can add an image and scale it. No scaling will be done if the image already has the proportions given at start. Scaling is costy though. If more images of a different size shall be added the best way is to change the format via changeFormat. This will change the format according to the new dimensions. This should be the default behaviour e.g. if a cameras resolution was changed so is the widgets. Scaling should only be done if a few images are changed or if the images are all quite large and should be scaled to enhance the viewing. Note though, again, that scaling does cost performance.

Drawing shapes

One can draw shapes on top of the image. Currently these are:

One can add the shapes via addItem or a specific convenience method like addText, addLine etc. Added Items will be displayed on top of the image currently displayed and all successive images. RemoveItems, removes the given item. Alternatively all specific shapes can be removed or all Items.
Items can have a group number and all items with a specific group number can be shown or hidden. Note that hidden is NOT the same as removed. Hidden just does not draw them, removed items can not be retrieved by the widget (even though they might be from outside the class).
Note: After adding any shape no repaint will be done. You need to either explicitly call repaint on the widget or add a different image will will automatically have the shapes added ontop of it. Otherwise, if adding multiple shapes, repaint would be called very often which especially when working with video would be a performance waste.

Author
Bjoern Lueck, Alexander Duda
Version
0.1
Deprecated:
This class is deprecated and will no longer be maintained. You should use the new ImageView widget.

Definition at line 74 of file ImageViewOld.h.

Constructor & Destructor Documentation

ImageViewOld::ImageViewOld ( QWidget *  parent = NULL,
bool  use_openGL = false 
)

Initializing the widget with the given format and dimensions For format parameters

Parameters
widththe width of images put onto the widget
heightthe height of images put onto the widget

Definition at line 15 of file ImageViewOld.cc.

15  :
16  MultiWidget(parent),
17  contextMenu(this),
18  image(0, 0, QImage::Format_RGB888),
19  aspect_ratio(false),
20  zoomEnabled(false)
21 {
22  resize(width(),height());
23  //setting up popup menue
24  save_image_act = new QAction(tr("&Save Image"),this);
25  user_export_act = new QAction(tr("&User Export"),this);
26  save_image_act->setStatusTip(tr("Save the image to disk"));
27  user_export_act->setStatusTip(tr("Emits an event for user specific export"));
28  connect(save_image_act,SIGNAL(triggered()),this,SLOT(saveImage()));
29  connect(user_export_act,SIGNAL(triggered()),this,SLOT(emitUserExport()));
30  contextMenu.addAction(save_image_act);
31  contextMenu.addAction(user_export_act);
32 
33  //setting up widget
34  setWindowTitle(tr("ImageView"));
37 
38  //configure opengl if activated
39  image_view_gl = NULL;
40  openGL(use_openGL);
41 }
QAction * save_image_act
Definition: ImageViewOld.h:184
void calculateRects()
void setDefaultImage()
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
virtual void openGL(bool flag)
QMenu contextMenu
Definition: ImageViewOld.h:183
MultiWidget(QWidget *parent=0)
Definition: MultiWidget.h:18
QAction * user_export_act
Definition: ImageViewOld.h:185
void saveImage(bool overlay=true)
void emitUserExport()
Definition: ImageViewOld.cc:50
ImageViewOld::~ImageViewOld ( )
virtual

Destructor cleaning up

Definition at line 44 of file ImageViewOld.cc.

45 {
46  disconnect(save_image_act, 0, 0, 0);
47  delete save_image_act;
48 }
QAction * save_image_act
Definition: ImageViewOld.h:184

Member Function Documentation

void ImageViewOld::addFrame ( const base::samples::frame::Frame &  frame)

Definition at line 250 of file ImageViewOld.cc.

251 {
252  if(frame_converter.copyFrameToQImageRGB888(originalImage,frame))
253  {
254  this->image = this->originalImage;
255  if(image_view_gl)
256  {
258  }
259  }
260  calculateRects();
261  this->image = this->originalImage;
262  no_input = false;
263 }
frame_helper::FrameQImageConverter frame_converter
Definition: ImageViewOld.h:194
void setGLViewPoint(int display_width=0, int display_height=0)
void calculateRects()
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
QImage originalImage
Definition: ImageViewOld.h:188
void ImageViewOld::addImage ( const QImage &  image)

Adds a QImage to the widget.

Parameters
imagethe image to be added

Definition at line 242 of file ImageViewOld.cc.

243 {
244  //check if image size has changed
245  //zoom factor must be recalculated
246  this->image = this->originalImage = image;
247  no_input = false;
248 }
QImage originalImage
Definition: ImageViewOld.h:188
void ImageViewOld::addRawImage ( const QString &  mode,
int  pixel_size,
int  width,
int  height,
const char *  pbuffer,
const int  size 
)

Adds an image to the display, given raw data in pbuffer

  • mode the mode as a string. This maps to the values in the base::samples::frame::frame_mode_t enumeration (see below)
  • pixel_size the size of a complete pixel, in bytes
  • with the width of the image, in pixels
  • height the height of the image, in pixels
  • pbuffer the raw data

The following modes are understood in mode:

  • MODE_GRAYSCALE
  • MODE_RGB
  • MODE_UYVY

Definition at line 225 of file ImageViewOld.cc.

226 {
227  //check if image size has been changed
228  //zoom factor must be recalculated
229  if(frame_converter.copyFrameToQImageRGB888(originalImage,mode, pixel_size, width, height,pbuffer,size))
230  {
231  this->image = this->originalImage;
232  if(image_view_gl)
233  {
235  }
236  }
237  calculateRects();
238  this->image = this->originalImage;
239  no_input = false;
240 }
frame_helper::FrameQImageConverter frame_converter
Definition: ImageViewOld.h:194
void setGLViewPoint(int display_width=0, int display_height=0)
void calculateRects()
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
QImage originalImage
Definition: ImageViewOld.h:188
void ImageViewOld::calculateRects ( )
protected

Definition at line 309 of file ImageViewOld.cc.

310 {
311  int x_offset = 0;
312  int y_offset = 0;
313  if(aspect_ratio)
314  {
315  float x =1;
316  float y =1;
317  if (image.width() && image.height())
318  {
319  x = ((float)width())/ image.width();
320  y = ((float)height())/ image.height();
321  }
322  if(x < y)
323  y_offset = 0.5f*(height()-x*image.height());
324  else
325  x_offset = 0.5f*(width()-y*image.width());
326  }
327  target.setRect(x_offset, y_offset, width()-x_offset*2, height()-y_offset*2);
328  source.setRect(0.0, 0.0, image.width(), image.height());
329 }
void ImageViewOld::clearGroups ( )

Removes all groups stati. If there are still shapes with group numbers they will all be visible afterwards

Definition at line 206 of file ImageViewOld.cc.

207 {
208  disabledGroups.clear();
209 }
QList< int > disabledGroups
Definition: PaintWidget.h:129
void ImageViewOld::clickImage ( int  x,
int  y 
)
signal
void ImageViewOld::contextMenuEvent ( QContextMenuEvent *  event)

Definition at line 61 of file ImageViewOld.cc.

62 {
63  contextMenu.exec(event->globalPos());
64 }
QMenu contextMenu
Definition: ImageViewOld.h:183
bool event(QEvent *event)
Definition: MultiWidget.h:63
void ImageViewOld::crop ( int  x,
int  y,
int  w,
int  h 
)

Crops the current image

Definition at line 218 of file ImageViewOld.cc.

219 {
220  this->image = this->image.copy(x, y, w, h);
221  currentCrop = QRect(x, y, w, h);
222  calculateRects();
223 }
QRect currentCrop
Definition: ImageViewOld.h:190
void calculateRects()
void ImageViewOld::drawDrawItemsToImage ( QImage &  image,
bool  all = false 
)
protected

Adds all shapes to the image

Parameters
shownImageteh iamge to add the shapes to

Definition at line 283 of file ImageViewOld.cc.

284 {
285  QPainter painter(&image);
286  drawDrawItemsToPainter(painter,all);
287 }
void drawDrawItemsToPainter(QPainter &painter, bool all=false)
void ImageViewOld::drawDrawItemsToPainter ( QPainter &  painter,
bool  all = false 
)
protected

Definition at line 265 of file ImageViewOld.cc.

266 {
267  if(!image_view_gl)
268  all = true;
269 
270  if(!items.empty())
271  {
272  painter.setRenderHint(QPainter::TextAntialiasing, true);
273  QList<DrawItem*>::iterator iter = items.begin();
274  for(;iter != items.end();++iter)
275  {
276  if(!disabledGroups.contains((*iter)->getGroupNr()))
277  if(!(*iter)->onOpenGL() || all == true)
278  (*iter)->draw(&painter,source,target);
279  }
280  }
281 }
QList< DrawItem * > items
Definition: PaintWidget.h:127
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
QList< int > disabledGroups
Definition: PaintWidget.h:129
void ImageViewOld::emitUserExport ( )
slot

Definition at line 50 of file ImageViewOld.cc.

51 {
52  emit userExport();
53 }
void userExport()
bool ImageViewOld::getAspectRatio ( )
inline

Definition at line 118 of file ImageViewOld.h.

118 {return aspect_ratio;};
int ImageViewOld::getFormat ( ) const
inline

Definition at line 167 of file ImageViewOld.h.

167 {return image.format();};
int ImageViewOld::getHeight ( ) const
inline

Definition at line 165 of file ImageViewOld.h.

165 {return image.height();};
int ImageViewOld::getWidth ( ) const
inline

Definition at line 166 of file ImageViewOld.h.

166 {return image.width();};
int ImageViewOld::heightForWidth ( int  w)
inline

Definition at line 96 of file ImageViewOld.h.

96 {return w*image.height()/image.width(); };
void ImageViewOld::mouseDoubleClickEvent ( QMouseEvent *  event)

Definition at line 350 of file ImageViewOld.cc.

351 {
352 }
void ImageViewOld::mousePressEvent ( QMouseEvent *  event)
protected

Definition at line 90 of file ImageViewOld.cc.

91 {
92  std::pair<QPoint, bool> img = toImage(QPoint(event->x(), event->y()));
93  pressPoint = img.first;
94  pressValid = img.second;
95 }
QPoint pressPoint
Definition: ImageViewOld.h:201
std::pair< QPoint, bool > toImage(QPoint const &p)
Definition: ImageViewOld.cc:66
bool event(QEvent *event)
Definition: MultiWidget.h:63
void ImageViewOld::mouseReleaseEvent ( QMouseEvent *  event)
protected

Definition at line 97 of file ImageViewOld.cc.

98 {
99  if (event->modifiers() & Qt::ControlModifier)
100  {
101  // Cancel current zoom
102  if (!zoomEnabled)
103  return;
104 
105  resetCrop();
106  update();
107  return;
108  }
109 
110  std::pair<QPoint, bool> imgPoint = toImage(QPoint(event->x(), event->y()));
111  QPoint releasePoint = imgPoint.first;
112  int distance = (releasePoint - pressPoint).manhattanLength();
113  if (zoomEnabled && distance > 5)
114  {
115  int w = abs((pressPoint - releasePoint).x()) + 1;
116  int h = abs((pressPoint - releasePoint).y()) + 1;
117  int x = std::min(pressPoint.x(), releasePoint.x());
118  int y = std::min(pressPoint.y(), releasePoint.y());
119  crop(x, y, w, h);
120  update();
121  }
122  else if (pressValid)
123  emit clickImage(pressPoint.x(), pressPoint.y());
124 }
QPoint pressPoint
Definition: ImageViewOld.h:201
std::pair< QPoint, bool > toImage(QPoint const &p)
Definition: ImageViewOld.cc:66
void crop(int x, int y, int w, int h)
bool event(QEvent *event)
Definition: MultiWidget.h:63
void clickImage(int x, int y)
void resetCrop()
bool ImageViewOld::onOpenGL ( )
inlineslot

Definition at line 111 of file ImageViewOld.h.

111 {return image_view_gl;};
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
void ImageViewOld::openGL ( bool  flag)
virtualslot

Definition at line 141 of file ImageViewOld.cc.

142 {
143  if(flag)
144  {
145  //prevent activating if it is already activated
146  if(image_view_gl)
147  return;
148 
149  image_view_gl = new ImageViewOldGL(*this);
150  if (!image_view_gl)
151  return;
152  image_view_gl->resize(width(),height());
154  image_view_gl->show();
155  }
156  else
157  {
158  delete image_view_gl;
159  image_view_gl = NULL;
160  }
161  isOpenGL = flag;
162  for(QList<DrawItem*>::iterator iter = items.begin();iter != items.end();++iter) (*iter)->openGL(flag);
163 }
QList< DrawItem * > items
Definition: PaintWidget.h:127
friend class ImageViewOldGL
Definition: ImageViewOld.h:82
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
void setAspectRatio(bool value)
void ImageViewOld::paintEvent ( QPaintEvent *  event)
protectedvirtual

Reimplemented in SonarView.

Definition at line 331 of file ImageViewOld.cc.

332 {
333  QPainter painter(this);
334  painter.drawImage(target, image, source);
335  drawDrawItemsToPainter(painter,true);
336 }
void drawDrawItemsToPainter(QPainter &painter, bool all=false)
void ImageViewOld::resetCrop ( )

Removes any cropping previously set with crop(x, y, w, h)

Definition at line 211 of file ImageViewOld.cc.

212 {
213  this->image = this->originalImage;
214  currentCrop = QRect(0, 0, image.width(), image.height());
215  calculateRects();
216 }
QRect currentCrop
Definition: ImageViewOld.h:190
void calculateRects()
QImage originalImage
Definition: ImageViewOld.h:188
void ImageViewOld::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 338 of file ImageViewOld.cc.

339 {
340  QWidget::resizeEvent(event);
341 
342  if(no_input)
343  setDefaultImage();
344  if(image_view_gl)
345  image_view_gl->resize(width(),height());
346 
347  calculateRects();
348 }
void calculateRects()
void setDefaultImage()
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
bool event(QEvent *event)
Definition: MultiWidget.h:63
void ImageViewOld::saveImage ( bool  overlay = true)

Definition at line 165 of file ImageViewOld.cc.

166 {
167  QString path = QFileDialog::getSaveFileName(this, tr("Save File"),
168  save_path,
169  tr("Images (*.png)"));
170  if(path.length() > 0)
171  saveImage2(path,overlay);
172 }
bool saveImage2(QString path, bool overlay=true)
QString save_path
Definition: ImageViewOld.h:186
bool ImageViewOld::saveImage2 ( QString  path,
bool  overlay = true 
)

Definition at line 173 of file ImageViewOld.cc.

174 {
175  if(overlay)
176  {
177  QImage temp(image);
178  drawDrawItemsToImage(temp,true);
179  temp.save(path,"PNG",80);
180  }
181  else
182  image.save(path,"PNG",80);
183  return true;
184 }
void drawDrawItemsToImage(QImage &image, bool all=false)
bool ImageViewOld::saveImage3 ( const QString &  mode,
int  pixel_size,
int  width,
int  height,
const char *  pbuffer,
QString  path,
QString  format 
)

Definition at line 186 of file ImageViewOld.cc.

187 {
188  QImage image;
189  frame_converter.copyFrameToQImageRGB888(image,mode, pixel_size, width, height,pbuffer);
190  image.save(path,format.toAscii().data(),80);
191  return true;
192 }
frame_helper::FrameQImageConverter frame_converter
Definition: ImageViewOld.h:194
void ImageViewOld::setAspectRatio ( bool  value)
inline

Definition at line 112 of file ImageViewOld.h.

113  {
114  aspect_ratio=value;
115  if(image_view_gl)
117  };
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
void setAspectRatio(bool value)
void ImageViewOld::setDefaultImage ( )
slot

Definition at line 126 of file ImageViewOld.cc.

127 {
128  static QColor background(127, 127, 127);
129  static QColor textcolor(255,255,255);
130  this->originalImage = QImage(width(),height(),QImage::Format_RGB888);
131  QPainter painter(&this->originalImage);
132  painter.setBrush(background);
133  painter.drawRect(0,0,image.width(),image.height());
134  painter.setBrush(textcolor);
135  painter.drawText(0,0,image.width(),image.height(),
136  Qt::AlignVCenter|Qt::AlignHCenter,"No Signal");
138  no_input = true;
139 }
QImage originalImage
Definition: ImageViewOld.h:188
void ImageViewOld::setGroupStatus ( int  groupNr,
bool  enable 
)

Definition at line 194 of file ImageViewOld.cc.

195 {
196  if(!enable)
197  {
198  disabledGroups.push_back(groupNr);
199  }
200  else
201  {
202  disabledGroups.removeAll(groupNr);
203  }
204 }
QList< int > disabledGroups
Definition: PaintWidget.h:129
void ImageViewOld::setZoomEnabled ( bool  enabled)
slot

Definition at line 56 of file ImageViewOld.cc.

57 {
58  zoomEnabled = enabled;
59 }
std::pair< QPoint, bool > ImageViewOld::toImage ( QPoint const &  p)
protected

Definition at line 66 of file ImageViewOld.cc.

67 {
68  //calculate pos on image
69  int offset_x = target.x();
70  int offset_y = target.y();
71  float scale_x = source.width()/target.width();
72  float scale_y = source.height()/target.height();
73 
74  int x = (int)(scale_x*(p.x()-offset_x)+0.5);
75  int y = (int)(scale_y*(p.y()-offset_y)+0.5);
76 
77  bool valid = (x>=0 && x <= source.width() &&
78  y>=0 && y <= source.height());
79 
80  if (!valid)
81  {
82  x = x < 0 ? 0 : source.width() - 1;
83  y = y < 0 ? 0 : source.height() - 1;
84  }
85  x += currentCrop.x();
86  y += currentCrop.y();
87  return std::make_pair(QPoint(x, y), valid);
88 }
QRect currentCrop
Definition: ImageViewOld.h:190
void ImageViewOld::update ( )
slot

Definition at line 296 of file ImageViewOld.cc.

297 {
298  if(image_view_gl)
299  {
300  //only opengl overlays are displayed
301  image_view_gl->repaint();
302  }
303  else
304  {
305  QWidget::update();
306  }
307 }
ImageViewOldGL * image_view_gl
Definition: ImageViewOld.h:195
void ImageViewOld::update2 ( )
slot

Definition at line 291 of file ImageViewOld.cc.

292 {
293  update();
294 }
void ImageViewOld::userExport ( )
signal

Friends And Related Function Documentation

friend class ImageViewOldGL
friend

Definition at line 82 of file ImageViewOld.h.

Member Data Documentation

bool ImageViewOld::aspect_ratio
protected

Definition at line 192 of file ImageViewOld.h.

QMenu ImageViewOld::contextMenu
protected

Definition at line 183 of file ImageViewOld.h.

QRect ImageViewOld::currentCrop
protected

Definition at line 190 of file ImageViewOld.h.

frame_helper::FrameQImageConverter ImageViewOld::frame_converter
protected

Definition at line 194 of file ImageViewOld.h.

QImage ImageViewOld::image
protected

Definition at line 189 of file ImageViewOld.h.

ImageViewOldGL* ImageViewOld::image_view_gl
protected

Definition at line 195 of file ImageViewOld.h.

bool ImageViewOld::no_input
protected

Definition at line 191 of file ImageViewOld.h.

QImage ImageViewOld::originalImage
protected

Definition at line 188 of file ImageViewOld.h.

QPoint ImageViewOld::pressPoint
protected

Definition at line 201 of file ImageViewOld.h.

bool ImageViewOld::pressValid
protected

Definition at line 202 of file ImageViewOld.h.

QAction* ImageViewOld::save_image_act
protected

Definition at line 184 of file ImageViewOld.h.

QString ImageViewOld::save_path
protected

Definition at line 186 of file ImageViewOld.h.

QRectF ImageViewOld::source
protected

Definition at line 198 of file ImageViewOld.h.

QRectF ImageViewOld::target
protected

Definition at line 197 of file ImageViewOld.h.

QAction* ImageViewOld::user_export_act
protected

Definition at line 185 of file ImageViewOld.h.

bool ImageViewOld::zoomEnabled
protected

Definition at line 200 of file ImageViewOld.h.

Property Documentation

bool ImageViewOld::Aspect_Ratio
readwrite

Definition at line 79 of file ImageViewOld.h.

bool ImageViewOld::Use_OpenGL
readwrite

Definition at line 78 of file ImageViewOld.h.


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