message/call views: ui overhaul
This patch:
- implements QWebEngineView as the view for interactions
- reorganizes the main widget's layout in order to share views
between in-call and out-of-call messaging views
- fixes behavioral bugs and crashes
- cannot be built with the mingw compiler due to lack of support for
QWebEngine, and must be built natively with msvc and includes some
build script modifications
- should be thought of as a new client
Change-Id: I59d8c68dc8384e85fb006f30d8313482c00d6c85
diff --git a/stylesheet.css b/stylesheet.css
index a1ef20a..63150a8 100644
--- a/stylesheet.css
+++ b/stylesheet.css
@@ -26,7 +26,7 @@
background-color: #db3c30;
}
-QPushButton#buttonConversations, QPushButton#buttonInvites {
+QPushButton#btnConversations, QPushButton#btnInvites {
background-color: rgb(242, 242, 242);
border-style: solid;
border-width: 0px;
@@ -35,14 +35,18 @@
color: rgb(32, 32, 32);
}
-QPushButton#buttonConversations:hover, QPushButton#buttonInvites:hover {
+QPushButton#btnConversations:hover, QPushButton#btnInvites:hover {
background-color: rgb(237, 237, 237);
}
-QPushButton#buttonConversations:pressed, QPushButton#buttonInvites:pressed {
+QPushButton#btnConversations:pressed, QPushButton#btnInvites:pressed {
background-color: rgb(212, 212, 212);
}
+QPushButton#btnConversations:checked, QPushButton#btnInvites:checked {
+ background-color: rgb(237, 237, 237);
+}
+
QPushButton#imBackButton, QPushButton#btnAcceptInvite, QPushButton#btnIgnoreInvite,
QPushButton#btnBlockInvite, QPushButton#btnAudioCall, QPushButton#btnVideoCall,
QPushButton#sendContactRequestButton, QPushButton#sendButton, QPushButton#sendIMButton {
@@ -79,12 +83,6 @@
background-position: bottom;
}
-IdLabel{
- border-style: solid;
- border-width: 1px;
- border-color: rgb(0, 192, 212);
-}
-
RingContactLineEdit{
border-color: rgb(242, 242, 242);
border-radius: 5px;
@@ -163,9 +161,8 @@
background-color: rgba(242, 242, 242, 255);
}
-QListView#listMessageView{
- background: rgb(255, 255, 255);
- border-bottom: 2px solid rgb(240, 240, 240);
+QWidget#sendIMWidget {
+ border-top: 2px solid rgb(240, 240, 240);
}
QWidget#messagingHeaderWidget{
@@ -175,6 +172,7 @@
QLineEdit#messageEdit, QLineEdit#imMessageEdit{
border: none;
background-color: rgb(255, 255, 255);
+ padding: 0px;
}
QLineEdit#numberBar{
@@ -248,21 +246,24 @@
}
QToolButton#qrButton, QToolButton#shareButton{
- background-color: #3AC0D2;
- border-radius: 15px;
- border:solid 1px;
+ background-color: rgb(242, 242, 242);
+ border-style: solid;
+ border-width: 0px;
+ border-radius: 5px;
+ padding: 8px;
+ color: rgb(32, 32, 32);
}
QToolButton#qrButton:hover, QToolButton#shareButton:hover{
- background-color: #4dc6d6;
+ background-color: rgb(237, 237, 237);
}
QToolButton#qrButton:pressed, QToolButton#shareButton:pressed{
- background-color: #34acbd;
+ background-color: rgb(212, 212, 212);
}
QToolButton#qrButton:checked {
- background-color: #34acbd;
+ background-color: rgb(237, 237, 237);
}
QPushButton#deleteAccountBtn, QToolButton#addAccountButton{
@@ -286,10 +287,7 @@
QDialog#WizardDialog, QWidget#welcomePage, QWidget#sendContactRequestPage,
QDialog#DeleteAccountDialog, QDialog#DeleteContactDialog{
- background: rgb(242, 242, 242);
- background-image : url(:/images/background-light.png);
- background-repeat : repeat-x;
- background-position: bottom;
+ background: rgb(255, 255, 255);
}
QDialog#CallUtilsDialog, QDialog#QualityDialog{