Skip to content

Commit

Permalink
Focus policy updates #2
Browse files Browse the repository at this point in the history
  • Loading branch information
samyarsadat committed Nov 11, 2024
1 parent 7eb58e5 commit 37392c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
<cursorShape>ArrowCursor</cursorShape>
</property>
<property name="focusPolicy">
<enum>Qt::FocusPolicy::StrongFocus</enum>
<enum>Qt::FocusPolicy::TabFocus</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<property name="tabsClosable">
<bool>false</bool>
Expand Down Expand Up @@ -4269,7 +4269,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::FocusPolicy::NoFocus</enum>
<enum>Qt::FocusPolicy::StrongFocus</enum>
</property>
<property name="nativeMenuBar">
<bool>true</bool>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def setupUi(self, MainWindow):
sizePolicy1.setHeightForWidth(self.pages.sizePolicy().hasHeightForWidth())
self.pages.setSizePolicy(sizePolicy1)
self.pages.setCursor(QCursor(Qt.CursorShape.ArrowCursor))
self.pages.setFocusPolicy(Qt.FocusPolicy.StrongFocus)
self.pages.setFocusPolicy(Qt.FocusPolicy.TabFocus)
self.pages.setTabsClosable(False)
self.pages.setMovable(False)
self.pages.setTabBarAutoHide(False)
Expand Down Expand Up @@ -1992,7 +1992,7 @@ def setupUi(self, MainWindow):
self.menubar.setObjectName(u"menubar")
self.menubar.setEnabled(True)
self.menubar.setGeometry(QRect(0, 0, 1024, 23))
self.menubar.setFocusPolicy(Qt.FocusPolicy.NoFocus)
self.menubar.setFocusPolicy(Qt.FocusPolicy.StrongFocus)
self.menubar.setNativeMenuBar(True)
self.menuPower = QMenu(self.menubar)
self.menuPower.setObjectName(u"menuPower")
Expand Down Expand Up @@ -2024,7 +2024,7 @@ def setupUi(self, MainWindow):

self.retranslateUi(MainWindow)

self.pages.setCurrentIndex(1)
self.pages.setCurrentIndex(0)


QMetaObject.connectSlotsByName(MainWindow)
Expand Down

0 comments on commit 37392c1

Please sign in to comment.