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

#include <TimelinePlugin.h>

Inherits QObject, and QDesignerCustomWidgetInterface.

Public Member Functions

 TimelinePlugin (QObject *parent=0)
 
virtual ~TimelinePlugin ()
 
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 8 of file TimelinePlugin.h.

Constructor & Destructor Documentation

TimelinePlugin::TimelinePlugin ( QObject *  parent = 0)

Definition at line 3 of file TimelinePlugin.cc.

4  : QObject(parent)
5 {
6  initialized = false;
7 }
TimelinePlugin::~TimelinePlugin ( )
virtual

Definition at line 9 of file TimelinePlugin.cc.

10 {
11 }

Member Function Documentation

QWidget * TimelinePlugin::createWidget ( QWidget *  parent)

Definition at line 71 of file TimelinePlugin.cc.

72 {
73  return new Timeline(parent);
74 }
QString TimelinePlugin::domXml ( ) const

Definition at line 28 of file TimelinePlugin.cc.

29 {
30  return "<ui language=\"c++\">\n"
31  " <widget class=\"Timeline\" name=\"timeline\">\n"
32  " <property name=\"geometry\">\n"
33  " <rect>\n"
34  " <x>0</x>\n"
35  " <y>0</y>\n"
36  " <width>250</width>\n"
37 // " <height>100</height>\n"
38  " </rect>\n"
39  " </property>\n"
40 // " <property name=\"toolTip\" >\n"
41 // " <string>The current time</string>\n"
42 // " </property>\n"
43 // " <property name=\"whatsThis\" >\n"
44 // " <string>The analog clock widget displays the current time.</string>\n"
45 // " </property>\n"
46  " </widget>\n"
47  "</ui>\n";
48 }
QString TimelinePlugin::group ( ) const

Definition at line 50 of file TimelinePlugin.cc.

50  {
51  return "Rock-Robotics";
52 }
QIcon TimelinePlugin::icon ( ) const

Definition at line 23 of file TimelinePlugin.cc.

24 {
25  return QIcon(":/timeline/icon");
26 }
QString TimelinePlugin::includeFile ( ) const

Definition at line 54 of file TimelinePlugin.cc.

54  {
55  return "rock_widget_collection/Timeline.h";
56 }
void TimelinePlugin::initialize ( QDesignerFormEditorInterface *  core)

Definition at line 76 of file TimelinePlugin.cc.

77 {
78  if (initialized)
79  return;
80  initialized = true;
81 }
bool TimelinePlugin::isContainer ( ) const

Definition at line 13 of file TimelinePlugin.cc.

14 {
15  return false;
16 }
bool TimelinePlugin::isInitialized ( ) const

Definition at line 18 of file TimelinePlugin.cc.

19 {
20  return initialized;
21 }
QString TimelinePlugin::name ( ) const

Definition at line 58 of file TimelinePlugin.cc.

58  {
59  return "Timeline";
60 }
QString TimelinePlugin::toolTip ( ) const

Definition at line 62 of file TimelinePlugin.cc.

62  {
63  return whatsThis();
64 }
QString whatsThis() const
QString TimelinePlugin::whatsThis ( ) const

Definition at line 66 of file TimelinePlugin.cc.

67 {
68  return "Slider Widget with section selection and marker support";
69 }

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