|
| PQRRequest (QTableWidget *, QLabel *, QLineEdit *, QLabel *, PQRWidget *) |
| Constuctor to initialize the NetworkAcessManager and set pointers to the widget's ui elements. More...
|
|
| ~PQRRequest () override |
| Free the ui pointers.
|
|
void | sendRequest (QString) |
| Sends a network request to search for molecules from PQR;. More...
|
|
void | sendRequest (QString, QString) |
| Sends a network request to download a file from PQR. More...
|
|
void | sendPNGRequest (QString url) |
| Sends a network request to download a png form PQR. More...
|
|
QString | molSelected (int) |
| Called when a molecule is selected to display information about the molecule and start grabbing the SVG preview. More...
|
|
◆ PQRRequest()
- Parameters
-
tw | Pointer to ui's table widget |
gv | Pointer to ui's graphics view for SVG preview |
nd | Pointer to the name display |
fd | Pointer to the formula display |
◆ sendRequest() [1/2]
void sendRequest |
( |
QString |
| ) |
|
◆ sendRequest() [2/2]
void sendRequest |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
- Parameters
-
url | The url to send the request to |
mol2 | The mol2 representation of the molecule to download |
◆ sendPNGRequest()
void sendPNGRequest |
( |
QString |
url | ) |
|
- Parameters
-
url | The url to send the request to |
◆ molSelected()
QString molSelected |
( |
int |
| ) |
|
- Parameters
-
num | The row number of the table result selected |
- Returns
- The mol2 of the result for the widget to reference
The documentation for this class was generated from the following file: