rock_widget_collection  0.1
WaterwallDisplayPlugin.cc
Go to the documentation of this file.
2 #include "qwaterfalldisplay.h"
3 
4 
6  : QObject(parent)
7  {
8  initialized = false;
9  }
10 
12  {
13  }
14 
15  void WaterfallDisplayPlugin::initialize(QDesignerFormEditorInterface *formEditor)
16  {
17  if (initialized)
18  return;
19  initialized = true;
20  }
21 
23  {
24  return initialized;
25  }
26 
27  QWidget *WaterfallDisplayPlugin::createWidget(QWidget *parent)
28  {
29  return new QWaterfallDisplay(320,240,parent);
30  }
31 
33  {
34  return "QWaterfallDisplay";
35  }
36 
38  {
39  return "Rock-Robotics";
40  }
41 
43  {
44  return QIcon();
45  //return QIcon(":/image_view/icon.png");
46  }
47 
49  {
50  return "Widget for displaying data in a waterfall display";
51  }
52 
54  {
55  return "Widget for displaying data";
56  }
57 
59  {
60  return false;
61  }
62 
64  {
65  return "<widget class=\"QWaterfallDisplay\" name=\"waterfalldisplay\">\n"
66  " <property name=\"geometry\">\n"
67  " <rect>\n"
68  " <x>0</x>\n"
69  " <y>0</y>\n"
70  " <width>320</width>\n"
71  " <height>240</height>\n"
72  " </rect>\n"
73  " </property>\n"
74  " <property name=\"toolTip\" >\n"
75  " <string>WaterfallDisplay</string>\n"
76  " </property>\n"
77  " <property name=\"whatsThis\" >\n"
78  " <string>Widget for displaying data in a waterfall display</string>\n"
79  " </property>\n"
80  "</widget>\n";
81  }
82 
84  {
85  return "2dvis/qwaterfalldisplay.h";
86  }
87 
WaterfallDisplayPlugin(QObject *parent=0)
QWidget * createWidget(QWidget *parent)
void initialize(QDesignerFormEditorInterface *core)