Skip to content

Commit

Permalink
fix: fix super __init__ error, doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
du33169 committed Aug 18, 2024
1 parent 62faee0 commit 6327978
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ Note: the gallery app will first attempt to import QoreWidgets from installed py

## Styling

QoreWidgets mainly focus on functional enhancements with minimal emphasis on decoration. However, they should fit in with your global theme or stylesheets, for example, [QDarkStyleSheet](https://github.com/ColinDuquesnoy/QDarkStyleSheet).
QoreWidgets mainly focus on functional enhancements with minimal emphasis on decoration. However, they should fit in with your global theme or stylesheets, for example, [PyQtDarkTheme](https://github.com/5yutan5/PyQtDarkTheme).
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name="QoreWidgets"
version="0.1.0"
version="0.1.1"
description = "Yet another collection of those core widgets for a modern qt application."

authors = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def follow_geometry(self):
class FramelessWindow(QMainWindow):
'''Frameless Window with resize grips'''
def __init__(self, parent=None,flConfig:FramelessWindowConfig=FramelessWindowConfig()):
super(FramelessWindow, self).__init__(parent)
super().__init__(parent)
self.flConfig=flConfig

self.setWindowFlags(Qt.WindowType.FramelessWindowHint)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class SideTabWidget(QTabWidget):
foldStateChanged=Signal(bool) # pass the fold state from the tabbar to the parent widget

def __init__(self, parent=None, stConfig:SideTabConfig=SideTabConfig()):
QTabWidget.__init__(self, parent)
super().__init__(parent)
self.stConfig=stConfig

self.tabbar=SideTabBar(self,stConfig)
Expand Down

0 comments on commit 6327978

Please sign in to comment.