Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+51
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* SideBarItem
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Norbert Thoden, SLSE, 2015-01-19
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// Own
|
||||
#include <Common/situation_map_logging.h>
|
||||
#include "side_bar_export.h"
|
||||
|
||||
|
||||
// Qt
|
||||
#include <QStandardItemModel>
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
namespace SituationMap
|
||||
{
|
||||
|
||||
|
||||
class SIDEBAR_EXPORT SideBarItem : public QObject, public QStandardItem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SideBarItem(const QString &text);
|
||||
virtual ~SideBarItem();
|
||||
|
||||
virtual int type() const
|
||||
{
|
||||
return QStandardItem::UserType + 1;
|
||||
}
|
||||
|
||||
void doEmitChanged();
|
||||
|
||||
signals:
|
||||
bool changed(bool);
|
||||
|
||||
private:
|
||||
LOGGER_T m_logger; ///< Interface of the Logging-Facility
|
||||
|
||||
};
|
||||
|
||||
|
||||
} // namespace SituationMap
|
||||
|
||||
Reference in new issue
Block a user