mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Add ConnectionFaiureDialog qml
This commit is contained in:
parent
5b58e8ae97
commit
e7023b3d99
3 changed files with 25 additions and 0 deletions
14
interface/resources/qml/ConnectionFailureDialog.qml
Normal file
14
interface/resources/qml/ConnectionFailureDialog.qml
Normal file
|
@ -0,0 +1,14 @@
|
|||
import QtQuick.Dialogs 1.2 as OriginalDialogs
|
||||
|
||||
import "dialogs"
|
||||
|
||||
MessageDialog {
|
||||
id: root
|
||||
objectName: "ConnectionFailureDialog"
|
||||
|
||||
title: "No Connection"
|
||||
text: "Unable to connect to this domain. Click the 'GO TO' button on the toolbar to visit another domain."
|
||||
buttons: OriginalDialogs.StandardButton.Ok
|
||||
icon: OriginalDialogs.StandardIcon.Warning
|
||||
defaultButton: OriginalDialogs.StandardButton.NoButton;
|
||||
}
|
3
interface/src/ui/ConnectionFailureDialog.cpp
Normal file
3
interface/src/ui/ConnectionFailureDialog.cpp
Normal file
|
@ -0,0 +1,3 @@
|
|||
#include "ConnectionFailureDialog.h"
|
||||
|
||||
HIFI_QML_DEF(ConnectionFailureDialog)
|
8
interface/src/ui/ConnectionFailureDialog.h
Normal file
8
interface/src/ui/ConnectionFailureDialog.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#pragma once
|
||||
|
||||
#include <OffscreenQmlDialog.h>
|
||||
|
||||
class ConnectionFailureDialog : public OffscreenQmlDialog {
|
||||
Q_OBJECT
|
||||
HIFI_QML_DECL
|
||||
};
|
Loading…
Reference in a new issue