color button with drop down

This commit is contained in:
2021-10-30 20:28:19 +02:00
parent f3f700f737
commit 2826b93432
3 changed files with 75 additions and 23 deletions

View File

@@ -1,9 +1,3 @@
import os
import urllib
from urllib.parse import urlparse
from PyQt6.QtGui import QColor
url = "file:///home/andi/.local/share/ravenlog/session.ini"
p = urlparse(url)
final_path = os.path.abspath(os.path.join(p.netloc, p.path))
print(final_path)
print(QColor().colorNames())