mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 01:04:41 +08:00
8f30948105
(profiler_gui) Moving sources into separate files; (profiler_gui) Rename Prof* classes into Easy*; (EasyGraphicsView) Optimized performance by not painting items which were not expanded in TreeWidget. While there are no range selected for TreeWidget, only top-level blocks are painted on scene.
29 lines
579 B
C++
29 lines
579 B
C++
#ifndef GLOBALS_QOBJECTS_H
|
|
#define GLOBALS_QOBJECTS_H
|
|
|
|
#include <QObject>
|
|
#include "profiler/profiler.h"
|
|
|
|
namespace profiler_gui {
|
|
|
|
class EasyGlobalSignals final : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
EasyGlobalSignals();
|
|
virtual ~EasyGlobalSignals();
|
|
|
|
signals:
|
|
|
|
void selectedThreadChanged(::profiler::thread_id_t _id);
|
|
void selectedBlockChanged(unsigned int _block_index);
|
|
void itemsExpandStateChanged();
|
|
|
|
}; // END of class EasyGlobalSignals.
|
|
|
|
} // END of namespace profiler_gui.
|
|
|
|
#endif // GLOBALS_QOBJECTS_H
|