Gui::TaskView::TaskView Class Reference

TaskView class handles the FreeCAD task view panel. More...

#include <TaskView.h>

List of all members.

Public Member Functions

void addTaskWatcher (const std::vector< TaskWatcher * > &Watcher)
void clearTaskWatcher (void)
virtual void OnChange (Gui::SelectionSingleton::SubjectType &rCaller, Gui::SelectionSingleton::MessageType Reason)
 Observer message from the Selection.
 TaskView (QWidget *parent=0)
 ~TaskView ()

Protected Slots

void accept ()
void clicked (QAbstractButton *button)
void helpRequested ()
void reject ()

Protected Member Functions

void addTaskWatcher (void)
void keyPressEvent (QKeyEvent *)
void removeDialog (void)
void removeTaskWatcher (void)
void showDialog (TaskDialog *dlg)
 used by Gui::Contol to register Dialogs
void slotActiveDocument (const App::Document &)
void slotDeletedDocument ()
void updateWatcher (void)
 update the visibility of the TaskWatcher accordant to the selection

Protected Attributes

TaskEditControlActiveCtrl
TaskDialogActiveDialog
std::vector< TaskWatcher * > ActiveWatcher
Connection connectApplicationActiveDocument
Connection connectApplicationDeleteDocument
iisTaskPaneltaskPanel

Friends

class Gui::ControlSingleton
class Gui::DockWnd::CombiView

Detailed Description

TaskView class handles the FreeCAD task view panel.

Keeps track of the inserted content elements. This elements get injected mostly by the ViewProvider classes of the selected DocumentObjects.

Definition at line 93 of file TaskView.h.


Constructor & Destructor Documentation

TaskView::TaskView ( QWidget *  parent = 0  ) 
TaskView::~TaskView (  ) 

Member Function Documentation

void TaskView::accept ( void   )  [protected, slot]

Definition at line 416 of file TaskView.cpp.

References Gui::TaskView::TaskDialog::accept(), ActiveDialog, and removeDialog().

Referenced by showDialog().

void TaskView::addTaskWatcher ( void   )  [protected]
void TaskView::addTaskWatcher ( const std::vector< TaskWatcher * > &  Watcher  ) 
void TaskView::clearTaskWatcher ( void   ) 
void TaskView::clicked ( QAbstractButton *  button  )  [protected, slot]
void TaskView::helpRequested (  )  [protected, slot]

Definition at line 428 of file TaskView.cpp.

References ActiveDialog, and Gui::TaskView::TaskDialog::helpRequested().

Referenced by showDialog().

void TaskView::keyPressEvent ( QKeyEvent *  ke  )  [protected]
virtual void Gui::TaskView::TaskView::OnChange ( Gui::SelectionSingleton::SubjectType rCaller,
Gui::SelectionSingleton::MessageType  Reason 
) [virtual]

Observer message from the Selection.

void TaskView::reject ( void   )  [protected, slot]

Definition at line 422 of file TaskView.cpp.

References ActiveDialog, Gui::TaskView::TaskDialog::reject(), and removeDialog().

Referenced by showDialog().

void TaskView::removeDialog ( void   )  [protected]
void TaskView::removeTaskWatcher ( void   )  [protected]
void TaskView::showDialog ( TaskDialog dlg  )  [protected]
void TaskView::slotActiveDocument ( const App::Document doc  )  [protected]

Definition at line 247 of file TaskView.cpp.

References ActiveDialog, and updateWatcher().

Referenced by TaskView().

void TaskView::slotDeletedDocument (  )  [protected]

Definition at line 253 of file TaskView.cpp.

References ActiveDialog, and updateWatcher().

Referenced by TaskView().

void TaskView::updateWatcher ( void   )  [protected]

update the visibility of the TaskWatcher accordant to the selection

Definition at line 353 of file TaskView.cpp.

References ActiveWatcher.

Referenced by addTaskWatcher(), slotActiveDocument(), and slotDeletedDocument().


Friends And Related Function Documentation

friend class Gui::ControlSingleton [friend]

Definition at line 106 of file TaskView.h.

friend class Gui::DockWnd::CombiView [friend]

Definition at line 105 of file TaskView.h.


Member Data Documentation

Definition at line 135 of file TaskView.h.

Referenced by clicked(), keyPressEvent(), removeDialog(), and showDialog().

Definition at line 131 of file TaskView.h.

Referenced by addTaskWatcher(), removeTaskWatcher(), and updateWatcher().

Definition at line 137 of file TaskView.h.

Referenced by TaskView(), and ~TaskView().

Definition at line 138 of file TaskView.h.

Referenced by TaskView(), and ~TaskView().

Definition at line 133 of file TaskView.h.

Referenced by addTaskWatcher(), removeDialog(), removeTaskWatcher(), showDialog(), and TaskView().


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

Generated on Wed Nov 23 19:02:12 2011 for FreeCAD by  doxygen 1.6.1