#include <kptview.h>
Inherited by KPlato::AccountsView, KPlato::GanttView, KPlato::ResourceView, and KPlato::TaskEditor.
Inheritance diagram for KPlato::ViewBase:
Public Slots | |
virtual void | setViewActive (bool active, KXMLGUIFactory *factory=0) |
Public Member Functions | |
ViewBase (View *mainview, QWidget *parent) | |
ViewBase (QWidget *parent) | |
View * | mainView () 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 | |
View * | m_mainview |
Definition at line 96 of file kptview.h.
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.
View * KPlato::ViewBase::mainView | ( | ) | const |
virtual void KPlato::ViewBase::setZoom | ( | double | ) | [inline, virtual] |
Reimplemented in KPlato::AccountsView, and KPlato::GanttView.
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.
virtual void KPlato::ViewBase::drawChanges | ( | Project & | project | ) | [inline, virtual] |
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] |
void KPlato::ViewBase::removeActions | ( | ) | [protected, virtual] |
View* KPlato::ViewBase::m_mainview [protected] |
Definition at line 118 of file kptview.h.
Referenced by mainView(), KPlato::ResourceView::popupMenuRequested(), and KPlato::ResourceView::resSelectionChanged().