TabOrganizer Class Reference
[GUI]

Organizes the tabbing, provides the close and open buttons. More...

#include <tab_organizer.h>

Inherits QTabWidget.

List of all members.

Public Slots

void closeTab (dataset_key_type const &dataset_name)

Public Member Functions

 TabOrganizer (QWidget *parent=0)
virtual ~TabOrganizer ()
int addTab (const std::vector< view_pointer_type > &view_vector, const QString &label)
void openOverviewForVolume (dataset_key_type const &dataset_name)
void openOverviewForImage (dataset_key_type const &dataset_name)


Detailed Description

Organizes the tabbing, provides the close and open buttons.

Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 42 of file tab_organizer.h.


Constructor & Destructor Documentation

TabOrganizer QWidget *  parent = 0  ) 
 

Constructor

Parameters:
parent The parent of the widget

Definition at line 29 of file tab_organizer.cpp.

~TabOrganizer  )  [virtual]
 

Destructor

Definition at line 42 of file tab_organizer.cpp.


Member Function Documentation

int addTab const std::vector< view_pointer_type > &  view_vector,
const QString &  label
 

Adds a tab constiting of the views saved in the vector with the names of the label

Parameters:
view_vector A vector of views that will be displayed in the tab
label The name of the tab

Definition at line 78 of file tab_organizer.cpp.

References ViewContainerWidget::addViews().

Referenced by MainWindow::openNewWorkspace(), TabOrganizer::openOverviewForImage(), and TabOrganizer::openOverviewForVolume().

Here is the call graph for this function:

void closeTab dataset_key_type const &  dataset_name  )  [slot]
 

Closes an Overview

Parameters:
dataset_name The name of the dataset

Definition at line 176 of file tab_organizer.cpp.

References Controller::getDependentViewIDsOfDataset(), and Controller::getInstance().

void openOverviewForImage dataset_key_type const &  dataset_name  ) 
 

Opens an overview of a specific image dataset

Parameters:
dataset_name The name of the image dataset, will be used as the name of the Tab as well

Definition at line 145 of file tab_organizer.cpp.

References TabOrganizer::addTab(), Controller::getInstance(), and Controller::getViewOfDataset().

Referenced by MainWindow::openOverview().

Here is the call graph for this function:

void openOverviewForVolume dataset_key_type const &  dataset_name  ) 
 

Opens an overview of a specific volume dataset

Parameters:
dataset_name The name of the volume dataset, will be used as the name of the Tab as well

Definition at line 100 of file tab_organizer.cpp.

References TabOrganizer::addTab(), Controller::getInstance(), and Controller::getViewOfDataset().

Referenced by MainWindow::openOverview().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sun Aug 13 18:20:04 2006 for iMEDgine by  doxygen 1.4.6