CuteLogger
Fast and simple logging solution for Qt based applications
src
qmltypes
qmlview.h
1
/*
2
* Copyright (c) 2014-2016 Meltytech, LLC
3
* Author: Brian Matherly <code@brianmatherly.com>
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef QMLVIEW_H
20
#define QMLVIEW_H
21
22
#include <QObject>
23
#include <QPoint>
24
25
class
QWidget;
26
27
class
QmlView :
public
QObject
28
{
29
Q_OBJECT
30
Q_PROPERTY(QPoint pos READ pos);
31
32
public
:
33
explicit
QmlView(QWidget* qview);
34
QPoint pos();
35
36
private
:
37
QWidget* m_qview;
38
};
39
40
#endif // QMLVIEW_H
Generated on Mon Nov 2 2020 00:00:00 for CuteLogger by
1.8.15