PyQt label which is moving from left to right
Project description
pyqt-moving-label
PyQt label which is moving from left to right
Good to use as an advertisement or notice tool.
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-moving-label
Example
Code Sample
from PyQt5.QtWidgets import QMainWindow, QApplication, QVBoxLayout, QTextEdit, QWidget
from pyqt_moving_label.movingLabel import MovingLabel
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.__initUi()
def __initUi(self):
self.__label = MovingLabel('Moving Label', self)
lay = QVBoxLayout()
lay.addWidget(self.__label)
lay.addWidget(QTextEdit())
mainWidget = QWidget()
mainWidget.setLayout(lay)
self.setCentralWidget(mainWidget)
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
w = MainWindow()
w.show()
sys.exit(app.exec_())
Result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pyqt_moving_label-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 175f984d4d928fdc3d50614cccde8486ee8425be9b0f1c589478fbe5af2e4aff |
|
MD5 | d7dd4fa74c4d0a5488e1754e6e9cf722 |
|
BLAKE2b-256 | e48cac12b2d7d975374f89ac008918fe39d66c821a1c46fbb2db8ebd6a75b312 |