libidxgui
|
#include <gui_thread.h>
Public Member Functions | |
gui_thread (int argc, char **argv, QApplication &qa) | |
int | pop_key_pressed () |
bool | busy_drawing () |
Returns true if busy drawing, false otherwise. | |
void | quit () |
Public Attributes | |
idxgui & | thread |
window is a simple "whiteboard" on which you can display idxs with for example draw_matrix. Warning: do not use electric fence with QT as it is unstable.
int ebl::gui_thread::pop_key_pressed | ( | ) |
Return first key pressed of the key pressed even list for current window and pop it out of the list, or return -1 if no key.
void ebl::gui_thread::quit | ( | ) |
Set the internal flag 'bquit' to true in order to skip the queue of graphic messages.