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

#include <StreamAlignerWidgetPlugin.h>

Inherits QObject, and QDesignerCustomWidgetInterface.

Public Member Functions

 StreamAlignerWidgetPlugin (QObject *parent=0)
 
virtual ~StreamAlignerWidgetPlugin ()
 
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

Definition at line 7 of file StreamAlignerWidgetPlugin.h.

Constructor & Destructor Documentation

StreamAlignerWidgetPlugin::StreamAlignerWidgetPlugin ( QObject *  parent = 0)

Definition at line 19 of file StreamAlignerWidgetPlugin.cpp.

20  : QObject(parent)
21  {
22  initialized = false;
23  }
StreamAlignerWidgetPlugin::~StreamAlignerWidgetPlugin ( )
virtual

Definition at line 25 of file StreamAlignerWidgetPlugin.cpp.

26  {
27  }

Member Function Documentation

QWidget * StreamAlignerWidgetPlugin::createWidget ( QWidget *  parent)

Definition at line 41 of file StreamAlignerWidgetPlugin.cpp.

42  {
43  return new StreamAlignerWidget(parent);
44  }
QString StreamAlignerWidgetPlugin::domXml ( ) const

Definition at line 76 of file StreamAlignerWidgetPlugin.cpp.

77  {
78  return QString("<widget class=\"StreamAlignerWidget\" name=\"") + name() +
79  QString("\">\n"
80  " <property name=\"geometry\">\n"
81  " <rect>\n"
82  " <x>0</x>\n"
83  " <y>0</y>\n"
84  " <width>250</width>\n"
85  " <height>250</height>\n"
86  " </rect>\n"
87  " </property>\n"
88  " <property name=\"toolTip\" >\n"
89  " <string>") + toolTip() +
90  QString("</string>\n"
91  "</property>\n"
92  " <property name=\"whatsThis\" >\n"
93  " <string>")
94  + whatsThis() + QString("</string>\n"
95  " </property>\n"
96  "</widget>\n");
97  }
QString StreamAlignerWidgetPlugin::group ( ) const

Definition at line 51 of file StreamAlignerWidgetPlugin.cpp.

52  {
53  return "Rock-Robotics";
54  }
QIcon StreamAlignerWidgetPlugin::icon ( ) const

Definition at line 56 of file StreamAlignerWidgetPlugin.cpp.

57  {
58  return QIcon(":/viz/icon.png");
59  }
QString StreamAlignerWidgetPlugin::includeFile ( ) const

Definition at line 99 of file StreamAlignerWidgetPlugin.cpp.

100  {
101  return "aggregator/StreamAlignerWidget.h";
102  }
void StreamAlignerWidgetPlugin::initialize ( QDesignerFormEditorInterface *  core)

Definition at line 29 of file StreamAlignerWidgetPlugin.cpp.

30  {
31  if (initialized)
32  return;
33  initialized = true;
34  }
bool StreamAlignerWidgetPlugin::isContainer ( ) const

Definition at line 71 of file StreamAlignerWidgetPlugin.cpp.

72  {
73  return false;
74  }
bool StreamAlignerWidgetPlugin::isInitialized ( ) const

Definition at line 36 of file StreamAlignerWidgetPlugin.cpp.

37  {
38  return initialized;
39  }
QString StreamAlignerWidgetPlugin::name ( ) const

Definition at line 46 of file StreamAlignerWidgetPlugin.cpp.

47  {
48  return "StreamAlignerWidget";
49  }
QString StreamAlignerWidgetPlugin::toolTip ( ) const

Definition at line 61 of file StreamAlignerWidgetPlugin.cpp.

62  {
63  return "Widget that shows the status of the Stream Aligners";
64  }
QString StreamAlignerWidgetPlugin::whatsThis ( ) const

Definition at line 66 of file StreamAlignerWidgetPlugin.cpp.

67  {
68  return "Widget that shows the status of the Stream Aligners";
69  }

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