A gameboard widget for pyqt gui's package
Project description
PyQtGameBoard
PyQt5 widget that draws a board on the screen to include in games or map drawing application.
Install
pip install yongshi-pyqtgameboard
Import
from pyqtgameboards.HexagonBoard import QHexagonboard
How to
to try out, copying the following:
if __name__ == '__main__':
global app
app = QtWidgets.QApplication(sys.argv)
global main
main = QtWidgets.QMainWindow()
main.setCentralWidget(QHexagonboard(
horizontal = True,
rows = 20,
columns = 10
))
main.showMaximized()
sys.exit(app.exec_())
Licence
Licensed under GPL-3.0-or-later, see LICENSE file for details.
Copyright © 2020 Michael-Yongshi.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
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
Hashes for yongshi-pyqtgameboard-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2309c9a7afc7ea97fa0581d94211828b554b993acff873f96c225a5554c1a284 |
|
MD5 | 017625be467fd56fd2519ae4a80b0dcd |
|
BLAKE2b-256 | 334fa6ac7e1a440319f4185b9e6e343d3c4a4c07c00b877ceee49bec06281f32 |
Hashes for yongshi_pyqtgameboard-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b698d45d8759c77dd392c8ea339d04e8cd01956e798311b678d967df81eeac94 |
|
MD5 | f424d637de494f75a91d77c0114149f7 |
|
BLAKE2b-256 | 6c00fd4335b5ebb9dfcc012bc20ccf843ad7f5b4fbd50757a1da669a30354a6f |