def test_file(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog File Path Test") test_dialog.add_file("File Path", "") test_dialog.add_callback(print)
def test_radio(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog Radio Buttons Test") test_dialog.add_radio("Radio Label", ("Value 1", "Value 2", "Value 3"), 0) test_dialog.add_callback(print)
def test_enum(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog Enum Test") test_dialog.add_enum("Enum Label", ("Value 1", "Value 2", "Value 3"), 0) test_dialog.add_callback(print)
def test_bool(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog Boolean Test") test_dialog.add_bool("Bool Label", True) test_dialog.add_callback(print)
def test_float(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog Float Test") test_dialog.add_float("Float Label", 1.0) test_dialog.add_float("Limit Test", 9.9999999999999999) test_dialog.add_callback(print)
def test_int(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog Test") test_dialog.add_int("Integer Label", 0) test_dialog.add_callback(print)
def test_string(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog String Test") test_dialog.add_string("String Label", "Initial Value") test_dialog.add_callback(print)
def test_label(self): test_app = QApplication(sys.argv) # noqa: F841 test_dialog = GenericDialog("Generic Dialog Label Test") test_dialog.add_label("This is a test label")
def simple_test(self): test_app = QApplication(sys.argv) # noqa: F841 GenericDialog("Generic Dialog Test")