mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 17:28:14 +08:00
3a2c8aaef1
(profiler_gui) Added possibility to change where chronometer (time-meter) item text will be painted: at the top of the scene, in the center or at the bottom of the scene. See menu View -> Chronometer text.
31 lines
652 B
C++
31 lines
652 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();
|
|
void drawBordersChanged();
|
|
void chronoPositionChanged();
|
|
|
|
}; // END of class EasyGlobalSignals.
|
|
|
|
} // END of namespace profiler_gui.
|
|
|
|
#endif // GLOBALS_QOBJECTS_H
|