graphviz-code-viewer 0.1.3__tar.gz → 0.1.4__tar.gz

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.
Files changed (28) hide show
  1. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/PKG-INFO +6 -6
  2. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/README.md +2 -2
  3. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/about.py +4 -4
  4. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/document-open.png +0 -0
  5. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/download-green.png +0 -0
  6. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/download.png +0 -0
  7. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/emote-love.png +0 -0
  8. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/image.png +0 -0
  9. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/status_help.png +0 -0
  10. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/system-run.png +0 -0
  11. graphviz_code_viewer-0.1.4/graphviz_code_viewer/icons/text-configure.png +0 -0
  12. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/program.py +27 -9
  13. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer.egg-info/PKG-INFO +6 -6
  14. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer.egg-info/SOURCES.txt +8 -0
  15. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/pyproject.toml +5 -5
  16. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/LICENSE +0 -0
  17. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/__init__.py +0 -0
  18. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/desktop.py +0 -0
  19. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/icons/logo.png +0 -0
  20. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/modules/__init__.py +0 -0
  21. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/modules/configure.py +0 -0
  22. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/modules/resources.py +0 -0
  23. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer/modules/wabout.py +0 -0
  24. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer.egg-info/dependency_links.txt +0 -0
  25. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer.egg-info/entry_points.txt +0 -0
  26. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer.egg-info/requires.txt +0 -0
  27. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/graphviz_code_viewer.egg-info/top_level.txt +0 -0
  28. {graphviz_code_viewer-0.1.3 → graphviz_code_viewer-0.1.4}/setup.cfg +0 -0
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphviz_code_viewer
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Program to edit and view Graphviz code.
5
5
  Author-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
6
6
  Maintainer-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
7
7
  License-Expression: GPL-3.0-only WITH Classpath-exception-2.0 OR BSD-3-Clause
8
- Project-URL: Bug Reports, https://github.com/trucomanx/GraphvizCodeViewer/issues
8
+ Project-URL: Bug Reports, https://github.com/trucomanx-desktop/GraphvizCodeViewer/issues
9
9
  Project-URL: Funding, https://trucomanx.github.io/en/funding.html
10
- Project-URL: Documentation, https://github.com/trucomanx/GraphvizCodeViewer/tree/main/doc
11
- Project-URL: Source, https://github.com/trucomanx/GraphvizCodeViewer
10
+ Project-URL: Documentation, https://github.com/trucomanx-desktop/GraphvizCodeViewer/tree/main/doc
11
+ Project-URL: Source, https://github.com/trucomanx-desktop/GraphvizCodeViewer
12
12
  Keywords: writing,translate
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Operating System :: OS Independent
@@ -23,7 +23,7 @@ Dynamic: license-file
23
23
 
24
24
  Program to edit and view Graphviz code.
25
25
 
