kgantt

#include <xQGanttBarViewPort.h>

Inherits TQFrame.

Public Types

enum  Mode { Init , Select , Zoom , Move }
 

Signals

void modeChanged (int)
 
void scroll (int x, int y)
 
void resized ()
 
void recalculated ()
 
void message (const TQString &msg)
 

Public Member Functions

 xQGanttBarViewPort (KGanttItem *toplevelitem, xQGanttBarView *parent=0, const char *name=0, WFlags f=0)
 
 ~xQGanttBarViewPort ()
 
void update (int x1, int y1, int x2, int y2)
 
void addHoliday (int y, int m, int d)
 
void removeHoliday (int y, int m, int d)
 
TDEPopupMenu * menu ()
 
TDEToolBar * toolbar (TQMainWindow *mw=0)
 
void zoom (double sfactor, int wx, int wy)
 
void zoom (double sfactor)
 
void getSelectedItems (TQPtrList< KGanttItem > &list)
 

Public Attributes

TQPtrDict< xTQTaskPosition > _gItemList
 

Protected Slots

void setMode (int mode)
 
void setSelect ()
 
void setZoom ()
 
void setMove ()
 
void zoomIn ()
 
void zoomOut ()
 
void zoomAll ()
 
void popup (int index)
 
void selectAll ()
 
void unselectAll ()
 
void deleteSelectedItems ()
 
void insertIntoSelectedItem ()
 

Friends

class xQGanttBarView
 
class KGantt
 

Detailed Description

GanttBarViewPort Widget.

Definition at line 88 of file xQGanttBarViewPort.h.

Constructor & Destructor Documentation

◆ xQGanttBarViewPort()

xQGanttBarViewPort::xQGanttBarViewPort ( KGanttItem toplevelitem,
xQGanttBarView parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Constructor.

Definition at line 24 of file xQGanttBarViewPort.cpp.

◆ ~xQGanttBarViewPort()

xQGanttBarViewPort::~xQGanttBarViewPort ( )

Destructor.

Definition at line 98 of file xQGanttBarViewPort.cpp.

Member Function Documentation

◆ addHoliday()

void xQGanttBarViewPort::addHoliday ( int  y,
int  m,
int  d 
)

Add holiday.

Definition at line 886 of file xQGanttBarViewPort.cpp.

◆ removeHoliday()

void xQGanttBarViewPort::removeHoliday ( int  y,
int  m,
int  d 
)
inline

Remove holiday.

Definition at line 142 of file xQGanttBarViewPort.h.

◆ update()

void xQGanttBarViewPort::update ( int  x1,
int  y1,
int  x2,
int  y2 
)

Update widget.

Definition at line 286 of file xQGanttBarViewPort.cpp.


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