CCIMXDesktop
 
Loading...
Searching...
No Matches
SystemStateWindow.h
1#ifndef SYSTEMSTATEWINDOW_H
2#define SYSTEMSTATEWINDOW_H
3
4#include <QMainWindow>
8class CPUUsageChart;
9QT_BEGIN_NAMESPACE
10namespace Ui {
12}
13QT_END_NAMESPACE
14
19class SystemStateWindow : public QMainWindow {
20 Q_OBJECT
21
22public:
39 SystemStateWindow(QWidget* parent = nullptr);
46 void switch_index(PageIndex index);
47
48private:
49 void setup_charts_and_widgets();
50 void setup_connections();
51 Ui::SystemStateWindow* ui;
52 MemoryInfoFetcher* mem_fetcher { nullptr };
53 CPUStateFetcher* cpu_fetcher { nullptr };
54 ProcessBroswer* process_fetcher { nullptr };
55 CPUUsageChart* cpuchart_widget { nullptr };
56};
57#endif // SYSTEMSTATEWINDOW_H
The CPUStateFetcher class Provides CPU state information in a platform-independent manner....
Definition CPUStateFetcher.h:14
The CPUUsageChart class The CPU UsageChart class provides the CPU usage chart displaying.
Definition CPUUsageChart.h:17
The MemoryInfoFetcher class Provides memory usage information in a platform-independent manner....
Definition MemoryInfoFetcher.h:15
The ProcessBroswer class Provides an interface to retrieve and monitor system processes information....
Definition ProcessBroswer.h:15
The SystemStateWindow class The SystemStateWindow class provides the system state window.
Definition SystemStateWindow.h:19
PageIndex
The PageIndex enum The PageIndex enum provides the page index.
Definition SystemStateWindow.h:28
@ MemoryInfo
Memory Info Index.
Definition SystemStateWindow.h:30
@ CPUUsage
CPU Usage Index.
Definition SystemStateWindow.h:29
@ ProcessBrowser
Process Browser Index.
Definition SystemStateWindow.h:31
@ PageIndexMax
Max Page Index Index.
Definition SystemStateWindow.h:32
void switch_index(PageIndex index)
switch_index
Definition SystemStateWindow.cpp:29