/** @class JobManagerView
* @brief Class which is a wxPanel for showing the progress of jobs.
*/
-class JobManagerView : public wxPanel
+class JobManagerView : public wxScrolledWindow
{
public:
JobManagerView (wxWindow *);
private:
void periodic (wxTimerEvent &);
+ void details_clicked (wxCommandEvent &);
boost::shared_ptr<wxTimer> _timer;
- wxFlexGridSizer* _sizer;
+ wxPanel* _panel;
+ wxFlexGridSizer* _table;
struct JobRecord {
wxGauge* gauge;
wxStaticText* message;
- bool informed_of_finish;
+ wxButton* details;
+ bool finalised;
};
std::map<boost::shared_ptr<Job>, JobRecord> _job_records;