Merge branch 'master' of https://github.com/highfidelity/hifi into stageRemoval

This commit is contained in:
Nissim Hadar 2018-01-10 11:49:53 -08:00
commit ea10bfba6c
3 changed files with 13 additions and 17 deletions

View file

@ -145,7 +145,7 @@ Rectangle {
// Title text // Title text
RalewayRegular { RalewayRegular {
id: popText; id: popText;
text: "PROOF OF PURCHASE"; text: "Proof of Provenance";
// Text size // Text size
size: 16; size: 16;
// Anchors // Anchors
@ -155,7 +155,7 @@ Rectangle {
anchors.right: titleBarText.right; anchors.right: titleBarText.right;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.baseGray; color: hifi.colors.darkGray;
} }
// //
@ -182,7 +182,7 @@ Rectangle {
anchors.rightMargin: 16; anchors.rightMargin: 16;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.baseGray; color: hifi.colors.darkGray;
} }
RalewaySemiBold { RalewaySemiBold {
id: itemName; id: itemName;
@ -196,7 +196,7 @@ Rectangle {
anchors.right: itemNameHeader.right; anchors.right: itemNameHeader.right;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.blueAccent; color: hifi.colors.white;
elide: Text.ElideRight; elide: Text.ElideRight;
MouseArea { MouseArea {
anchors.fill: parent; anchors.fill: parent;
@ -205,7 +205,7 @@ Rectangle {
sendToScript({method: 'inspectionCertificate_showInMarketplaceClicked', marketplaceUrl: root.marketplaceUrl}); sendToScript({method: 'inspectionCertificate_showInMarketplaceClicked', marketplaceUrl: root.marketplaceUrl});
} }
onEntered: itemName.color = hifi.colors.blueHighlight; onEntered: itemName.color = hifi.colors.blueHighlight;
onExited: itemName.color = hifi.colors.blueAccent; onExited: itemName.color = hifi.colors.white;
} }
} }
@ -223,7 +223,7 @@ Rectangle {
anchors.rightMargin: 16; anchors.rightMargin: 16;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.lightGray; color: hifi.colors.darkGray;
} }
RalewayRegular { RalewayRegular {
id: ownedBy; id: ownedBy;
@ -236,7 +236,7 @@ Rectangle {
anchors.left: ownedByHeader.left; anchors.left: ownedByHeader.left;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.darkGray; color: hifi.colors.white;
elide: Text.ElideRight; elide: Text.ElideRight;
} }
AnonymousProRegular { AnonymousProRegular {
@ -252,7 +252,7 @@ Rectangle {
anchors.leftMargin: 6; anchors.leftMargin: 6;
anchors.right: ownedByHeader.right; anchors.right: ownedByHeader.right;
// Style // Style
color: hifi.colors.lightGray; color: hifi.colors.white;
elide: Text.ElideRight; elide: Text.ElideRight;
verticalAlignment: Text.AlignVCenter; verticalAlignment: Text.AlignVCenter;
} }
@ -271,7 +271,7 @@ Rectangle {
anchors.rightMargin: 16; anchors.rightMargin: 16;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.lightGray; color: hifi.colors.darkGray;
} }
AnonymousProRegular { AnonymousProRegular {
id: edition; id: edition;
@ -285,7 +285,7 @@ Rectangle {
anchors.right: editionHeader.right; anchors.right: editionHeader.right;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.darkGray; color: hifi.colors.white;
} }
RalewayRegular { RalewayRegular {
@ -302,7 +302,7 @@ Rectangle {
anchors.rightMargin: 16; anchors.rightMargin: 16;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.lightGray; color: hifi.colors.darkGray;
} }
AnonymousProRegular { AnonymousProRegular {
id: dateOfPurchase; id: dateOfPurchase;
@ -316,7 +316,7 @@ Rectangle {
anchors.right: dateOfPurchaseHeader.right; anchors.right: dateOfPurchaseHeader.right;
height: paintedHeight; height: paintedHeight;
// Style // Style
color: hifi.colors.darkGray; color: hifi.colors.white;
} }
RalewayRegular { RalewayRegular {
@ -349,7 +349,7 @@ Rectangle {
// "Cancel" button // "Cancel" button
HifiControlsUit.Button { HifiControlsUit.Button {
color: hifi.buttons.noneBorderless; color: hifi.buttons.noneBorderlessWhite;
colorScheme: hifi.colorSchemes.light; colorScheme: hifi.colorSchemes.light;
anchors.top: parent.top; anchors.top: parent.top;
anchors.left: parent.left; anchors.left: parent.left;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View file

@ -222,10 +222,6 @@ void Web3DOverlay::setupQmlSurface() {
_webSurface->getSurfaceContext()->setContextProperty("pathToFonts", "../../"); _webSurface->getSurfaceContext()->setContextProperty("pathToFonts", "../../");
tabletScriptingInterface->setQmlTabletRoot("com.highfidelity.interface.tablet.system", _webSurface.data());
// mark the TabletProxy object as cpp ownership.
QObject* tablet = tabletScriptingInterface->getTablet("com.highfidelity.interface.tablet.system");
_webSurface->getSurfaceContext()->engine()->setObjectOwnership(tablet, QQmlEngine::CppOwnership);
// Override min fps for tablet UI, for silky smooth scrolling // Override min fps for tablet UI, for silky smooth scrolling
setMaxFPS(90); setMaxFPS(90);
} }