From cf1cece11c6bd3e82bfe48ef4770d98cd48ab218 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Thu, 11 Oct 2018 00:21:34 -0400 Subject: [PATCH] Added log button back in. Moved halt button up to balance. Added pressed state --- mainwindow.ui | 274 ++++++++++++++++++++++++++++---------------------- 1 file changed, 153 insertions(+), 121 deletions(-) diff --git a/mainwindow.ui b/mainwindow.ui index 06cae77..50e8bab 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -948,7 +948,7 @@ background-color: #00ff00; - false + true <html><head/><body><p>Insert a new entry into the log</p></body></html> @@ -969,6 +969,9 @@ min-height:30px; /*max-width:60px;*/ max-height:30px; } +QPushButton:pressed { +background-color: darkgray; +} QPushButton[state="error"] { background-color: red; } @@ -1113,6 +1116,51 @@ background-color: #6699ff; + + + + + 75 + 30 + + + + <html><head/><body><p>Stop transmitting</p></body></html> + + + QPushButton { +font-family: helvetica; +font-weight: bold; +background-color: lightgray; +color: black; +border-style: solid; +border-radius:2px; +border-width:0px; +border-color: gray; +font-size:90%; +min-width:75px; +min-height:30px; +/*max-width:60px;*/ +max-height:30px; +} +QPushButton:pressed { +background-color: darkgray; +} +QPushButton[state="error"] { +background-color: red; +} +QPushButton[state="warning"] { +background-color: orange; +} +QPushButton[state="ok"] { +background-color: #00ff00; +} + + + HALT + + + @@ -1420,7 +1468,39 @@ QTextEdit[transmitting="true"] { 0 - + + + + + 0 + 30 + + + + <html><head/><body><p>Reply to a CQ</p></body></html> + + + Reply + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 40 + 20 + + + + + @@ -1437,7 +1517,58 @@ QTextEdit[transmitting="true"] { - + + + + 0 + 30 + + + + <html><head/><body><p>Deselect the current callsign for directed messaging</p></body></html> + + + Deselect + + + + + + + + 0 + 30 + + + + <html><head/><body><p>Send your station location message</p></body></html> + + + QTH + + + + + + + + 0 + 30 + + + + <html><head/><body><p>Send a CQ message</p></body></html> + + + CQ + + + false + + + + + Qt::Horizontal @@ -1452,7 +1583,23 @@ QTextEdit[transmitting="true"] { - + + + + + 0 + 30 + + + + <html><head/><body><p>Send your station message</p></body></html> + + + QTC + + + + false @@ -1484,39 +1631,7 @@ color:#555; - - - - - 0 - 30 - - - - <html><head/><body><p>Send your station location message</p></body></html> - - - QTH - - - - - - - - 0 - 30 - - - - <html><head/><body><p>Stop transmitting</p></body></html> - - - Halt - - - - + @@ -1532,89 +1647,6 @@ color:#555; - - - - - 0 - 30 - - - - <html><head/><body><p>Reply to a CQ</p></body></html> - - - Reply - - - - - - - - 0 - 30 - - - - <html><head/><body><p>Send a CQ message</p></body></html> - - - CQ - - - false - - - - - - - - 0 - 30 - - - - <html><head/><body><p>Deselect the current callsign for directed messaging</p></body></html> - - - Deselect - - - - - - - - 0 - 30 - - - - <html><head/><body><p>Send your station message</p></body></html> - - - QTC - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 40 - 20 - - - - @@ -4588,7 +4620,7 @@ list. The list can be maintained in Settings (F2). 0 0 872 - 21 + 22