OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
QuickLogExport.h
Go to the documentation of this file.
1
4// ###########################################################################################################################################################################################################################################################################################################################
5
6#pragma once
7
8// OpenTwin header
9#include "OTCore/Logger.h"
11#include "OTWidgets/Dialog.h"
12
13namespace ot { class CheckBox; }
14namespace ot { class ComboBox; }
15
16class QuickLogExport : public ot::Dialog {
17 Q_OBJECT
20public:
21 QuickLogExport(const std::list<ot::LogMessage>& _messages);
22 virtual ~QuickLogExport();
23
24 bool isAutoClose(void);
25
26private Q_SLOTS:
27 void slotExport(void);
28
29private:
30 bool messageOkForExport(const ot::LogMessage& _message);
31
32 std::list<ot::LogMessage> m_messages;
33
34 ot::CheckBox* m_autoClose;
35 ot::ComboBox* m_user;
36 ot::ComboBox* m_project;
37};
OpenTwin Logging system.
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition QuickLogExport.h:16
virtual ~QuickLogExport()
Definition QuickLogExport.cpp:129
QuickLogExport(const std::list< ot::LogMessage > &_messages)
Definition QuickLogExport.cpp:28
bool isAutoClose(void)
Definition QuickLogExport.cpp:133
Definition CheckBox.h:17
Definition ComboBox.h:17
Definition Dialog.h:19
Contains information about the origin and the content of a log message.
Definition Logger.h:345
Definition Connector.h:8