CycloBranch
cGraphWidget Class Reference

The widget representing the dialog 'View->Graph'. More...

#include <cGraphWidget.h>

Inheritance diagram for cGraphWidget:

Public Member Functions

 cGraphWidget ()
 The constructor.
 
 ~cGraphWidget ()
 The destructor.
 
void setHTML (string html, bool reportisomers)
 Set the HTML text into the widget. More...
 
string getHTML ()
 Get the HTML text from the widget. More...
 
void updateView (bool reportisomers)
 Update HTML string if report isomers state is changed. More...
 
void closeEvent (QCloseEvent *event)
 Handle the window close event. More...
 
void store (ofstream &os)
 Store the content into an output stream. More...
 
void load (ifstream &is)
 Load the content from an input stream. More...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 Handle a key press event. More...
 

Detailed Description

The widget representing the dialog 'View->Graph'.

Member Function Documentation

◆ closeEvent()

void cGraphWidget::closeEvent ( QCloseEvent *  event)

Handle the window close event.

Parameters
eventpointer to QCloseEvent

◆ getHTML()

string cGraphWidget::getHTML ( )

Get the HTML text from the widget.

Return values
stringHTML string

◆ keyPressEvent()

void cGraphWidget::keyPressEvent ( QKeyEvent *  event)
protected

Handle a key press event.

Parameters
eventpointer to QKeyEvent

◆ load()

void cGraphWidget::load ( ifstream &  is)

Load the content from an input stream.

Parameters
isan input stream

◆ setHTML()

void cGraphWidget::setHTML ( string  html,
bool  reportisomers 
)

Set the HTML text into the widget.

Parameters
htmlstring with the HTML text
reportisomerstrue if isomers of building blocks are reported; false otherwise

◆ store()

void cGraphWidget::store ( ofstream &  os)

Store the content into an output stream.

Parameters
osan output stream

◆ updateView()

void cGraphWidget::updateView ( bool  reportisomers)

Update HTML string if report isomers state is changed.

Parameters
reportisomerstrue if isomers of building blocks are reported; false otherwise

The documentation for this class was generated from the following files: