Overte C++ Documentation
InfoView.h
1
//
2
// InfoView.h
3
//
4
// Created by Bradley Austin Davis 2015/04/25
5
// Copyright 2015 High Fidelity, Inc.
6
//
7
// Distributed under the Apache License, Version 2.0.
8
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
9
//
10
11
#ifndef hifi_InfoView_h
12
#define hifi_InfoView_h
13
14
#include <QQuickItem>
15
#include "OffscreenUi.h"
16
17
class
InfoView :
public
QQuickItem {
18
Q_OBJECT
19
Q_PROPERTY(QUrl url READ url WRITE setUrl NOTIFY urlChanged)
20
21
static
const
QUrl QML;
22
static
const
QString NAME;
23
public
:
24
static
void
registerType();
25
static
void
show(
const
QString& path,
bool
firstOrChangedOnly =
false
, QString urlQuery =
""
);
26
27
InfoView(QQuickItem* parent =
nullptr
);
28
QUrl url();
29
void
setUrl(
const
QUrl& url);
30
31
signals:
32
void
urlChanged();
33
34
private
:
35
QUrl _url;
36
};
37
38
#endif
// hifi_InfoView_h
libraries
ui
src
InfoView.h
Generated by
1.9.1