KGantt Class Reference
#include <KGantt.h>
Inherits TQWidget.
Public Slots | |
void | setSelect () |
void | setZoom () |
void | setMove () |
void | zoomIn () |
void | zoomOut () |
void | zoomAll () |
void | selectAll () |
void | unselectAll () |
void | deleteSelectedItems () |
void | insertIntoSelectedItem () |
void | showList () |
void | hideList () |
Public Member Functions | |
KGantt (KGanttItem *toplevelitem=0, TQWidget *parent=0, const char *name=0, WFlags f=0) | |
~KGantt () | |
void | setToplevelItem (KGanttItem *item) |
KGanttItem * | getToplevelItem () |
xQGanttBarView * | barView () |
xQGanttListView * | listView () |
TQSplitter * | splitter () |
void | zoom (double factor) |
TDEPopupMenu * | menu () |
TDEToolBar * | toolbar (TQMainWindow *mw=0) |
void | dumpItems () |
void | getSelectedItems (TQPtrList< KGanttItem > &list) |
void | addHoliday (int y, int m, int d) |
void | removeHoliday (int y, int m, int d) |
Protected Member Functions | |
void | resizeEvent (TQResizeEvent *) |
Detailed Description
Gantt Widget.
A gantt widget contains two parts, a list view and a bar view.
Constructor & Destructor Documentation
◆ KGantt()
KGantt::KGantt | ( | KGanttItem * | toplevelitem = 0 , |
TQWidget * | parent = 0 , |
||
const char * | name = 0 , |
||
WFlags | f = 0 |
||
) |
Constructor.
Definition at line 17 of file KGantt.cpp.
◆ ~KGantt()
KGantt::~KGantt | ( | ) |
Destructor.
Definition at line 70 of file KGantt.cpp.
Member Function Documentation
◆ barView()
|
inline |
◆ dumpItems()
void KGantt::dumpItems | ( | ) |
Print to stdout.
Definition at line 81 of file KGantt.cpp.
◆ getSelectedItems()
|
inline |
◆ getToplevelItem()
|
inline |
◆ hideList
◆ listView()
|
inline |
◆ menu()
◆ setToplevelItem()
|
inline |
◆ showList
◆ toolbar()
|
inline |
Add gantt toolbar to main window.
If you want to embed a toolbar with specific actions like zooming or configuring the gantt, you can add a toolbar automatically by invoking this method. You have to pass your mainwindow as a parameter if you call this method the first time because teh toolbar will be created then. If you you want to access the pointer to a already created toolbar you can invoke this method without any parameter.
The documentation for this class was generated from the following files: