Sun, 26 Aug 2018 17:27:45 +0200
Added first outline of the MQTT Monitor.
# -*- coding: utf-8 -*- """ Module implementing MqttMonitorWidget. """ from __future__ import unicode_literals import os from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QWidget from .Ui_MqttMonitorWidget import Ui_MqttMonitorWidget import UI.PixmapCache class MqttMonitorWidget(QWidget, Ui_MqttMonitorWidget): """ Class documentation goes here. """ def __init__(self, parent=None): """ Constructor @param parent reference to the parent widget @type QWidget """ super(MqttMonitorWidget, self).__init__(parent) self.setupUi(self) self.pixmapLabel.setPixmap(UI.PixmapCache.getPixmap( os.path.join("MqttMonitor", "icons", "mqtt48.png")))