• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 6433593370

06 Oct 2023 03:30PM UTC coverage: 73.825% (-9.3%) from 83.134%
6433593370

push

github

web-flow
[feature] Add GUI Toolkit Commands (backport #5260) (#5285)

[feature] Add GUI Toolkit Commands (#5260)

* Markdown

* Delete

* Add AFXApp and AFXBoolKeyword

* Delete

* Update headings

* Create parse.py

* Update parse.py

* Unicode Spaces

* Update .pre-commit-config.yaml

* Update md types

* Update Kernel plug-in registration commands.md

* Generated python stubs

* Add class inheritance

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Revert "Update .pre-commit-config.yaml"

This reverts commit 9d3aef3cc.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix mypy errors

* Delete parse.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix return types and imports

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update AFXColumnItems.md

* Update abaqusGui.py

* Add class/global flags

* Delete flags.py

* Fix flags

* Fix

* Skip mypy

* Update abaqusGui.py

* Update constants.py

* Create kernelAccess.py

* Add plugin docs

* Revert changes by docformatter

* Delete markdown files

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit a65ff5df8)

Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>

3661 of 3661 new or added lines in 151 files covered. (100.0%)

24137 of 32695 relevant lines covered (73.82%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/PlugInRegistration/AFXFileSelectorDialog.py
1
from __future__ import annotations
×
2

3
from .AFXBoolKeyword import AFXBoolKeyword
×
4
from .AFXFileDialog import AFXFileDialog
×
5
from .AFXIntTarget import AFXIntTarget
×
6
from .AFXStringTarget import AFXStringTarget
×
7
from .FXWindow import FXWindow
×
8

9
#: A single file, existing or not (to save to).
10
AFXSELECTFILE_ANY: int = hash("AFXSELECTFILE_ANY")
×
11

12
#: An existing file (to load).
13
AFXSELECTFILE_EXISTING: int = hash("AFXSELECTFILE_EXISTING")
×
14

15
#: Multiple existing files.
16
AFXSELECTFILE_MULTIPLE: int = hash("AFXSELECTFILE_MULTIPLE")
×
17

18
#: Multiple existing files or directories.
19
AFXSELECTFILE_MULTIPLE_ALL: int = hash("AFXSELECTFILE_MULTIPLE_ALL")
×
20

21
#: Existing directory.
22
AFXSELECTFILE_DIRECTORY: int = hash("AFXSELECTFILE_DIRECTORY")
×
23

24

25
class AFXFileSelectorDialog(AFXFileDialog):
×
26
    """Abaqus."""
27

28
    def __init__(
×
29
        self,
30
        owner: FXWindow,
31
        title: str,
32
        pathNameTgt: AFXStringTarget,
33
        readOnlyKw: AFXBoolKeyword,
34
        mode: int = AFXSELECTFILE_ANY,
35
        patterns: str = "*",
36
        patternIndexTgt: AFXIntTarget | None = None,
37
    ):
38
        """Constructor typically used to create a dialog box that is posted from another dialog box (e.g. from a
39
        "Select..." button); a target is used for the pathName. If the dialog box allows multiple selection, the
40
        pathName target contains comma-separated path names of all selected files.
41

42
        Parameters
43
        ----------
44
        owner : FXWindow
45
            Owner
46
        title : str
47
            Dialog box title.
48
        pathNameTgt : AFXStringTarget
49
            Path name target.
50
        readOnlyKw : AFXBoolKeyword
51
            Read-only keyword.
52
        mode : int
53
            File selection mode.
54
        patterns : str
55
            File filter patterns.
56
        patternIndexTgt : AFXIntTarget | None
57
            Index used to select a file filter pattern when the dialog box is posted.
58
        """
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc