CycloBranch
cPubChemSearchWidget Class Reference

The widget representing the PubChem search widget. More...

#include <cPubChemSearchWidget.h>

Inheritance diagram for cPubChemSearchWidget:

Public Member Functions

 cPubChemSearchWidget ()
 The constructor.
 
 ~cPubChemSearchWidget ()
 The destructor.
 
void setHTML (string html)
 Set the HTML text into the widget. More...
 
string getHTML ()
 Get the HTML text from the widget. 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 PubChem search widget.

Member Function Documentation

◆ closeEvent()

void cPubChemSearchWidget::closeEvent ( QCloseEvent *  event)

Handle the window close event.

Parameters
eventpointer to QCloseEvent

◆ getHTML()

string cPubChemSearchWidget::getHTML ( )

Get the HTML text from the widget.

Return values
stringHTML string

◆ keyPressEvent()

void cPubChemSearchWidget::keyPressEvent ( QKeyEvent *  event)
protected

Handle a key press event.

Parameters
eventpointer to QKeyEvent

◆ load()

void cPubChemSearchWidget::load ( ifstream &  is)

Load the content from an input stream.

Parameters
isan input stream

◆ setHTML()

void cPubChemSearchWidget::setHTML ( string  html)

Set the HTML text into the widget.

Parameters
htmlstring with the HTML text

◆ store()

void cPubChemSearchWidget::store ( ofstream &  os)

Store the content into an output stream.

Parameters
osan output stream

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