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

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

Inheritance diagram for BALL::VIEW::RegularData2DWidget:
BALL::VIEW::CanvasWidget BALL::VIEW::ModularWidget QCanvasView BALL::Embeddable BALL::VIEW::ConnectionObject

Public Slots

void createPlot ()
 Creator of a plot. More...
 
- Public Slots inherited from BALL::VIEW::CanvasWidget
virtual void zoomIn ()
 
virtual void zoomOut ()
 
virtual void zoom (float xfactor, float yfactor)
 
virtual void zoomToFit ()
 

Public Member Functions

 RegularData2DWidget (const RegularData2D *data, QWidget *parent=0)
 
 ~RegularData2DWidget ()
 
virtual void onNotify (Message *message)
 
- Public Member Functions inherited from BALL::VIEW::CanvasWidget
 CanvasWidget (QWidget *parent=0, const char *name=0, Qt::WFlags f=0)
 
virtual ~CanvasWidget ()
 
void showObjects ()
 
- Public Member Functions inherited from BALL::VIEW::ModularWidget
void setWorkingDirFromFilename_ (String filename)
 
virtual void showHelp (const String &url)
 
 ModularWidget (const char *name="<ModularWidget>")
 
 ModularWidget (const ModularWidget &widget)
 
virtual ~ModularWidget ()
 
virtual void destroy ()
 
virtual void clear ()
 
virtual void checkMenu (MainControl &main_control)
 
QAction * insertMenuEntry (Position parent_id, const String &name, const QObject *receiver=0, const char *slot=0, const String &description="", QKeySequence accel=QKeySequence())
 
void setMenuHint (const String &hint)
 
void setMenuHelp (const String &url)
 
virtual void registerForHelpSystem (const QObject *object, const String &url)
 
virtual void addToolBarEntries (QToolBar *main_tb)
 
void setIcon (const String &filename, bool add_to_main_toolbar=true)
 
virtual void initializePreferencesTab (Preferences &preferences)
 
virtual void finalizePreferencesTab (Preferences &preferences)
 
virtual void applyPreferences ()
 
virtual void fetchPreferences (INIFile &inifile)
 
virtual void writePreferences (INIFile &inifile)
 
bool lockComposites ()
 
bool unlockComposites ()
 Unlock the Composites. More...
 
MainControlgetMainControl () const
 
virtual void setStatusbarText (const String &text, bool important=false)
 
virtual void setStatusbarText (const QString &text, bool important=false)
  More...
 
String getWorkingDir ()
 Implemented for convenience. More...
 
void setWorkingDir (const String &dir)
 Implemented for convenience. More...
 
FragmentDBgetFragmentDB () const
 
virtual void dump (std::ostream &s=std::cout, Size depth=0) const
 
virtual void initializeWidget (MainControl &main_control)
 
virtual void finalizeWidget (MainControl &main_control)
 
virtual bool canHandle (const String &) const
 
virtual bool openFile (const String &)
 
- Public Member Functions inherited from BALL::Embeddable
 Embeddable (const String &identifier="<Embeddable>")
 
 Embeddable (const Embeddable &embeddable)
 
virtual ~Embeddable ()
 
void setIdentifier (const String &identifier)
 
const StringgetIdentifier () const
 
void unregisterThis ()
 
virtual void registerThis ()
 
- Public Member Functions inherited from BALL::VIEW::ConnectionObject
 ConnectionObject ()
 
virtual ~ConnectionObject ()
 
void registerConnectionObject (ConnectionObject &object)
 
void unregisterConnectionObject (ConnectionObject &object)
 
bool isConnectionObjectRegistered (const ConnectionObject &object)
 
ConnectionObjectgetParent () const
 
ConnectionObjectgetRoot ()
 
virtual bool isValid () const
 

Protected Member Functions

 RegularData2DWidget (RegularData2DWidget *widget)
 
- Protected Member Functions inherited from BALL::VIEW::CanvasWidget
 CanvasWidget (const CanvasWidget &)
 

Protected Attributes

const RegularData2Ddata_
 
QColor diagram_color_
 
QColor background_color_
 
QColor axis_color_
 
- Protected Attributes inherited from BALL::VIEW::CanvasWidget
QCanvas canvas_
 
std::vector< QCanvasItem * > objects_
 
- Protected Attributes inherited from BALL::VIEW::ModularWidget
QAction * window_menu_entry_
 
bool show_window_enty_
 
bool default_visible_
 
QAction * last_action_
 
QList< QAction * > main_toolbar_actions_
 

Additional Inherited Members

- Public Types inherited from BALL::Embeddable
typedef std::vector< Embeddable * > EmbeddableVector
 
- Static Public Member Functions inherited from BALL::VIEW::ModularWidget
static void registerWidget (ModularWidget *mwidget) throw (Exception::NullPointer)
 
- Static Protected Member Functions inherited from BALL::Embeddable
static void registerInstance_ (const std::type_info &type, const Embeddable *instance)
 
static void unregisterInstance_ (const Embeddable *instance)
 
static Size countInstances_ (const std::type_info &type)
 
static EmbeddablegetInstance_ (const std::type_info &type, Position index)
 
static EmbeddablegetInstance_ (const std::type_info &type, const String &identifier)
 

Detailed Description

Widget used to display two-dimensional data.

Definition at line 36 of file regularData2DWidget.h.

Constructor & Destructor Documentation

BALL::VIEW::RegularData2DWidget::RegularData2DWidget ( const RegularData2D data,
QWidget parent = 0 
)
BALL::VIEW::RegularData2DWidget::~RegularData2DWidget ( )
BALL::VIEW::RegularData2DWidget::RegularData2DWidget ( RegularData2DWidget widget)
protected

Member Function Documentation

void BALL::VIEW::RegularData2DWidget::createPlot ( )
slot

Creator of a plot.

virtual void BALL::VIEW::RegularData2DWidget::onNotify ( Message message)
virtual

Handles messages sent by other registered ConnectionObject instances.

Parameters
messagethe pointer to the message that should be processed

Reimplemented from BALL::VIEW::ConnectionObject.

Member Data Documentation

QColor BALL::VIEW::RegularData2DWidget::axis_color_
protected

Definition at line 69 of file regularData2DWidget.h.

QColor BALL::VIEW::RegularData2DWidget::background_color_
protected

Definition at line 68 of file regularData2DWidget.h.

const RegularData2D* BALL::VIEW::RegularData2DWidget::data_
protected

Definition at line 66 of file regularData2DWidget.h.

QColor BALL::VIEW::RegularData2DWidget::diagram_color_
protected

Definition at line 67 of file regularData2DWidget.h.