summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-11-22 15:43:44 +0100
committerMichael Buesch <mb@bu3sch.de>2009-11-22 15:43:44 +0100
commit7f801bb7584e30ae7e6ce5fd500656c0c8e63660 (patch)
tree84495d9a60ce25d5273b95621d1aaa76a8eac5d9
parent9af43462bd0989a2930afb9e1fdb7bb58fbdf5c4 (diff)
downloadcnc-7f801bb7584e30ae7e6ce5fd500656c0c8e63660.tar.xz
cnc-7f801bb7584e30ae7e6ce5fd500656c0c8e63660.zip
pressure_control: Remove status bar
Signed-off-by: Michael Buesch <mb@bu3sch.de>
-rwxr-xr-xpressure_control/remote/pctl-remote7
1 files changed, 0 insertions, 7 deletions
diff --git a/pressure_control/remote/pctl-remote b/pressure_control/remote/pctl-remote
index fa12431..e0cd865 100755
--- a/pressure_control/remote/pctl-remote
+++ b/pressure_control/remote/pctl-remote
@@ -239,7 +239,6 @@ class RemoteProtocol(QObject):
if not self.checksumMessage(msg):
return
id = ord(msg[0]) & MSG_ID_MASK
- mainwnd.statusBar().showMessage(self.tr("Received message %u" % id))
if (id == MSG_LOGMESSAGE):
str = self.getPayload(msg).rstrip('\0')
mainwnd.centralWidget().log.devLog(str)
@@ -268,7 +267,6 @@ class RemoteProtocol(QObject):
# Send the message
assert(len(msg) == MSG_SIZE)
self.serial.write(msg)
- mainwnd.statusBar().showMessage(self.tr("Sent message %u" % id))
def sendMessageSyncReply(self, id, flags, payload, replyId):
"""Send a message and synchronously wait for the reply."""
@@ -336,10 +334,6 @@ class RemoteProtocol(QObject):
crc >>= 1
return crc & 0xFF
-class StatusBar(QStatusBar):
- def showMessage(self, msg):
- QStatusBar.showMessage(self, msg, 3000)
-
class LogBrowser(QTextEdit):
def __init__(self, parent=None):
QTextEdit.__init__(self, parent)
@@ -699,7 +693,6 @@ class MainWindow(QMainWindow):
mb.addMenu(helpmen)
self.setMenuBar(mb)
- self.setStatusBar(StatusBar())
self.setCentralWidget(MainWidget())
self.resize(400, 350)
bues.ch cgit interface