#include <BALL/VIEW/DIALOGS/dockResultDialog.h>
Dialog for showing the docking results.
Definition at line 28 of file dockResultDialog.h.
BALL::VIEW::DockResultDialog::DockResultDialog |
( |
QWidget * |
parent = 0 , |
|
|
const char * |
name = "DockResultDialog" |
|
) |
| |
virtual BALL::VIEW::DockResultDialog::~DockResultDialog |
( |
| ) |
|
|
virtual |
BALL::VIEW::DockResultDialog::DockResultDialog |
( |
const DockResultDialog & |
dock_res_dialog | ) |
|
|
private |
Copy constructor Remark: Copy contructor is private because it is not completed. The copy constuctor of the QT widgets is private and cannot be called.
Adds scoring function to combobox and its advanced option dialog to hashmap, if it has such a dialog.
- Parameters
-
void BALL::VIEW::DockResultDialog::advancedClicked |
( |
| ) |
|
|
slot |
Is called when advanced button for scoring function options is pressed. Shows corresponding options dialog, if it exits.
void BALL::VIEW::DockResultDialog::closeClicked |
( |
| ) |
|
|
slot |
Is called when close button is pressed. Closes and deletes the dialog.
void BALL::VIEW::DockResultDialog::deleteColumn_ |
( |
| ) |
|
|
protectedslot |
Is called when context menu entry Delete Score Column is pressed. Deletes a score column.
void BALL::VIEW::DockResultDialog::downwardClicked |
( |
| ) |
|
|
slot |
Is called when downward button is pressed. Selects the row below the current selected row and shows its snapshot.
void BALL::VIEW::DockResultDialog::redock_ |
( |
| ) |
|
|
protectedslot |
Is called when context menu entry Redock is pressed. Calls DockingController::runDocking for redocking.
- Parameters
-
row | number of the row for which redocking should be started |
void BALL::VIEW::DockResultDialog::scoringClicked |
( |
| ) |
|
|
slot |
Is called when new scoring button is pressed. Calculates new scores with the chosen scoring function and adds a new score column. Calls sortTable to sort the table by this new column.
void BALL::VIEW::DockResultDialog::scoringFuncChosen |
( |
| ) |
|
|
slot |
Is called when a scoring function is chosen in the combobox. Sets the advanced button enabled if the selected scoring function has options otherwise the button is disabled.
void BALL::VIEW::DockResultDialog::selectionChanged_ |
( |
| ) |
|
|
protectedslot |
void BALL::VIEW::DockResultDialog::setDockedSystem |
( |
System * |
system | ) |
|
Sets the docked system.
- Parameters
-
void BALL::VIEW::DockResultDialog::setDockResult |
( |
DockResult * |
dock_res | ) |
|
Sets the dock result.
- Parameters
-
void BALL::VIEW::DockResultDialog::show |
( |
| ) |
|
|
slot |
Shows and raises result dialog. Fills the result table in the dialog with the values stored in dock_res_ .
void BALL::VIEW::DockResultDialog::showDockingOptions |
( |
| ) |
|
|
slot |
Is called when docking options button is pressed. Shows docking options in a small dialog.
void BALL::VIEW::DockResultDialog::showScoringOptions_ |
( |
| ) |
|
|
protectedslot |
Is called when context menu entry Scoring Options is pressed. Shows options of the scoring function in a small dialog.
- Parameters
-
column | number of the column for which the scoring function options should be shown |
void BALL::VIEW::DockResultDialog::showSnapshot |
( |
| ) |
|
|
slot |
Is called when show snapshot button is pressed or when a row of the table is double-clicked. Shows snapshot of selected row.
void BALL::VIEW::DockResultDialog::sortTable |
( |
int |
column | ) |
|
|
slot |
Is called when header of a column in the result table is pressed. Sorts the result table by a clicked column. Uses nested class Compare_ for sorting.
void BALL::VIEW::DockResultDialog::upwardClicked |
( |
| ) |
|
|
slot |
Is called when upward button is pressed. Selects the row above the current selected row and shows its snapshot.
DockResult* BALL::VIEW::DockResultDialog::dock_res_ |
|
private |
System* BALL::VIEW::DockResultDialog::docked_system_ |
|
private |
System* BALL::VIEW::DockResultDialog::redock_partner1_ |
|
private |
System * BALL::VIEW::DockResultDialog::redock_partner2_ |
|
private |