#include <statsdelegate.h>
Public Slots | |
| void | onCustomContextMenuRequested (const QPoint &pos) |
| void | onCommandSent (QStringList) |
| Slot called when a command is sent and completed. | |
Public Member Functions | |
| StatsDelegate (QObject *parent) | |
Definition at line 16 of file statsdelegate.h.
| StatsDelegate::StatsDelegate | ( | QObject * | parent | ) |
Constructs a Stats delegate with the given parent.
| parent | the Stats widget |
Definition at line 22 of file statsdelegate.cpp.
| void StatsDelegate::onCustomContextMenuRequested | ( | const QPoint & | pos | ) | [slot] |
Create a context menu for a Job in the Stats widget. Let the user to kill/suspend/resume a job
| pos | point where the custom context menu was requested |
Definition at line 33 of file statsdelegate.cpp.
References onCommandSent().
| void StatsDelegate::onCommandSent | ( | QStringList | outerrcmd | ) | [slot] |
Slot called when a command is sent and completed.
If the command was successfully executed, refresh the Stats widget. Add it to the logs.
| outerrcmd | List of 3 strings : output stream, error stream and the command executed. |
Definition at line 82 of file statsdelegate.cpp.
Referenced by onCustomContextMenuRequested().
1.5.4