The widget representing the dialog 'View->Graph'.
More...
#include <cGraphWidget.h>
|
| 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...
|
|
The widget representing the dialog 'View->Graph'.
◆ closeEvent()
void cGraphWidget::closeEvent |
( |
QCloseEvent * |
event | ) |
|
Handle the window close event.
- Parameters
-
event | pointer to QCloseEvent |
◆ getHTML()
string cGraphWidget::getHTML |
( |
| ) |
|
Get the HTML text from the widget.
- Return values
-
◆ keyPressEvent()
void cGraphWidget::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
Handle a key press event.
- Parameters
-
event | pointer to QKeyEvent |
◆ load()
void cGraphWidget::load |
( |
ifstream & |
is | ) |
|
Load the content from an input stream.
- Parameters
-
◆ setHTML()
void cGraphWidget::setHTML |
( |
string |
html, |
|
|
bool |
reportisomers |
|
) |
| |
Set the HTML text into the widget.
- Parameters
-
html | string with the HTML text |
reportisomers | true if isomers of building blocks are reported; false otherwise |
◆ store()
void cGraphWidget::store |
( |
ofstream & |
os | ) |
|
Store the content into an output stream.
- Parameters
-
◆ updateView()
void cGraphWidget::updateView |
( |
bool |
reportisomers | ) |
|
Update HTML string if report isomers state is changed.
- Parameters
-
reportisomers | true if isomers of building blocks are reported; false otherwise |
The documentation for this class was generated from the following files: