pyloid 0.15.1__py3-none-any.whl → 0.15.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyloid/browser_window.py CHANGED
@@ -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
@@ -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,7 +1,7 @@
1
1
  pyloid/__init__.py,sha256=OOPhOKNQVmAM8hnfTeE7lHzxb8LsFNcgegBAvDrA-vY,293
2
2
  pyloid/api.py,sha256=np0pFVUlen_GpN0svY0A3awY_ZjVFk-RpHQZZKFUMuo,2157
3
3
  pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
4
- pyloid/browser_window.py,sha256=L2dKvXzSVol1pKgsUf4bJD6MYBL7OJEtdWwGdgZHR_4,39513
4
+ pyloid/browser_window.py,sha256=xN2FbpMMwPAg1LIEdQs7DxIZT9VO8uvT2xKieADRwKs,40470
5
5
  pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
6
6
  pyloid/filewatcher.py,sha256=3M5zWVUf1OhlkWJcDFC8ZA9agO4Q-U8WdgGpy6kaVz0,4601
7
7
  pyloid/js_api/event_api.py,sha256=_52yyBonqecmMvJpFW7OMNi_jX8Nrteqw_kI6r-DGG0,951
@@ -11,7 +11,7 @@ pyloid/pyloid.py,sha256=3YymePkpM_hKPzvHSSgELuSHkmbDsKW60HnRwwBMY7A,41178
11
11
  pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
12
12
  pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
13
13
  pyloid/utils.py,sha256=VGZE2liY8_AElEqxVe1YLbk3fWlcAevpRc6oOTTgi-U,1927
14
- pyloid-0.15.1.dist-info/LICENSE,sha256=MTYF-6xpRekyTUglRweWtbfbwBL1I_3Bgfbm_SNOuI8,11525
15
- pyloid-0.15.1.dist-info/METADATA,sha256=bJP9CLF9fBirFlzPGLCl__s5cw9fb1pmK5wtXs8MmOE,3050
16
- pyloid-0.15.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
17
- pyloid-0.15.1.dist-info/RECORD,,
14
+ pyloid-0.15.2.dist-info/LICENSE,sha256=MTYF-6xpRekyTUglRweWtbfbwBL1I_3Bgfbm_SNOuI8,11525
15
+ pyloid-0.15.2.dist-info/METADATA,sha256=I-d7qNTJKvkAfAHmJrEzHKr-o6UIJZ320YjQJGNMHc8,3050
16
+ pyloid-0.15.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
17
+ pyloid-0.15.2.dist-info/RECORD,,