-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHORE: Suspend development of FApplication subclass until there is a …
…need for it. This is in part due to difficulties in testing it, see: #97
- Loading branch information
Showing
3 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from faslr.core.application import ( | ||
FApplication, | ||
) | ||
# from faslr.core.application import ( | ||
# FApplication, | ||
# ) | ||
|
||
from faslr.core.core import ( | ||
FCore | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
from PyQt6.QtWidgets import ( | ||
QApplication | ||
) | ||
|
||
|
||
class FApplication(QApplication): | ||
def __init__(self): | ||
super().__init__() | ||
# from PyQt6.QtWidgets import ( | ||
# QApplication | ||
# ) | ||
# | ||
# | ||
# class FApplication(QApplication): | ||
# def __init__( | ||
# self, | ||
# *argv | ||
# ): | ||
# super().__init__(*argv) | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# import sys | ||
# | ||
# import pytest | ||
# | ||
# from faslr.core import FApplication | ||
# | ||
# from pytestqt.qtbot import QtBot | ||
# | ||
# | ||
# @pytest.fixture(scope="session") | ||
# def f_application(): | ||
# | ||
# app = FApplication(sys.argv) | ||
# | ||
# return app | ||
# | ||
# | ||
# def test_f_application( | ||
# qtbot: QtBot, | ||
# f_application: FApplication | ||
# ) -> None: | ||
# | ||
# app = f_application | ||
# |