rock_widget_collection  0.1
Public Member Functions | List of all members
ImageViewOldPlugin Class Reference

#include <ImageViewOldPlugin.h>

Inherits QObject, and QDesignerCustomWidgetInterface.

Public Member Functions

 ImageViewOldPlugin (QObject *parent=0)
 
virtual ~ImageViewOldPlugin ()
 
bool isContainer () const
 
bool isInitialized () const
 
QIcon icon () const
 
QString domXml () const
 
QString group () const
 
QString includeFile () const
 
QString name () const
 
QString toolTip () const
 
QString whatsThis () const
 
QWidget * createWidget (QWidget *parent)
 
void initialize (QDesignerFormEditorInterface *core)
 

Detailed Description

Deprecated:
This class is deprecated and will no longer be maintained. You should use the new ImageView widget.

Definition at line 11 of file ImageViewOldPlugin.h.

Constructor & Destructor Documentation

◆ ImageViewOldPlugin()

ImageViewOldPlugin::ImageViewOldPlugin ( QObject *  parent = 0)

Definition at line 5 of file ImageViewOldPlugin.cc.

6  : QObject(parent)
7  {
8  initialized = false;
9  }

◆ ~ImageViewOldPlugin()

ImageViewOldPlugin::~ImageViewOldPlugin ( )
virtual

Definition at line 11 of file ImageViewOldPlugin.cc.

12  {
13  }

Member Function Documentation

◆ createWidget()

QWidget * ImageViewOldPlugin::createWidget ( QWidget *  parent)

Definition at line 27 of file ImageViewOldPlugin.cc.

28  {
29  return new ImageViewOld(parent);
30  }

◆ domXml()

QString ImageViewOldPlugin::domXml ( ) const

Definition at line 62 of file ImageViewOldPlugin.cc.

63  {
64  return "<widget class=\"ImageViewOld\" name=\"imageviewold\">\n"
65  " <property name=\"geometry\">\n"
66  " <rect>\n"
67  " <x>0</x>\n"
68  " <y>0</y>\n"
69  " <width>320</width>\n"
70  " <height>240</height>\n"
71  " </rect>\n"
72  " </property>\n"
73  " <property name=\"toolTip\" >\n"
74  " <string>ImageView</string>\n"
75  " </property>\n"
76  " <property name=\"whatsThis\" >\n"
77  " <string>Widget for displaying frames.</string>\n"
78  " </property>\n"
79  "</widget>\n";
80  }

◆ group()

QString ImageViewOldPlugin::group ( ) const

Definition at line 37 of file ImageViewOldPlugin.cc.

38  {
39  return "Rock-Robotics";
40  }

◆ icon()

QIcon ImageViewOldPlugin::icon ( ) const

Definition at line 42 of file ImageViewOldPlugin.cc.

43  {
44  return QIcon(":/image_view_old/icon.png");
45  }

◆ includeFile()

QString ImageViewOldPlugin::includeFile ( ) const

Definition at line 82 of file ImageViewOldPlugin.cc.

83  {
84  return "image_view_widget/ImageView.h";
85  }

◆ initialize()

void ImageViewOldPlugin::initialize ( QDesignerFormEditorInterface *  core)

Definition at line 15 of file ImageViewOldPlugin.cc.

16  {
17  if (initialized)
18  return;
19  initialized = true;
20  }

◆ isContainer()

bool ImageViewOldPlugin::isContainer ( ) const

Definition at line 57 of file ImageViewOldPlugin.cc.

58  {
59  return false;
60  }

◆ isInitialized()

bool ImageViewOldPlugin::isInitialized ( ) const

Definition at line 22 of file ImageViewOldPlugin.cc.

23  {
24  return initialized;
25  }

◆ name()

QString ImageViewOldPlugin::name ( ) const

Definition at line 32 of file ImageViewOldPlugin.cc.

33  {
34  return "ImageViewOld";
35  }

◆ toolTip()

QString ImageViewOldPlugin::toolTip ( ) const

Definition at line 47 of file ImageViewOldPlugin.cc.

48  {
49  return "Old widget for displaying images. This one is deprecated, use ImageView instead.";
50  }

◆ whatsThis()

QString ImageViewOldPlugin::whatsThis ( ) const

Definition at line 52 of file ImageViewOldPlugin.cc.

53  {
54  return "Old widget for displaying images. This one is deprecated, use ImageView instead.";
55  }

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