BALL
1.4.1
|
#include <BALL/VIEW/WIDGETS/geometricControl.h>
GeometricControl is a widget to display the list of representations. There are methods available to modify the representations. The method buildContextMenu is a means to create a customizable context menu entries. To use this widget in the application just create it with MainControl as parent and all in the RepresentationManager created Representation objects will show up in the GeometricControl.
Definition at line 42 of file geometricControl.h.
enum BALL::VIEW::GeometricControl::ColumnID [protected] |
Definition at line 220 of file geometricControl.h.
BALL::VIEW::GeometricControl::GeometricControl | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Default Constructor. There are two columns for this control. The Type column and the Properties column. The Type column shows the model type (e.g. LineModel), while the Properties column contains the number of Composites and GeometricObjects. There is a connection from the signal rightButtonClicked from the QT-library to the method onContextMenu. See documentation of QT-library for information concerning signal/slot mechanism. Calls registerWidget.
parent | the parent widget of this control (See documentation of QT-library for information concerning widgets) |
name | the name of this control |
virtual BALL::VIEW::GeometricControl::~GeometricControl | ( | ) | [virtual] |
Destructor.
BALL::VIEW::GeometricControl::GeometricControl | ( | const GeometricControl & | control | ) | [protected] |
void BALL::VIEW::GeometricControl::addItem_ | ( | const String & | text, |
const char * | member, | ||
QWidget * | widget = 0 |
||
) | [protected] |
virtual void BALL::VIEW::GeometricControl::addRepresentation | ( | Representation & | rep | ) | [virtual] |
Insert a Representation.
virtual void BALL::VIEW::GeometricControl::buildContextMenu | ( | ) | [virtual] |
Build a context menu for the Representation object the QListViewItem object.
representation | the Representation object for that a context menu should be created |
virtual void BALL::VIEW::GeometricControl::checkMenu | ( | MainControl & | main_control | ) | [virtual] |
Overloaded from ModularWidget.
Reimplemented from BALL::VIEW::ModularWidget.
virtual void BALL::VIEW::GeometricControl::clear | ( | ) | [inline, virtual] |
Explicit default initialization. Empty for further purpose.
Reimplemented from BALL::VIEW::ModularWidget.
Definition at line 78 of file geometricControl.h.
void BALL::VIEW::GeometricControl::createNewClippingPlane | ( | ) | [slot] |
virtual void BALL::VIEW::GeometricControl::deleteCurrentItems | ( | ) | [protected, virtual, slot] |
Overloaded from GenericControl.
Reimplemented from BALL::VIEW::GenericControl.
void BALL::VIEW::GeometricControl::duplicate | ( | ) | [slot] |
virtual void BALL::VIEW::GeometricControl::enterMoveMode | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::flipClippingCapping | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::flipClippingPlane | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::focus | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::generateListViewItem_ | ( | Representation & | rep | ) | [protected, virtual, slot] |
Generate the item for a representation.
std::list<Representation*> BALL::VIEW::GeometricControl::getHighlightedRepresentations | ( | ) | const |
Mutable inspection of the selection. Non-mutable inspection of the selection.
void BALL::VIEW::GeometricControl::hideShowClippingPlane | ( | ) | [slot] |
virtual void BALL::VIEW::GeometricControl::initializeWidget | ( | MainControl & | main_control | ) | [virtual] |
Initialize the menu entries:
main_control | the MainControl object to be initialized with this ModularWidget |
Reimplemented from BALL::VIEW::GenericControl.
void BALL::VIEW::GeometricControl::loadSurface | ( | ) | [slot] |
virtual void BALL::VIEW::GeometricControl::modifyRepresentation_ | ( | ) | [protected, virtual, slot] |
void BALL::VIEW::GeometricControl::moveItems | ( | const TransformationMessage & | msg | ) |
virtual void BALL::VIEW::GeometricControl::onItemClicked | ( | QTreeWidgetItem * | item, |
int | col | ||
) | [protected, virtual, slot] |
Reimplemented from BALL::VIEW::GenericControl.
virtual void BALL::VIEW::GeometricControl::onNotify | ( | Message * | message | ) | [virtual] |
virtual void BALL::VIEW::GeometricControl::removeRepresentation | ( | Representation & | rep | ) | [virtual] |
Remove a Representation.
virtual void BALL::VIEW::GeometricControl::renameRepresentation | ( | ) | [virtual, slot] |
void BALL::VIEW::GeometricControl::saveSurface | ( | ) | [slot] |
virtual void BALL::VIEW::GeometricControl::selectAtoms | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::selectClipRepresentations | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::selectedRepresentation | ( | Representation & | representation, |
bool | state | ||
) | [virtual, slot] |
void BALL::VIEW::GeometricControl::setClippingPlane_ | ( | const Vector3 & | n | ) | [protected] |
virtual void BALL::VIEW::GeometricControl::setClippingPlaneX | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::setClippingPlaneY | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::setClippingPlaneZ | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::GeometricControl::setClippingPosition | ( | ) | [virtual, slot] |
void BALL::VIEW::GeometricControl::showGuestContextMenu | ( | const QPoint & | pos | ) | [protected, virtual, slot] |
Reimplemented from BALL::VIEW::DockWidget.
virtual void BALL::VIEW::GeometricControl::updateRepresentation | ( | Representation & | rep | ) | [virtual] |
Update a Representation.
virtual void BALL::VIEW::GeometricControl::updateSelection | ( | ) | [virtual, slot] |
Reimplemented from BALL::VIEW::GenericControl.
QMenu BALL::VIEW::GeometricControl::clipping_plane_context_menu_ [protected] |
Definition at line 230 of file geometricControl.h.
QMenu BALL::VIEW::GeometricControl::context_menu_ [protected] |
Definition at line 229 of file geometricControl.h.
vector<QAction*> BALL::VIEW::GeometricControl::context_menu_actions_ [protected] |
Definition at line 246 of file geometricControl.h.
Definition at line 233 of file geometricControl.h.
Definition at line 232 of file geometricControl.h.
Definition at line 242 of file geometricControl.h.
bool BALL::VIEW::GeometricControl::ignore_change_ [protected] |
Definition at line 243 of file geometricControl.h.
Definition at line 238 of file geometricControl.h.
HashMap<QTreeWidgetItem*, Representation*> BALL::VIEW::GeometricControl::item_to_representation_ [protected] |
Definition at line 237 of file geometricControl.h.
QAction* BALL::VIEW::GeometricControl::menu_clipping_plane_ [protected] |
Definition at line 245 of file geometricControl.h.
QAction * BALL::VIEW::GeometricControl::menu_load_surface_ [protected] |
Definition at line 245 of file geometricControl.h.
Definition at line 240 of file geometricControl.h.
QAction * BALL::VIEW::GeometricControl::modify_surface_ [protected] |
Definition at line 245 of file geometricControl.h.
Definition at line 236 of file geometricControl.h.
HashMap<Representation*, QTreeWidgetItem*> BALL::VIEW::GeometricControl::representation_to_item_ [protected] |
Definition at line 235 of file geometricControl.h.