Giter Club home page Giter Club logo

unrealstylesheet's Introduction

About Me

Hello, I'm Xingyu Lei.

  • Senior Technical Artist at PlayStation, Sony Interactive Entertainment.

  • Self-motivated learner, critical thinker and problem solver.

  • Love to share knowledge and regularly update my learning experience on xingyulei.com: my technical art blog. Here, you can find some of the tools I've worked on in a personal capacity, I hope you find them useful.

Featured Tools

Readme Card Readme Card Readme Card Readme Card

Work

tlou1
The Last of Us: Part I
2022
ldr
Love Death & Robots
2020
CODMW
Call of Duty: Modern Warefare
2019

unrealstylesheet's People

Contributors

hannesdelbeke avatar leixingyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

unrealstylesheet's Issues

Using spacer in a layout squashes buttons

Hi,

When using multiple QPushButtons in a layout with a spacer, they appear to be squashed like this:
Screenshot 2022-07-20 at 12 13 01

My workaround was to add a min-width of 70 pixels to the QPushButton class, but maybe there's a better solution. Maybe adding a default padding in each direction should work.

icons do not load correctly

similar to leixingyu/unrealScriptEditor#3

to fix:

# change 
QtCore.QResource.registerResource("icons.rcc")
# to 
QtCore.QResource.registerResource(str(MODULE_PATH / "icons.rcc") )

now the rcc loads correctly, and no changes are needed to any other file. one line fix.
will create a PR for this

setup PyPI build pipeline on github

Now that #3 is merged in, ideally we now would setup a build pipeline on github, to release this stylesheet to PyPI when there are updates.
I'm currently releasing from my fork.

If you want, you could make me a maintainer of this repo to help with the set up.

here are the setup steps for the release pipeline:

  • #7
  • Once you have project acces on pypi, you can 'add an API token' with scope unreal_stylesheet in your PyPI account settings.
  • Then add a secret to the github repo with name PYPI_API_TOKEN, and paste the API token in there.
    (optionally you can also set up a github environment named PyPI, and add the secret here instead.)

The last PR already merged in a GitHub release workflow, which after following the above steps, will automatically release to PyPI when creating a release in GitHub.
(it does require you to bump the release version in the toml , else the PyPI update will fail)
image

missing styling QTree

found some missing styling

TreeWidget

image
this collapsable tree structure is missing styling.
QtWidgets.QTreeWidget and QtWidgets.QTreeWidgetItem

tested with other stylesheets, it happens with most others including default qt dark mode fusion
so likely something wrong with this widget i am using instead of the stylesheet.
Oddly 1 stylesheet does display it correctly, but 3 others don't and also have the white issue.

image

made another issue here too 5yutan5/PyQtDarkTheme#251

add support for group layouts

it seems the stylesheet doesnt show the lines in the group layout

should look like this
image

will have a look at it when i have time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.