This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| """Split an OBJ file into separate files per named object | |
| Ignores vertex texture coordinates, polygon groups, parameter space vertices. | |
| The individual files are named as the object they contain. The material file | |
| (.mtl) is not split with the objects. | |
| Run: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| qApp->setStyle(QStyleFactory::create("fusion")); | |
| QPalette palette; | |
| palette.setColor(QPalette::Window, QColor(53,53,53)); | |
| palette.setColor(QPalette::WindowText, Qt::white); | |
| palette.setColor(QPalette::Base, QColor(15,15,15)); | |
| palette.setColor(QPalette::AlternateBase, QColor(53,53,53)); | |
| palette.setColor(QPalette::ToolTipBase, Qt::white); | |
| palette.setColor(QPalette::ToolTipText, Qt::white); | |
| palette.setColor(QPalette::Text, Qt::white); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| qApp->setStyle(QStyleFactory::create("Fusion")); | |
| QPalette darkPalette; | |
| darkPalette.setColor(QPalette::Window, QColor(53,53,53)); | |
| darkPalette.setColor(QPalette::WindowText, Qt::white); | |
| darkPalette.setColor(QPalette::Base, QColor(25,25,25)); | |
| darkPalette.setColor(QPalette::AlternateBase, QColor(53,53,53)); | |
| darkPalette.setColor(QPalette::ToolTipBase, Qt::white); | |
| darkPalette.setColor(QPalette::ToolTipText, Qt::white); | |
| darkPalette.setColor(QPalette::Text, Qt::white); |