#include <HighlightDialog.h>
Public Member Functions | |
| HighlightDialog (QWidget *parent, NetworkViewer *nwViewer) | |
| ~HighlightDialog () | |
Private Slots | |
| void | acceleratorKeyPressed (int acceleratorID) |
| void | addHighlightButtonPressed () |
| void | clearButtonPressed () |
| void | closeButtonPressed () |
| void | colorButtonPressed () |
Private Member Functions | |
| HighlightDialog (const HighlightDialog &) | |
| HighlightDialog | operator= (const HighlightDialog &) |
| void | showError (const QString &errMsg) |
Private Attributes | |
| QPushButton * | colorButt |
| QPixmap * | colorPixmap |
| QColor | highlightColor |
| QAccel * | keyboardAccelerator |
| NetworkViewer * | networkViewer |
| QTextEdit * | neuronIDText |
Definition at line 40 of file HighlightDialog.h.
|
||||||||||||
|
Constructor. Definition at line 37 of file HighlightDialog.cpp. References acceleratorKeyPressed(), addHighlightButtonPressed(), clearButtonPressed(), closeButtonPressed(), colorButt, colorButtonPressed(), colorPixmap, highlightColor, keyboardAccelerator, networkViewer, and neuronIDText. |
|
|
Destructor. Definition at line 97 of file HighlightDialog.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Handles keyboard accelerator events. Definition at line 107 of file HighlightDialog.cpp. References keyboardAccelerator, and neuronIDText. Referenced by HighlightDialog(). |
|
|
Adds a highlight to the network viewer. Definition at line 121 of file HighlightDialog.cpp. References NetworkViewer::addHighlight(), RGBColor::blue, RGBColor::green, highlightColor, networkViewer, neuronIDText, RGBColor::red, NetworkViewer::refresh(), and showError(). Referenced by HighlightDialog(). |
|
|
Clears all of the current highlights. Definition at line 161 of file HighlightDialog.cpp. References NetworkViewer::clearHighlights(), networkViewer, and neuronIDText. Referenced by HighlightDialog(). |
|
|
Closes the dialog. Definition at line 168 of file HighlightDialog.cpp. Referenced by HighlightDialog(). |
|
|
Sets the highlight colour. Definition at line 174 of file HighlightDialog.cpp. References colorButt, colorPixmap, and highlightColor. Referenced by HighlightDialog(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Displays an error message. Definition at line 189 of file HighlightDialog.cpp. Referenced by addHighlightButtonPressed(). |
|
|
Definition at line 69 of file HighlightDialog.h. Referenced by colorButtonPressed(), and HighlightDialog(). |
|
|
Definition at line 68 of file HighlightDialog.h. Referenced by colorButtonPressed(), and HighlightDialog(). |
|
|
The current highlight colour. Definition at line 61 of file HighlightDialog.h. Referenced by addHighlightButtonPressed(), colorButtonPressed(), and HighlightDialog(). |
|
|
Links keys to methods. Definition at line 64 of file HighlightDialog.h. Referenced by acceleratorKeyPressed(), and HighlightDialog(). |
|
|
The class that displays the highlighted neurons. Definition at line 58 of file HighlightDialog.h. Referenced by addHighlightButtonPressed(), clearButtonPressed(), and HighlightDialog(). |
|
|
Definition at line 67 of file HighlightDialog.h. Referenced by acceleratorKeyPressed(), addHighlightButtonPressed(), clearButtonPressed(), and HighlightDialog(). |
1.4.4