26
- ![logo](https://raw.githubusercontent.com/trucomanx/GraphvizCodeViewer/main/screenshot.png)
26
+ ![logo](https://raw.githubusercontent.com/trucomanx-desktop/GraphvizCodeViewer/main/screenshot.png)
27
27
 
28
28
  ## 1. Installing
29
29
 
@@ -45,7 +45,7 @@ graphviz-code-viewer
45
45
  ```
46
46
  ## 2. More information
47
47
 
48
- If you want more information go to [doc](https://github.com/trucomanx/GraphvizCodeViewer/blob/main/doc) directory.
48
+ If you want more information go to [doc](https://github.com/trucomanx-desktop/GraphvizCodeViewer/blob/main/doc) directory.
49
49
 
50
50
  ## 3. Buy me a coffee
51
51
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Program to edit and view Graphviz code.
4
4
 
5
- ![logo](https://raw.githubusercontent.com/trucomanx/GraphvizCodeViewer/main/screenshot.png)
5
+ ![logo](https://raw.githubusercontent.com/trucomanx-desktop/GraphvizCodeViewer/main/screenshot.png)
6
6
 
7
7
  ## 1. Installing
8
8
 
@@ -24,7 +24,7 @@ graphviz-code-viewer
24
24
  ```
25
25
  ## 2. More information
26
26
 
27
- If you want more information go to [doc](https://github.com/trucomanx/GraphvizCodeViewer/blob/main/doc) directory.
27
+ If you want more information go to [doc](https://github.com/trucomanx-desktop/GraphvizCodeViewer/blob/main/doc) directory.
28
28
 
29
29
  ## 3. Buy me a coffee
30
30
 
@@ -1,12 +1,12 @@
1
1
  # about.py
2
2
 
3
- __version__ = "0.1.3"
3
+ __version__ = "0.1.4"
4
4
  __package__ = "graphviz_code_viewer"
5
5
  __program_name__ = "graphviz-code-viewer"
6
6
  __author__ = "Fernando Pujaico Rivera"
7
7
  __email__ = "fernando.pujaico.rivera@gmail.com"
8
8
  __description__ = "Program to edit and view Graphviz code."
9
- __url_source__ = "https://github.com/trucomanx/GraphvizCodeViewer"
10
- __url_doc__ = "https://github.com/trucomanx/GraphvizCodeViewer/tree/main/doc"
9
+ __url_source__ = "https://github.com/trucomanx-desktop/GraphvizCodeViewer"
10
+ __url_doc__ = "https://github.com/trucomanx-desktop/GraphvizCodeViewer/tree/main/doc"
11
11
  __url_funding__ = "https://trucomanx.github.io/en/funding.html"
12
- __url_bugs__ = "https://github.com/trucomanx/GraphvizCodeViewer/issues"
12
+ __url_bugs__ = "https://github.com/trucomanx-desktop/GraphvizCodeViewer/issues"
@@ -459,31 +459,41 @@ class MainWindow(QMainWindow):
459
459
 
460
460
 
461
461
  # Compile
462
- compile_action = QAction(QIcon.fromTheme("media-playback-start"),CONFIG["action_compile"], self)
462
+ compile_action = QAction( QIcon(resource_path("icons", "system-run.png")),
463
+ CONFIG["action_compile"],
464
+ self)
463
465
  compile_action.setToolTip(CONFIG["action_compile_tooltip"])
464
466
  compile_action.triggered.connect(self.compile_dot)
465
467
  toolbar.addAction(compile_action)
466
468
 
467
469
  # Load
468
- load_action = QAction(QIcon.fromTheme("document-open"),CONFIG["action_open"], self)
470
+ load_action = QAction( QIcon(resource_path("icons", "document-open.png")),
471
+ CONFIG["action_open"],
472
+ self)
469
473
  load_action.setToolTip(CONFIG["action_open_tooltip"])
470
474
  load_action.triggered.connect(lambda: self.load_dot(filepath=""))
471
475
  toolbar.addAction(load_action)
472
476
 
473
477
  # Save
474
- save_action = QAction(QIcon.fromTheme("document-save"),CONFIG["action_save"], self)
478
+ save_action = QAction( QIcon(resource_path("icons", "download.png")),
479
+ CONFIG["action_save"],
480
+ self)
475
481
  save_action.setToolTip(CONFIG["action_save_tooltip"])
476
482
  save_action.triggered.connect(lambda: self.save_dot(from_input=True,exist_ok=True))
477
483
  toolbar.addAction(save_action)
478
484
 
479
485
  # Save as
480
- saveas_action = QAction(QIcon.fromTheme("document-save-as"),CONFIG["action_saveas"], self)
486
+ saveas_action = QAction(QIcon(resource_path("icons", "download-green.png")),
487
+ CONFIG["action_saveas"],
488
+ self)
481
489
  saveas_action.setToolTip(CONFIG["action_saveas_tooltip"])
482
490
  saveas_action.triggered.connect(lambda: self.save_dot(from_input=False,exist_ok=False))
483
491
  toolbar.addAction(saveas_action)
484
492
 
485
493
  # Save Image
486
- save_image_action = QAction(QIcon.fromTheme("image-x-generic"), CONFIG["action_saveimg"], self)
494
+ save_image_action = QAction(QIcon(resource_path("icons", "image.png")),
495
+ CONFIG["action_saveimg"],
496
+ self)
487
497
  save_image_action.setToolTip(CONFIG["action_saveimg_tooltip"])
488
498
  save_image_action.triggered.connect(self.save_image)
489
499
  toolbar.addAction(save_image_action)
@@ -495,25 +505,33 @@ class MainWindow(QMainWindow):
495
505
  toolbar.addWidget(spacer)
496
506
 
497
507
  #
498
- self.configure_editor_action = QAction(QIcon.fromTheme("document-properties"), CONFIG["action_configure_editor"], self)
508
+ self.configure_editor_action = QAction( QIcon(resource_path("icons", "text-configure.png")),
509
+ CONFIG["action_configure_editor"],
510
+ self)
499
511
  self.configure_editor_action.setToolTip(CONFIG["action_configure_editor_tooltip"])
500
512
  self.configure_editor_action.triggered.connect(self.open_configure_editor)
501
513
  toolbar.addAction(self.configure_editor_action)
502
514
 
503
515
  #
504
- self.configure_action = QAction(QIcon.fromTheme("document-properties"), CONFIG["action_configure_window"], self)
516
+ self.configure_action = QAction(QIcon(resource_path("icons", "text-configure.png")),
517
+ CONFIG["action_configure_window"],
518
+ self)
505
519
  self.configure_action.setToolTip(CONFIG["action_configure_window_tooltip"])
506
520
  self.configure_action.triggered.connect(self.open_configure_window)
507
521
  toolbar.addAction(self.configure_action)
508
522
 
509
523
  #
510
- self.about_action = QAction(QIcon.fromTheme("help-about"), CONFIG["action_about"], self)
524
+ self.about_action = QAction(QIcon(resource_path("icons", "status_help.png")),
525
+ CONFIG["action_about"],
526
+ self)
511
527
  self.about_action.setToolTip(CONFIG["action_about_tooltip"])
512
528
  self.about_action.triggered.connect(self.open_about)
513
529
  toolbar.addAction(self.about_action)
514
530
 
515
531
  # Coffee
516
- self.coffee_action = QAction(QIcon.fromTheme("emblem-favorite"), CONFIG["action_coffee"], self)
532
+ self.coffee_action = QAction( QIcon(resource_path("icons", "emote-love.png")),
533
+ CONFIG["action_coffee"],
534
+ self)
517
535
  self.coffee_action.setToolTip(CONFIG["action_coffee_tooltip"])
518
536
  self.coffee_action.triggered.connect(self.on_coffee_action_click)
519
537
  toolbar.addAction(self.coffee_action)
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphviz_code_viewer
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Program to edit and view Graphviz code.
5
5
  Author-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
6
6
  Maintainer-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
7
7
  License-Expression: GPL-3.0-only WITH Classpath-exception-2.0 OR BSD-3-Clause
8
- Project-URL: Bug Reports, https://github.com/trucomanx/GraphvizCodeViewer/issues
8
+ Project-URL: Bug Reports, https://github.com/trucomanx-desktop/GraphvizCodeViewer/issues
9
9
  Project-URL: Funding, https://trucomanx.github.io/en/funding.html
10
- Project-URL: Documentation, https://github.com/trucomanx/GraphvizCodeViewer/tree/main/doc
11
- Project-URL: Source, https://github.com/trucomanx/GraphvizCodeViewer
10
+ Project-URL: Documentation, https://github.com/trucomanx-desktop/GraphvizCodeViewer/tree/main/doc
11
+ Project-URL: Source, https://github.com/trucomanx-desktop/GraphvizCodeViewer
12
12
  Keywords: writing,translate
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Operating System :: OS Independent
@@ -23,7 +23,7 @@ Dynamic: license-file
23
23
 
24
24
  Program to edit and view Graphviz code.
25
25
 
26
- ![logo](https://raw.githubusercontent.com/trucomanx/GraphvizCodeViewer/main/screenshot.png)
26
+ ![logo](https://raw.githubusercontent.com/trucomanx-desktop/GraphvizCodeViewer/main/screenshot.png)
27
27
 
28
28
  ## 1. Installing
29
29
 
@@ -45,7 +45,7 @@ graphviz-code-viewer
45
45
  ```
46
46
  ## 2. More information
47
47
 
48
- If you want more information go to [doc](https://github.com/trucomanx/GraphvizCodeViewer/blob/main/doc) directory.
48
+ If you want more information go to [doc](https://github.com/trucomanx-desktop/GraphvizCodeViewer/blob/main/doc) directory.
49
49
 
50
50
  ## 3. Buy me a coffee
51
51
 
@@ -11,7 +11,15 @@ graphviz_code_viewer.egg-info/dependency_links.txt
11
11
  graphviz_code_viewer.egg-info/entry_points.txt
12
12
  graphviz_code_viewer.egg-info/requires.txt
13
13
  graphviz_code_viewer.egg-info/top_level.txt
14
+ graphviz_code_viewer/icons/document-open.png
15
+ graphviz_code_viewer/icons/download-green.png
16
+ graphviz_code_viewer/icons/download.png
17
+ graphviz_code_viewer/icons/emote-love.png
18
+ graphviz_code_viewer/icons/image.png
14
19
  graphviz_code_viewer/icons/logo.png
20
+ graphviz_code_viewer/icons/status_help.png
21
+ graphviz_code_viewer/icons/system-run.png
22
+ graphviz_code_viewer/icons/text-configure.png
15
23
  graphviz_code_viewer/modules/__init__.py
16
24
  graphviz_code_viewer/modules/configure.py
17
25
  graphviz_code_viewer/modules/resources.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "graphviz_code_viewer"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  description = "Program to edit and view Graphviz code."
9
9
  readme = "README.md"
10
10
  authors = [{name = "Fernando Pujaico Rivera", email = "fernando.pujaico.rivera@gmail.com"}]
@@ -23,10 +23,10 @@ dependencies = [
23
23
  ]
24
24
 
25
25
  [project.urls]
26
- "Bug Reports" = "https://github.com/trucomanx/GraphvizCodeViewer/issues"
26
+ "Bug Reports" = "https://github.com/trucomanx-desktop/GraphvizCodeViewer/issues"
27
27
  "Funding" = "https://trucomanx.github.io/en/funding.html"
28
- "Documentation" = "https://github.com/trucomanx/GraphvizCodeViewer/tree/main/doc"
29
- "Source" = "https://github.com/trucomanx/GraphvizCodeViewer"
28
+ "Documentation" = "https://github.com/trucomanx-desktop/GraphvizCodeViewer/tree/main/doc"
29
+ "Source" = "https://github.com/trucomanx-desktop/GraphvizCodeViewer"
30
30
 
31
31
  [project.scripts]
32
32
  "graphviz-code-viewer" = "graphviz_code_viewer.program:main"
@@ -35,4 +35,4 @@ dependencies = [
35
35
  packages = ["graphviz_code_viewer", "graphviz_code_viewer.modules"]
36
36
 
37
37
  [tool.setuptools.package-data]
38
- "graphviz_code_viewer" = ["icons/logo.png"]
38
+ "graphviz_code_viewer" = ["icons/*.png"]