pyloid 0.15.1__tar.gz → 0.15.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.15.1
3
+ Version: 0.15.2
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyloid"
3
- version = "0.15.1"
3
+ version = "0.15.2"
4
4
  description = ""
5
5
  authors = ["aesthetics-of-record <111675679+aesthetics-of-record@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -1261,3 +1261,32 @@ class BrowserWindow:
1261
1261
  ```
1262
1262
  """
1263
1263
  return self.resizable
1264
+
1265
+ ###########################################################################################
1266
+ # Custom Pyside6 Features
1267
+ ###########################################################################################
1268
+ def get_QMainWindow(self) -> QMainWindow:
1269
+ """
1270
+ Returns the QMainWindow object of the window.
1271
+ you can use all the features of QMainWindow for customizing the window.
1272
+
1273
+ Returns
1274
+ -------
1275
+ QMainWindow
1276
+ QMainWindow object of the window
1277
+
1278
+ Examples
1279
+ --------
1280
+ ```python
1281
+ from PySide6.QtCore import Qt
1282
+ from pyloid import Pyloid
1283
+
1284
+ app = Pyloid(app_name="Pyloid-App")
1285
+
1286
+ window = app.create_window("pyloid-window")
1287
+ qmain = window.get_QMainWindow()
1288
+
1289
+ qmain.setWindowFlags(qmain.windowFlags() | Qt.WindowStaysOnTopHint) # window stays on top
1290
+ ```
1291
+ """
1292
+ return self._window
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes