BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
BALL::VIEW::SDWidget Class Reference

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

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

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 More...
 
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_ ( )
protectedslot
QPointF BALL::VIEW::SDWidget::getEndpoint_ ( QRectF &  character_boundary,
QPointF  from,
QPointF  to,
bool  character_is_from 
)
protected
System& BALL::VIEW::SDWidget::getSystem ( )
inline

Definition at line 72 of file SDWidget.h.

const System& BALL::VIEW::SDWidget::getSystem ( ) const
inline

Definition at line 75 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

Vector3 BALL::VIEW::SDWidget::lower_
protected

Definition at line 101 of file SDWidget.h.

Options BALL::VIEW::SDWidget::options

options

Definition at line 61 of file SDWidget.h.

bool BALL::VIEW::SDWidget::resize_to_parent_
protected

Definition at line 98 of file SDWidget.h.

System BALL::VIEW::SDWidget::system_
protected

Definition at line 96 of file SDWidget.h.

Vector3 BALL::VIEW::SDWidget::upper_
protected

Definition at line 100 of file SDWidget.h.