BALL::VIEW::SDWidget Class Reference

#include <BALL/VIEW/WIDGETS/SDWidget.h>

Inheritance diagram for BALL::VIEW::SDWidget:
Inheritance graph
[legend]

List of all members.

Classes

struct  Default
 Default values for options. More...
struct  Option
 Option names. More...

Public Member Functions

 SDWidget (QWidget *parent=0, bool show_hydrogens=false)
 SDWidget (const System &system, QWidget *parent=0)
virtual ~SDWidget ()
void plot (const System &system, bool create_sd=true)
SystemgetSystem ()
const SystemgetSystem () const
void setSystem (const System &system)
void clear ()
QSize sizeHint () const

Protected Slots

void exportImage_ ()

Protected Member Functions

void setup_ ()
void paintEvent (QPaintEvent *event)
void renderSD_ (QPaintDevice *paint_device)
void drawFrame_ ()
QPointF getEndpoint_ (QRectF &character_boundary, QPointF from, QPointF to, bool character_is_from)

Protected Attributes

System system_
bool resize_to_parent_
Vector3 upper_
Vector3 lower_

Public Attributes



Options options
 options
void setDefaultOptions ()

Detailed Description

Definition at line 22 of file SDWidget.h.


Constructor & Destructor Documentation

BALL::VIEW::SDWidget::SDWidget ( QWidget parent = 0,
bool  show_hydrogens = false 
)
BALL::VIEW::SDWidget::SDWidget ( const System system,
QWidget parent = 0 
)
virtual BALL::VIEW::SDWidget::~SDWidget (  )  [virtual]

Member Function Documentation

void BALL::VIEW::SDWidget::clear (  ) 
void BALL::VIEW::SDWidget::drawFrame_ (  )  [protected]
void BALL::VIEW::SDWidget::exportImage_ (  )  [protected, slot]
QPointF BALL::VIEW::SDWidget::getEndpoint_ ( QRectF &  character_boundary,
QPointF  from,
QPointF  to,
bool  character_is_from 
) [protected]
const System& BALL::VIEW::SDWidget::getSystem (  )  const [inline]

Definition at line 75 of file SDWidget.h.

System& BALL::VIEW::SDWidget::getSystem (  )  [inline]

Definition at line 72 of file SDWidget.h.

void BALL::VIEW::SDWidget::paintEvent ( QPaintEvent *  event  )  [protected]
void BALL::VIEW::SDWidget::plot ( const System system,
bool  create_sd = true 
)
void BALL::VIEW::SDWidget::renderSD_ ( QPaintDevice paint_device  )  [protected]
void BALL::VIEW::SDWidget::setDefaultOptions (  ) 

Resets the options to default values.

void BALL::VIEW::SDWidget::setSystem ( const System system  )  [inline]

Definition at line 78 of file SDWidget.h.

void BALL::VIEW::SDWidget::setup_ (  )  [protected]
QSize BALL::VIEW::SDWidget::sizeHint (  )  const

Member Data Documentation

Definition at line 101 of file SDWidget.h.

options

Definition at line 61 of file SDWidget.h.

Definition at line 98 of file SDWidget.h.

Definition at line 96 of file SDWidget.h.

Definition at line 100 of file SDWidget.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3