KPlato::ViewBase Class Reference

#include <kptview.h>

Inherited by KPlato::AccountsView, KPlato::GanttView, KPlato::ResourceView, and KPlato::TaskEditor.

Inheritance diagram for KPlato::ViewBase:

[legend]
List of all members.

Public Slots

virtual void setViewActive (bool active, KXMLGUIFactory *factory=0)

Public Member Functions

 ViewBase (View *mainview, QWidget *parent)
 ViewBase (QWidget *parent)
ViewmainView () const
virtual ~ViewBase ()
virtual void setZoom (double)
virtual void draw ()
virtual void draw (Project &)
virtual void drawChanges (Project &project)

Protected Member Functions

virtual void addActions (KXMLGUIFactory *factory)
virtual void removeActions ()

Protected Attributes

Viewm_mainview

Detailed Description

Definition at line 96 of file kptview.h.


Constructor & Destructor Documentation

KPlato::ViewBase::ViewBase ( View mainview,
QWidget *  parent 
)

Definition at line 245 of file kptview.cc.

KPlato::ViewBase::ViewBase ( QWidget *  parent  ) 

Definition at line 251 of file kptview.cc.

virtual KPlato::ViewBase::~ViewBase (  )  [inline, virtual]

Definition at line 104 of file kptview.h.


Member Function Documentation

View * KPlato::ViewBase::mainView (  )  const

Definition at line 257 of file kptview.cc.

References m_mainview.

Referenced by setViewActive().

virtual void KPlato::ViewBase::setZoom ( double   )  [inline, virtual]

Reimplemented in KPlato::AccountsView, and KPlato::GanttView.

Definition at line 106 of file kptview.h.

virtual void KPlato::ViewBase::draw (  )  [inline, virtual]

Reimplemented in KPlato::AccountsView, and KPlato::TaskEditor.

Definition at line 107 of file kptview.h.

Referenced by drawChanges(), and KPlato::ResourceView::ResourceView().

virtual void KPlato::ViewBase::draw ( Project  )  [inline, virtual]

Reimplemented in KPlato::GanttView, KPlato::ResourceView, and KPlato::TaskEditor.

Definition at line 108 of file kptview.h.

virtual void KPlato::ViewBase::drawChanges ( Project project  )  [inline, virtual]

Reimplemented in KPlato::GanttView.

Definition at line 109 of file kptview.h.

References draw().

void KPlato::ViewBase::setViewActive ( bool  active,
KXMLGUIFactory *  factory = 0 
) [virtual, slot]

Reimplemented in KPlato::TaskEditor.

Definition at line 262 of file kptview.cc.

References mainView(), and KPlato::View::setTaskActionsEnabled().

Referenced by KPlato::View::slotCurrentChanged().

void KPlato::ViewBase::addActions ( KXMLGUIFactory *  factory  )  [protected, virtual]

Definition at line 268 of file kptview.cc.

Referenced by KPlato::TaskEditor::setViewActive().

void KPlato::ViewBase::removeActions (  )  [protected, virtual]

Definition at line 276 of file kptview.cc.

Referenced by KPlato::TaskEditor::setViewActive().


Member Data Documentation

View* KPlato::ViewBase::m_mainview [protected]

Definition at line 118 of file kptview.h.

Referenced by mainView(), KPlato::ResourceView::popupMenuRequested(), and KPlato::ResourceView::resSelectionChanged().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:52 2006 for KPlato by  doxygen 1.5.1-p1