Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path representation #36

Open
dotoleeoak opened this issue Aug 20, 2020 · 0 comments
Open

Path representation #36

dotoleeoak opened this issue Aug 20, 2020 · 0 comments
Labels
Python Code for python refactoring Refactoring coding style

Comments

@dotoleeoak
Copy link
Owner

문제

현재 파일 경로 pathlib.Path로 표현
stylesheet에서 image: url()에 posix representation 필요 (windows 한정)

해결책 1

path.as_posix() 사용
이것보다 더 좋은 해결책은 없을까...?

해결책 2

QUrl 사용 (Qt 내장 클래스)

@dotoleeoak dotoleeoak added Python Code for python refactoring Refactoring coding style labels Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python Code for python refactoring Refactoring coding style
Projects
None yet
Development

No branches or pull requests

1 participant