BALL::VIEW::SDWidget Class Reference

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

Inheritance diagram for BALL::VIEW::SDWidget:
QWidget

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, bool resize_to_parent=true)
virtual ~SDWidget ()
void plot (const System &system, bool clear=true, bool create_sd=true)
SystemgetSystem ()
const SystemgetSystem () const
void setSystem (const System &system)
void clear ()

Protected Member Functions

void paintEvent (QPaintEvent *event)
QPointF getEndpoint_ (QRectF &character_boundary, QPointF from, QPointF to)

Protected Attributes

System system_
bool resize_to_parent_
bool clear_

Public Attributes

Options options
 

options


void setDefaultOptions ()

Constructor & Destructor Documentation

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

Member Function Documentation

void BALL::VIEW::SDWidget::clear (  ) 
QPointF BALL::VIEW::SDWidget::getEndpoint_ ( QRectF &  character_boundary,
QPointF  from,
QPointF  to 
) [protected]
const System& BALL::VIEW::SDWidget::getSystem (  )  const [inline]
System& BALL::VIEW::SDWidget::getSystem (  )  [inline]
void BALL::VIEW::SDWidget::paintEvent ( QPaintEvent *  event  )  [protected]
void BALL::VIEW::SDWidget::plot ( const System system,
bool  clear = true,
bool  create_sd = true 
)
void BALL::VIEW::SDWidget::setDefaultOptions (  ) 

Resets the options to default values.

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

Member Data Documentation