2016-09-06 21:49:32 +03:00
|
|
|
/************************************************************************
|
|
|
|
* file name : globals_qobjects.h
|
|
|
|
* ----------------- :
|
|
|
|
* creation time : 2016/08/08
|
|
|
|
* authors : Victor Zarubkin, Sergey Yagovtsev
|
|
|
|
* email : v.s.zarubkin@gmail.com, yse.sey@gmail.com
|
|
|
|
* ----------------- :
|
|
|
|
* description : The file contains declaration of EasyGlobalSignals QObject class.
|
|
|
|
* ----------------- :
|
|
|
|
* change log : * 2016/08/08 Sergey Yagovtsev: moved sources from globals.h
|
|
|
|
* :
|
|
|
|
* : *
|
|
|
|
* ----------------- :
|
|
|
|
* license : Lightweight profiler library for c++
|
|
|
|
* : Copyright(C) 2016 Sergey Yagovtsev, Victor Zarubkin
|
|
|
|
* :
|
|
|
|
* : This program is free software : you can redistribute it and / or modify
|
|
|
|
* : it under the terms of the GNU General Public License as published by
|
|
|
|
* : the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* : (at your option) any later version.
|
|
|
|
* :
|
|
|
|
* : This program is distributed in the hope that it will be useful,
|
|
|
|
* : but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
|
|
|
* : GNU General Public License for more details.
|
|
|
|
* :
|
|
|
|
* : You should have received a copy of the GNU General Public License
|
|
|
|
* : along with this program.If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef EASY__GLOBALS_QOBJECTS_H___
|
|
|
|
#define EASY__GLOBALS_QOBJECTS_H___
|
2016-08-08 22:45:57 +03:00
|
|
|
|
|
|
|
#include <QObject>
|
2016-09-29 23:29:57 +03:00
|
|
|
#include "easy/profiler.h"
|
2016-08-08 22:45:57 +03:00
|
|
|
|
|
|
|
namespace profiler_gui {
|
2016-08-18 23:26:41 +03:00
|
|
|
|
2016-09-22 23:06:43 +03:00
|
|
|
class EasyGlobalSignals Q_DECL_FINAL : public QObject
|
2016-08-08 22:45:57 +03:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2016-08-18 23:26:41 +03:00
|
|
|
EasyGlobalSignals();
|
|
|
|
virtual ~EasyGlobalSignals();
|
2016-08-08 22:45:57 +03:00
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
void selectedThreadChanged(::profiler::thread_id_t _id);
|
2016-09-17 15:39:31 +03:00
|
|
|
void selectedBlockChanged(uint32_t _block_index);
|
2016-12-04 16:51:27 +03:00
|
|
|
void selectedBlockIdChanged(::profiler::block_id_t _id);
|
2016-08-18 23:26:41 +03:00
|
|
|
void itemsExpandStateChanged();
|
2016-09-20 22:57:34 +03:00
|
|
|
void blockStatusChanged(::profiler::block_id_t _id, ::profiler::EasyBlockStatus _status);
|
2016-09-25 11:49:49 +03:00
|
|
|
void connectionChanged(bool _connected);
|
|
|
|
void blocksRefreshRequired(bool);
|
2016-11-13 22:02:47 +03:00
|
|
|
void timelineMarkerChanged();
|
2016-11-20 21:01:33 +03:00
|
|
|
void hierarchyFlagChanged(bool);
|
2016-12-14 21:47:33 +03:00
|
|
|
void threadNameDecorationChanged();
|
2016-11-30 21:59:40 +03:00
|
|
|
void refreshRequired();
|
2016-12-18 15:56:08 +03:00
|
|
|
void blocksTreeModeChanged();
|
2016-08-18 23:26:41 +03:00
|
|
|
|
|
|
|
}; // END of class EasyGlobalSignals.
|
2016-08-08 22:45:57 +03:00
|
|
|
|
2016-08-18 23:26:41 +03:00
|
|
|
} // END of namespace profiler_gui.
|
2016-08-08 22:45:57 +03:00
|
|
|
|
2016-09-06 21:49:32 +03:00
|
|
|
#endif // EASY__GLOBALS_QOBJECTS_H___
|