Permalink
Browse files

Merge branch 'feature/pep8' into develop

  • Loading branch information...
2 parents 46ab996 + ade3eb2 commit 7a43551ad87c7003fb3c714442b8de7882dd3c38 @KelSolaar committed May 12, 2014
Showing with 16,281 additions and 16,902 deletions.
  1. +11 −11 CHANGES.rst
  2. +13 −29 bin/sIBL_GUI
  3. +136 −123 docs/donations/Make_A_Donation.html
  4. +7 −6 docs/help/index.html
  5. +3,679 −3,231 docs/help/sIBL_GUI_Manual.html
  6. +3,481 −3,150 docs/help/sIBL_GUI_Manual_Body.html
  7. +10 −9 docs/sphinx/source/conf.py
  8. +9 −9 docs/sphinx/source/index.rst
  9. +150 −150 docs/sphinx/source/resources/pages/api.rst
  10. +11 −11 docs/sphinx/source/resources/pages/changes.rst
  11. +48 −61 setup.py
  12. +302 −322 sibl_gui/components/addons/about/about.py
  13. +0 −422 sibl_gui/components/addons/cachesOperations/cachesOperations.py
  14. 0 sibl_gui/{tests/testsSibl_gui/testsGlobals → components/addons/caches_operations}/__init__.py
  15. +404 −0 sibl_gui/components/addons/caches_operations/caches_operations.py
  16. +3 −3 ...components/addons/{cachesOperations/cachesOperations.rc → caches_operations/caches_operations.rc}
  17. 0 sibl_gui/components/addons/{cachesOperations → caches_operations}/ui/Caches_Operations.ui
  18. +0 −570 sibl_gui/components/addons/databaseOperations/databaseOperations.py
  19. +0 −13 sibl_gui/components/addons/databaseOperations/databaseOperations.rc
  20. 0 sibl_gui/{tests/testsSibl_gui → components/addons/database_operations}/__init__.py
  21. +552 −0 sibl_gui/components/addons/database_operations/database_operations.py
  22. +13 −0 sibl_gui/components/addons/database_operations/database_operations.rc
  23. 0 sibl_gui/components/addons/{databaseOperations → database_operations}/ui/Database_Operations.ui
  24. +0 −697 sibl_gui/components/addons/gpsMap/gpsMap.py
  25. +0 −189 sibl_gui/components/addons/gpsMap/resources/Bing_Maps.html
  26. +0 −165 sibl_gui/components/addons/gpsMap/views.py
  27. 0 sibl_gui/components/{core/templatesOutliner → addons/gps_map}/__init__.py
  28. +678 −0 sibl_gui/components/addons/gps_map/gps_map.py
  29. +3 −3 sibl_gui/components/addons/{gpsMap/gpsMap.rc → gps_map/gps_map.rc}
  30. +189 −0 sibl_gui/components/addons/gps_map/resources/Bing_Maps.html
  31. 0 sibl_gui/components/addons/{gpsMap → gps_map}/resources/Marker.png
  32. 0 sibl_gui/components/addons/{gpsMap → gps_map}/resources/Zoom_In.png
  33. 0 sibl_gui/components/addons/{gpsMap → gps_map}/resources/Zoom_Out.png
  34. 0 sibl_gui/components/addons/{gpsMap → gps_map}/ui/Gps_Map.ui
  35. +151 −0 sibl_gui/components/addons/gps_map/views.py
  36. +0 −359 sibl_gui/components/addons/iblSetsScanner/iblSetsScanner.py
  37. +0 −271 sibl_gui/components/addons/iblSetsScanner/workers.py
  38. 0 sibl_gui/components/{core/iblSetsOutliner → addons/ibl_sets_scanner}/__init__.py
  39. +343 −0 sibl_gui/components/addons/ibl_sets_scanner/ibl_sets_scanner.py
  40. +3 −3 sibl_gui/components/addons/{iblSetsScanner/iblSetsScanner.rc → ibl_sets_scanner/ibl_sets_scanner.rc}
  41. +252 −0 sibl_gui/components/addons/ibl_sets_scanner/workers.py
  42. +0 −1,078 sibl_gui/components/addons/loaderScript/loaderScript.py
  43. +0 −13 sibl_gui/components/addons/loaderScript/loaderScript.rc
  44. +0 −1,105 sibl_gui/components/addons/loaderScriptOptions/loaderScriptOptions.py
  45. +0 −47 sibl_gui/components/addons/loaderScriptOptions/views.py
  46. 0 sibl_gui/components/{core/collectionsOutliner → addons/loader_script}/__init__.py
  47. +1,085 −0 sibl_gui/components/addons/loader_script/loader_script.py
  48. +13 −0 sibl_gui/components/addons/loader_script/loader_script.rc
  49. 0 sibl_gui/components/addons/{loaderScript → loader_script}/ui/Loader_Script.ui
  50. 0 sibl_gui/components/addons/{searchDatabase → loader_script_options}/__init__.py
  51. +1,095 −0 sibl_gui/components/addons/loader_script_options/loader_script_options.py
  52. +3 −3 ...ons/{loaderScriptOptions/loaderScriptOptions.rc → loader_script_options/loader_script_options.rc}
  53. 0 sibl_gui/components/addons/{loaderScriptOptions → loader_script_options}/ui/Loader_Script_Options.ui
  54. +38 −0 sibl_gui/components/addons/loader_script_options/views.py
  55. +0 −975 sibl_gui/components/addons/locationsBrowser/locationsBrowser.py
  56. +0 −13 sibl_gui/components/addons/locationsBrowser/locationsBrowser.rc
  57. 0 sibl_gui/components/addons/{sIBLeditUtilities → locations_browser}/__init__.py
  58. +964 −0 sibl_gui/components/addons/locations_browser/locations_browser.py
  59. +13 −0 sibl_gui/components/addons/locations_browser/locations_browser.rc
  60. 0 sibl_gui/components/addons/{locationsBrowser → locations_browser}/ui/Locations_Browser.ui
  61. +0 −221 sibl_gui/components/addons/loggingNotifier/loggingNotifier.py
  62. 0 sibl_gui/components/addons/{rewiringTool → logging_notifier}/__init__.py
  63. +202 −0 sibl_gui/components/addons/logging_notifier/logging_notifier.py
  64. +2 −2 ...gui/components/addons/{loggingNotifier/loggingNotifier.rc → logging_notifier/logging_notifier.rc}
  65. +0 −644 sibl_gui/components/addons/onlineUpdater/downloadManager.py
  66. +0 −893 sibl_gui/components/addons/onlineUpdater/onlineUpdater.py
  67. +0 −13 sibl_gui/components/addons/onlineUpdater/onlineUpdater.rc
  68. +0 −871 sibl_gui/components/addons/onlineUpdater/remoteUpdater.py
  69. +0 −52 sibl_gui/components/addons/onlineUpdater/views.py
  70. 0 sibl_gui/components/addons/{rawEditingUtilities → online_updater}/__init__.py
  71. +625 −0 sibl_gui/components/addons/online_updater/download_manager.py
  72. +886 −0 sibl_gui/components/addons/online_updater/online_updater.py
  73. +13 −0 sibl_gui/components/addons/online_updater/online_updater.rc
  74. +854 −0 sibl_gui/components/addons/online_updater/remote_updater.py
  75. 0 sibl_gui/components/addons/{onlineUpdater → online_updater}/resources/Templates_Logo.png
  76. 0 sibl_gui/components/addons/{onlineUpdater → online_updater}/resources/sIBL_GUI_Small_Logo.png
  77. 0 sibl_gui/components/addons/{onlineUpdater → online_updater}/ui/Download_Manager.ui
  78. 0 sibl_gui/components/addons/{onlineUpdater → online_updater}/ui/Online_Updater.ui
  79. 0 sibl_gui/components/addons/{onlineUpdater → online_updater}/ui/Remote_Updater.ui
  80. +40 −0 sibl_gui/components/addons/online_updater/views.py
  81. +0 −1,165 sibl_gui/components/addons/preview/imagesPreviewer.py
Sorry, we could not display the entire diff because it was too big.
View
22 CHANGES.rst
@@ -37,8 +37,8 @@ Changes
- Ensured **Softimage_Arnold_*** Templates compatibility with latest **SItoA** build.
- Ensured **notificationsManager** has a maximum number of displayed notifiers at same time.
- Ensured **foundations.parsers.SectionsFileParser.parse** method reads current file content if no content has been previously set.
-- Ensured that loggers and their formatters receive unicode data.
-- Ensured directional light position is correct in **Maya_Arnold_Standard** and **Maya_Arnold_Dome_Light** templates.
+- Ensured that loggers and their formatters receive unicode data.
+- Ensured directional light position is correct in **Maya_Arnold_Standard** and **Maya_Arnold_Dome_Light** templates.
- Removed **miCreateOtherOptionsNodesForURG** mel procedure call in **Maya_MR_Standard** Template.
- Removed dependency on **ordereddict** for Python versions that already include it.
- Moved **foundations.common.isBinaryFile** definition into **foundations.io** module.
@@ -85,12 +85,12 @@ Changes
- Improved various dialog button sizes.
- Darwin Os build should properly raise upon startup.
- Fixed exceptions raised by actions triggered in **Inspector** Component when no active Ibl Set is defined.
-- Fixed exception in **sIBLeditUtilities** Component when attempting to edit an Ibl Set and nothing is selected.
+- Fixed exception in **sIBLeditUtilities** Component when attempting to edit an Ibl Set and nothing is selected.
- Fixed exception in **Database Operations** Component raised while updating an Ibl Set file location.
-- Fixed **shutil.copytree** related exception in **Database** Component.
+- Fixed **shutil.copytree** related exception in **Database** Component.
- Fixed **AttributeError** exception in **Inspector** Component.
-- Fixed Qt related **RuntimeError** exception in **Preview** Component.
-- Fixed exception in **Loader Script Options** Component when an attribute has undefined type.
+- Fixed Qt related **RuntimeError** exception in **Preview** Component.
+- Fixed exception in **Loader Script Options** Component when an attribute has undefined type.
- Fixed Python 2.6.x related exception in **Inspector** Component.
- Fixed duplicated languages on Windows Os build.
- Handled **gaierror** exception in **Tcp Client** Component.
@@ -124,7 +124,7 @@ Changes
| **Foundations** 2.0.5 - Stable - Milestone: https://github.com/KelSolaar/Foundations/issues?milestone=3&state=closed
- Fixed the encoding related issues preventing the application to work properly.
-- Fixed ui related exception in **Online Updater** component.
+- Fixed ui related exception in **Online Updater** component.
- Prevented exception in **TCP Server Ui** Component when requested address is not available.
4.0.3 - Stable
@@ -167,7 +167,7 @@ Changes
4.0.2 - Stable
--------------
-I would like to thanks **Jens Lindgren** for providing me a much needed stable PyQt installer.
+I would like to thanks **Jens Lindgren** for providing me a much needed stable PyQt installer.
| **sIBL_GUI** 4.0.2 - Stable - Milestone: https://github.com/KelSolaar/sIBL_GUI/issues?milestone=3&state=closed
| **Umbra** 1.0.1 - Beta - Milestone: https://github.com/KelSolaar/Umbra/issues?milestone=1&state=closed
@@ -200,7 +200,7 @@ I would like to thanks **Jens Lindgren** for providing me a much needed stable P
- A new **Images Caches Operations** Component has been introduced to allow images caches operations.
- Dropped **NSIS** installer for **Actual Installer** ( http://www.actualinstaller.com/ ) on Windows Os.
- Double clicking an Ibl Set in the **Database Browser** Component now opens the **Inspect** layout.
-- Fixed a subtle memory leak related to a Python interpreter issue ( http://bugs.python.org/issue1469629 ), slightly reducing memory consumption.
+- Fixed a subtle memory leak related to a Python interpreter issue ( http://bugs.python.org/issue1469629 ), slightly reducing memory consumption.
- Fixed an exception in **Inspector** Component when a plate was selected and the view attempted to store the current nodes selection.
- Fixed an exception in **Inspector** Component when current Ibl Set preview image doesn't exists.
@@ -214,7 +214,7 @@ I would like to thanks **Jens Lindgren** for providing me a much needed stable P
- x64 is the default new **sIBL_GUI** architecture, there won't be anymore support for x86.
- **sIBL_GUI** 4.x.x preferences a now stored per version in **./HDRLabs/sIBL_GUI/$MAJOR_VERSION.$MINOR_VERSION** directory.
- A new **Inspect** layout has been implemented, it makes use of the new **PREVIEWfile** attribute of .ibl files and allows you to browse your Collections using large preview images.
-- A new **Edit** layout has been implemented, it features **Umbra** **Script Editor** Component and allows you to directly edit Ibl Sets or Templates files and interact with **sIBL_GUI**.
+- A new **Edit** layout has been implemented, it features **Umbra** **Script Editor** Component and allows you to directly edit Ibl Sets or Templates files and interact with **sIBL_GUI**.
- Support for Ibl Sets plates has been added (Templates don't create them in scenes yet).
- Major parts of the underlying architecture have been rewrote for better evolutivity and feature a cleaner code base.
- Startup speed has been dramaticaly increased (Non frozen application version is more than 4 times faster).
@@ -236,7 +236,7 @@ I would like to thanks **Jens Lindgren** for providing me a much needed stable P
- Sphinx documentation with chapters and API.
- Inline monolitic file for HDRLabs.com.
- A **defaultScript.py** file is provided to showcase a few high level API features.
-- Templates settings are now stored / restored in preferences folder for each Template release.
+- Templates settings are now stored / restored in preferences folder for each Template release.
- Most Maya Templates have been ported toward Python for better maintainability and performance.
- 3dsMax and Softimage / XSI Templates have been refactored for better maintainability.
- Most Templates allows the user to define the prefix the setup will use for better customization.
View
42 bin/sIBL_GUI 100755 → 100644
@@ -5,47 +5,34 @@
**sIBL_GUI**
**Platform:**
- Windows, Linux, Mac Os X.
+ Windows, Linux, Mac Os X.
**Description:**
- This module starts the Application.
+ This module starts the Application.
**Others:**
"""
-#**********************************************************************************************************************
-#*** Future imports.
-#**********************************************************************************************************************
from __future__ import unicode_literals
-#**********************************************************************************************************************
-#*** External imports.
-#**********************************************************************************************************************
import os
import sys
-#**********************************************************************************************************************
-#*** Path manipulations.
-#**********************************************************************************************************************
-def _setApplicationPackageDirectory():
- """
- This definition sets the Application package directory in the path.
- """
- applicationPackageDirectory = os.path.normpath(os.path.join(os.path.dirname(__file__), "../"))
- applicationPackageDirectory not in sys.path and sys.path.append(applicationPackageDirectory)
+def _set_application_package_directory():
+ """
+ This definition sets the Application package directory in the path.
+ """
-_setApplicationPackageDirectory()
+ application_package_directory = os.path.normpath(os.path.join(os.path.dirname(__file__), "../"))
+ application_package_directory not in sys.path and sys.path.append(application_package_directory)
-##**********************************************************************************************************************
-#*** Internal imports.
-#**********************************************************************************************************************
-from sibl_gui.launcher import main
-#**********************************************************************************************************************
-#*** Module attributes.
-#**********************************************************************************************************************
+_set_application_package_directory()
+
+#from sibl_gui.launcher import main
+
__author__ = "Thomas Mansencal"
__copyright__ = "Copyright (C) 2008 - 2014 - Thomas Mansencal"
__license__ = "GPL V3.0 - http://www.gnu.org/licenses/"
@@ -55,8 +42,5 @@ __status__ = "Production"
__all__ = []
-#**********************************************************************************************************************
-#*** Launcher.
-#**********************************************************************************************************************
if __name__ == "__main__":
- main()
+ main()
View
259 docs/donations/Make_A_Donation.html
@@ -1,126 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
- <title></title>
- <style type="text/css">
-/*<![CDATA[*/
-
- body {
- background-color: rgb(32, 32, 32);
- color: rgb(192, 192, 192);
- text-align: justify;
- font-size: 10pt;
- margin: 10px 10px 10px 10px;
- }
-
- A:link {
- color: rgb(160, 96, 64);
- text-decoration: none;
- }
-
- A:visited {
- text-decoration: none;
- color: rgb(160, 96, 64);
- }
-
- A:active {
- text-decoration: none;
- color: rgb(160, 96, 64);
- }
-
- A:hover {
- text-decoration: underline;
- color: rgb(160, 96, 64);
- }
-
- table {
- border-color: rgb(96, 96, 96);
- border-collapse: collapse;
- border-style: solid;
- border-width: 2px;
- }
-
- pre {
- background-color: rgb(64, 64, 64);
- border: 2px solid rgb(160, 96, 64);
- border-left: none;
- border-right: none;
- color: rgb(224, 224, 224);
- font-size: 12pt;
- padding: 5px;
- white-space: pre-wrap;
- }
-
- tt {
- background-color: rgb(64, 64, 64);
- color: rgb(224, 224, 224);
- padding: 5px;
- white-space: pre-wrap;
- white-space: -moz-pre-wrap !important;
- }
-
- ::-webkit-scrollbar {
- height: 12px;
- width: 12px;
- }
-
- ::-webkit-scrollbar-track-piece {
- background-color: rgb(48, 48, 48);
- }
-
- ::-webkit-scrollbar-thumb:horizontal, ::-webkit-scrollbar-thumb:vertical {
- background-color: rgb(96, 96, 96);
- }
-
- ::-webkit-scrollbar-thumb:horizontal:hover, ::-webkit-scrollbar-thumb:vertical:hover {
- background-color: rgb(128, 128, 128);
- }
-
- ::-webkit-scrollbar-thumb:horizontal {
- width: 50px;
- }
-
- ::-webkit-scrollbar-thumb:vertical {
- height: 50px;
- }
- /*]]>*/
- </style>
- </head>
- <body>
- <div class="document">
- <img alt="resources/pictures/sIBL_GUI_Logo.png" src="resources/pictures/sIBL_GUI_Logo.png" />
- <div class="section" id="id1">
- <h1>
- <span class="target" id="donations">Donations</span>
- </h1>
- <p>
- With sIBL_GUI 4 release I decided to accept donations, so if you think the application is worth something you can use the following <a class="reference external" href="https://www.paypal.com/">Paypal</a> button:
- </p>
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
- <input type="hidden" name="cmd" value="_s-xclick" /><input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----" /><input type="image" src="http://kelsolaar.hdrlabs.com/sIBL_GUI/Support/Pictures/Make_A_Donation.png" border="0" name="submit" alt="PayPal — The safer, easier way to pay online." /><img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1" />
- </form>
- </div>
- <div class="section" id="about">
- <h1>
- About
- </h1>
- <div class="line-block">
- <div class="line">
- <strong>sIBL_GUI</strong> by Thomas Mansencal - 2008 - 2014
- </div>
- <div class="line">
- Copyright © 2008 - 2014 - Thomas Mansencal - <a class="reference external" href="mailto:thomas.mansencal&#64;gmail.com">thomas.mansencal&#64;gmail.com</a>
- </div>
- <div class="line">
- This software is released under terms of GNU GPL V3 license: <a class="reference external" href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>
- </div>
- <div class="line">
- <a class="reference external" href="http://www.thomasmansencal.com/">http://www.thomasmansencal.com/</a>
- </div>
- </div>
- </div>
- </div>
- </body>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/"/>
+ <title></title>
+ <style type="text/css">
+ /*<![CDATA[*/
+
+ body {
+ background-color: rgb(32, 32, 32);
+ color: rgb(192, 192, 192);
+ text-align: justify;
+ font-size: 10pt;
+ margin: 10px 10px 10px 10px;
+ }
+
+ A:link {
+ color: rgb(160, 96, 64);
+ text-decoration: none;
+ }
+
+ A:visited {
+ text-decoration: none;
+ color: rgb(160, 96, 64);
+ }
+
+ A:active {
+ text-decoration: none;
+ color: rgb(160, 96, 64);
+ }
+
+ A:hover {
+ text-decoration: underline;
+ color: rgb(160, 96, 64);
+ }
+
+ table {
+ border-color: rgb(96, 96, 96);
+ border-collapse: collapse;
+ border-style: solid;
+ border-width: 2px;
+ }
+
+ pre {
+ background-color: rgb(64, 64, 64);
+ border: 2px solid rgb(160, 96, 64);
+ border-left: none;
+ border-right: none;
+ color: rgb(224, 224, 224);
+ font-size: 12pt;
+ padding: 5px;
+ white-space: pre-wrap;
+ }
+
+ tt {
+ background-color: rgb(64, 64, 64);
+ color: rgb(224, 224, 224);
+ padding: 5px;
+ white-space: pre-wrap;
+ white-space: -moz-pre-wrap !important;
+ }
+
+ ::-webkit-scrollbar {
+ height: 12px;
+ width: 12px;
+ }
+
+ ::-webkit-scrollbar-track-piece {
+ background-color: rgb(48, 48, 48);
+ }
+
+ ::-webkit-scrollbar-thumb:horizontal, ::-webkit-scrollbar-thumb:vertical {
+ background-color: rgb(96, 96, 96);
+ }
+
+ ::-webkit-scrollbar-thumb:horizontal:hover, ::-webkit-scrollbar-thumb:vertical:hover {
+ background-color: rgb(128, 128, 128);
+ }
+
+ ::-webkit-scrollbar-thumb:horizontal {
+ width: 50px;
+ }
+
+ ::-webkit-scrollbar-thumb:vertical {
+ height: 50px;
+ }
+
+ /*]]>*/
+ </style>
+</head>
+<body>
+<div class="document">
+ <img alt="resources/pictures/sIBL_GUI_Logo.png" src="resources/pictures/sIBL_GUI_Logo.png"/>
+
+ <div class="section" id="id1">
+ <h1>
+ <span class="target" id="donations">Donations</span>
+ </h1>
+
+ <p>
+ With sIBL_GUI 4 release I decided to accept donations, so if you think the application is worth something
+ you can use the following <a class="reference external" href="https://www.paypal.com/">Paypal</a> button:
+ </p>
+
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+ <input type="hidden" name="cmd" value="_s-xclick"/><input type="hidden" name="encrypted"
+ value="-----BEGIN PKCS7-----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-----END PKCS7-----"/><input
+ type="image" src="http://kelsolaar.hdrlabs.com/sIBL_GUI/Support/Pictures/Make_A_Donation.png" border="0"
+ name="submit" alt="PayPal — The safer, easier way to pay online."/><img alt="" border="0"
+ src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif"
+ width="1" height="1"/>
+ </form>
+ </div>
+ <div class="section" id="about">
+ <h1>
+ About
+ </h1>
+
+ <div class="line-block">
+ <div class="line">
+ <strong>sIBL_GUI</strong> by Thomas Mansencal - 2008 - 2014
+ </div>
+ <div class="line">
+ Copyright © 2008 - 2014 - Thomas Mansencal - <a class="reference external"
+ href="mailto:thomas.mansencal&#64;gmail.com">thomas.mansencal&#64;gmail.com</a>
+ </div>
+ <div class="line">
+ This software is released under terms of GNU GPL V3 license: <a class="reference external"
+ href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>
+ </div>
+ <div class="line">
+ <a class="reference external" href="http://www.thomasmansencal.com/">http://www.thomasmansencal.com/</a>
+ </div>
+ </div>
+ </div>
+</div>
+</body>
</html>
View
13 docs/help/index.html
@@ -1,9 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
- <head>
- <title>sIBL_GUI - Help</title>
- <meta http-equiv="REFRESH" content="0;url=http://kelsolaar.hdrlabs.com/sIBL_GUI/Support/Documentation/Help/sIBL_GUI_Manual.html">
- </HEAD>
- <body>
- </body>
+<head>
+ <title>sIBL_GUI - Help</title>
+ <meta http-equiv="REFRESH"
+ content="0;url=http://kelsolaar.hdrlabs.com/sIBL_GUI/Support/Documentation/Help/sIBL_GUI_Manual.html">
+</HEAD>
+<body>
+</body>
</html>
View
6,910 docs/help/sIBL_GUI_Manual.html
3,679 additions, 3,231 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
6,631 docs/help/sIBL_GUI_Manual_Body.html
3,481 additions, 3,150 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
19 docs/sphinx/source/conf.py
@@ -11,7 +11,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys, os
+import sys
+import os
import sphinx_rtd_theme
from sibl_gui.globals.constants import Constants
@@ -29,11 +30,11 @@
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named "sphinx.ext.*") or your custom ones.
extensions = ["sphinx.ext.autodoc",
- "sphinx.ext.intersphinx",
- "sphinx.ext.todo",
- "sphinx.ext.coverage",
- "sphinx.ext.ifconfig",
- "sphinx.ext.viewcode"]
+ "sphinx.ext.intersphinx",
+ "sphinx.ext.todo",
+ "sphinx.ext.coverage",
+ "sphinx.ext.ifconfig",
+ "sphinx.ext.viewcode"]
# Add any paths that contain templates here, relative to this directory.
templates_path = [".templates"]
@@ -56,7 +57,7 @@
# built documents.
#
# The short X.Y version.
-version = str(Constants.majorVersion)
+version = str(Constants.major_version)
# The full version, including alpha/beta/rc tags.
release = str(Constants.version)
@@ -184,8 +185,8 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ("index", "sIBL_GUI.tex", u"sIBL\\_GUI Documentation",
- u"Thomas Mansencal", "manual"),
+ ("index", "sIBL_GUI.tex", u"sIBL\\_GUI Documentation",
+ u"Thomas Mansencal", "manual"),
]
# The name of an image file (relative to this directory) to place at the top of
View
18 docs/sphinx/source/index.rst
@@ -7,15 +7,15 @@ Contents:
:maxdepth: 2
:numbered:
- Introduction <resources/pages/introduction>
- Features <resources/pages/features>
- Installation <resources/pages/installation>
- Usage <resources/pages/usage>
- Components <resources/pages/components>
- Api <resources/pages/api>
- Faq <resources/pages/faq>
- Changes <resources/pages/changes>
- About <resources/pages/about>
+ Introduction <resources/pages/introduction>
+ Features <resources/pages/features>
+ Installation <resources/pages/installation>
+ Usage <resources/pages/usage>
+ Components <resources/pages/components>
+ Api <resources/pages/api>
+ Faq <resources/pages/faq>
+ Changes <resources/pages/changes>
+ About <resources/pages/about>
Search:
==================
View
300 docs/sphinx/source/resources/pages/api.rst
@@ -4,154 +4,154 @@ Api
Modules Summary:
.. toctree::
- :maxdepth: 1
+:maxdepth: 1
- oncilla.buildApi <api/oncilla.buildApi>
- oncilla.buildTocTree <api/oncilla.buildTocTree>
- oncilla.defaultSanitizer <api/oncilla.defaultSanitizer>
- oncilla.globals.constants <api/oncilla.globals.constants>
- oncilla.reStructuredTextToHtml <api/oncilla.reStructuredTextToHtml>
- oncilla.sliceReStructuredText <api/oncilla.sliceReStructuredText>
- foundations.cache <api/foundations.cache>
- foundations.common <api/foundations.common>
- foundations.core <api/foundations.core>
- foundations.dataStructures <api/foundations.dataStructures>
- foundations.decorators <api/foundations.decorators>
- foundations.environment <api/foundations.environment>
- foundations.exceptions <api/foundations.exceptions>
- foundations.globals.constants <api/foundations.globals.constants>
- foundations.guerilla <api/foundations.guerilla>
- foundations.io <api/foundations.io>
- foundations.library <api/foundations.library>
- foundations.namespace <api/foundations.namespace>
- foundations.nodes <api/foundations.nodes>
- foundations.parsers <api/foundations.parsers>
- foundations.pkzip <api/foundations.pkzip>
- foundations.rotatingBackup <api/foundations.rotatingBackup>
- foundations.shell <api/foundations.shell>
- foundations.strings <api/foundations.strings>
- foundations.tcpServer <api/foundations.tcpServer>
- foundations.trace <api/foundations.trace>
- foundations.ui.common <api/foundations.ui.common>
- foundations.verbose <api/foundations.verbose>
- foundations.walkers <api/foundations.walkers>
- manager.component <api/manager.component>
- manager.componentsManager <api/manager.componentsManager>
- manager.exceptions <api/manager.exceptions>
- manager.globals.constants <api/manager.globals.constants>
- manager.qobjectComponent <api/manager.qobjectComponent>
- manager.qwidgetComponent <api/manager.qwidgetComponent>
- umbra.components.addons.projectsExplorer.models <api/umbra.components.addons.projectsExplorer.models>
- umbra.components.addons.projectsExplorer.projectsExplorer <api/umbra.components.addons.projectsExplorer.projectsExplorer>
- umbra.components.addons.projectsExplorer.views <api/umbra.components.addons.projectsExplorer.views>
- umbra.components.addons.tcpClientUi.tcpClientUi <api/umbra.components.addons.tcpClientUi.tcpClientUi>
- umbra.components.addons.tcpServerUi.tcpServerUi <api/umbra.components.addons.tcpServerUi.tcpServerUi>
- umbra.components.addons.traceUi.models <api/umbra.components.addons.traceUi.models>
- umbra.components.addons.traceUi.nodes <api/umbra.components.addons.traceUi.nodes>
- umbra.components.addons.traceUi.traceUi <api/umbra.components.addons.traceUi.traceUi>
- umbra.components.addons.traceUi.views <api/umbra.components.addons.traceUi.views>
- umbra.components.factory.componentsManagerUi.componentsManagerUi <api/umbra.components.factory.componentsManagerUi.componentsManagerUi>
- umbra.components.factory.componentsManagerUi.models <api/umbra.components.factory.componentsManagerUi.models>
- umbra.components.factory.componentsManagerUi.nodes <api/umbra.components.factory.componentsManagerUi.nodes>
- umbra.components.factory.componentsManagerUi.views <api/umbra.components.factory.componentsManagerUi.views>
- umbra.components.factory.preferencesManager.preferencesManager <api/umbra.components.factory.preferencesManager.preferencesManager>
- umbra.components.factory.scriptEditor.editor <api/umbra.components.factory.scriptEditor.editor>
- umbra.components.factory.scriptEditor.editorStatus <api/umbra.components.factory.scriptEditor.editorStatus>
- umbra.components.factory.scriptEditor.models <api/umbra.components.factory.scriptEditor.models>
- umbra.components.factory.scriptEditor.nodes <api/umbra.components.factory.scriptEditor.nodes>
- umbra.components.factory.scriptEditor.scriptEditor <api/umbra.components.factory.scriptEditor.scriptEditor>
- umbra.components.factory.scriptEditor.searchAndReplace <api/umbra.components.factory.scriptEditor.searchAndReplace>
- umbra.components.factory.scriptEditor.searchInFiles <api/umbra.components.factory.scriptEditor.searchInFiles>
- umbra.components.factory.scriptEditor.views <api/umbra.components.factory.scriptEditor.views>
- umbra.components.factory.scriptEditor.workers <api/umbra.components.factory.scriptEditor.workers>
- umbra.engine <api/umbra.engine>
- umbra.exceptions <api/umbra.exceptions>
- umbra.globals.constants <api/umbra.globals.constants>
- umbra.globals.runtimeGlobals <api/umbra.globals.runtimeGlobals>
- umbra.globals.uiConstants <api/umbra.globals.uiConstants>
- umbra.launcher <api/umbra.launcher>
- umbra.managers.actionsManager <api/umbra.managers.actionsManager>
- umbra.managers.fileSystemEventsManager <api/umbra.managers.fileSystemEventsManager>
- umbra.managers.layoutsManager <api/umbra.managers.layoutsManager>
- umbra.managers.notificationsManager <api/umbra.managers.notificationsManager>
- umbra.managers.patchesManager <api/umbra.managers.patchesManager>
- umbra.preferences <api/umbra.preferences>
- umbra.processing <api/umbra.processing>
- umbra.reporter <api/umbra.reporter>
- umbra.ui.common <api/umbra.ui.common>
- umbra.ui.completers <api/umbra.ui.completers>
- umbra.ui.delegates <api/umbra.ui.delegates>
- umbra.ui.highlighters <api/umbra.ui.highlighters>
- umbra.ui.inputAccelerators <api/umbra.ui.inputAccelerators>
- umbra.ui.languages <api/umbra.ui.languages>
- umbra.ui.models <api/umbra.ui.models>
- umbra.ui.nodes <api/umbra.ui.nodes>
- umbra.ui.themes <api/umbra.ui.themes>
- umbra.ui.views <api/umbra.ui.views>
- umbra.ui.visualAccelerators <api/umbra.ui.visualAccelerators>
- umbra.ui.widgets.active_QLabel <api/umbra.ui.widgets.active_QLabel>
- umbra.ui.widgets.active_QLabelsCollection <api/umbra.ui.widgets.active_QLabelsCollection>
- umbra.ui.widgets.application_QToolBar <api/umbra.ui.widgets.application_QToolBar>
- umbra.ui.widgets.basic_QPlainTextEdit <api/umbra.ui.widgets.basic_QPlainTextEdit>
- umbra.ui.widgets.codeEditor_QPlainTextEdit <api/umbra.ui.widgets.codeEditor_QPlainTextEdit>
- umbra.ui.widgets.delayed_QSplashScreen <api/umbra.ui.widgets.delayed_QSplashScreen>
- umbra.ui.widgets.messageBox <api/umbra.ui.widgets.messageBox>
- umbra.ui.widgets.notification_QLabel <api/umbra.ui.widgets.notification_QLabel>
- umbra.ui.widgets.search_QLineEdit <api/umbra.ui.widgets.search_QLineEdit>
- umbra.ui.widgets.variable_QPushButton <api/umbra.ui.widgets.variable_QPushButton>
- sibl_gui.components.addons.about.about <api/sibl_gui.components.addons.about.about>
- sibl_gui.components.addons.cachesOperations.cachesOperations <api/sibl_gui.components.addons.cachesOperations.cachesOperations>
- sibl_gui.components.addons.databaseOperations.databaseOperations <api/sibl_gui.components.addons.databaseOperations.databaseOperations>
- sibl_gui.components.addons.gpsMap.gpsMap <api/sibl_gui.components.addons.gpsMap.gpsMap>
- sibl_gui.components.addons.gpsMap.views <api/sibl_gui.components.addons.gpsMap.views>
- sibl_gui.components.addons.iblSetsScanner.iblSetsScanner <api/sibl_gui.components.addons.iblSetsScanner.iblSetsScanner>
- sibl_gui.components.addons.iblSetsScanner.workers <api/sibl_gui.components.addons.iblSetsScanner.workers>
- sibl_gui.components.addons.loaderScript.loaderScript <api/sibl_gui.components.addons.loaderScript.loaderScript>
- sibl_gui.components.addons.loaderScriptOptions.loaderScriptOptions <api/sibl_gui.components.addons.loaderScriptOptions.loaderScriptOptions>
- sibl_gui.components.addons.loaderScriptOptions.views <api/sibl_gui.components.addons.loaderScriptOptions.views>
- sibl_gui.components.addons.locationsBrowser.locationsBrowser <api/sibl_gui.components.addons.locationsBrowser.locationsBrowser>
- sibl_gui.components.addons.loggingNotifier.loggingNotifier <api/sibl_gui.components.addons.loggingNotifier.loggingNotifier>
- sibl_gui.components.addons.onlineUpdater.downloadManager <api/sibl_gui.components.addons.onlineUpdater.downloadManager>
- sibl_gui.components.addons.onlineUpdater.onlineUpdater <api/sibl_gui.components.addons.onlineUpdater.onlineUpdater>
- sibl_gui.components.addons.onlineUpdater.remoteUpdater <api/sibl_gui.components.addons.onlineUpdater.remoteUpdater>
- sibl_gui.components.addons.onlineUpdater.views <api/sibl_gui.components.addons.onlineUpdater.views>
- sibl_gui.components.addons.preview.imagesPreviewer <api/sibl_gui.components.addons.preview.imagesPreviewer>
- sibl_gui.components.addons.preview.preview <api/sibl_gui.components.addons.preview.preview>
- sibl_gui.components.addons.rawEditingUtilities.rawEditingUtilities <api/sibl_gui.components.addons.rawEditingUtilities.rawEditingUtilities>
- sibl_gui.components.addons.rewiringTool.rewiringTool <api/sibl_gui.components.addons.rewiringTool.rewiringTool>
- sibl_gui.components.addons.sIBLeditUtilities.sIBLeditUtilities <api/sibl_gui.components.addons.sIBLeditUtilities.sIBLeditUtilities>
- sibl_gui.components.addons.searchDatabase.searchDatabase <api/sibl_gui.components.addons.searchDatabase.searchDatabase>
- sibl_gui.components.addons.searchDatabase.views <api/sibl_gui.components.addons.searchDatabase.views>
- sibl_gui.components.core.collectionsOutliner.collectionsOutliner <api/sibl_gui.components.core.collectionsOutliner.collectionsOutliner>
- sibl_gui.components.core.collectionsOutliner.models <api/sibl_gui.components.core.collectionsOutliner.models>
- sibl_gui.components.core.collectionsOutliner.nodes <api/sibl_gui.components.core.collectionsOutliner.nodes>
- sibl_gui.components.core.collectionsOutliner.views <api/sibl_gui.components.core.collectionsOutliner.views>
- sibl_gui.components.core.database.database <api/sibl_gui.components.core.database.database>
- sibl_gui.components.core.database.exceptions <api/sibl_gui.components.core.database.exceptions>
- sibl_gui.components.core.database.nodes <api/sibl_gui.components.core.database.nodes>
- sibl_gui.components.core.database.operations <api/sibl_gui.components.core.database.operations>
- sibl_gui.components.core.database.types <api/sibl_gui.components.core.database.types>
- sibl_gui.components.core.iblSetsOutliner.iblSetsOutliner <api/sibl_gui.components.core.iblSetsOutliner.iblSetsOutliner>
- sibl_gui.components.core.iblSetsOutliner.models <api/sibl_gui.components.core.iblSetsOutliner.models>
- sibl_gui.components.core.iblSetsOutliner.views <api/sibl_gui.components.core.iblSetsOutliner.views>
- sibl_gui.components.core.inspector.inspector <api/sibl_gui.components.core.inspector.inspector>
- sibl_gui.components.core.inspector.models <api/sibl_gui.components.core.inspector.models>
- sibl_gui.components.core.inspector.nodes <api/sibl_gui.components.core.inspector.nodes>
- sibl_gui.components.core.inspector.views <api/sibl_gui.components.core.inspector.views>
- sibl_gui.components.core.templatesOutliner.models <api/sibl_gui.components.core.templatesOutliner.models>
- sibl_gui.components.core.templatesOutliner.nodes <api/sibl_gui.components.core.templatesOutliner.nodes>
- sibl_gui.components.core.templatesOutliner.templatesOutliner <api/sibl_gui.components.core.templatesOutliner.templatesOutliner>
- sibl_gui.components.core.templatesOutliner.views <api/sibl_gui.components.core.templatesOutliner.views>
- sibl_gui.exceptions <api/sibl_gui.exceptions>
- sibl_gui.globals.constants <api/sibl_gui.globals.constants>
- sibl_gui.globals.runtimeGlobals <api/sibl_gui.globals.runtimeGlobals>
- sibl_gui.globals.uiConstants <api/sibl_gui.globals.uiConstants>
- sibl_gui.launcher <api/sibl_gui.launcher>
- sibl_gui.libraries.freeImage.freeImage <api/sibl_gui.libraries.freeImage.freeImage>
- sibl_gui.ui.caches <api/sibl_gui.ui.caches>
- sibl_gui.ui.common <api/sibl_gui.ui.common>
- sibl_gui.ui.models <api/sibl_gui.ui.models>
- sibl_gui.ui.nodes <api/sibl_gui.ui.nodes>
- sibl_gui.ui.views <api/sibl_gui.ui.views>
- sibl_gui.ui.widgets.application_QToolBar <api/sibl_gui.ui.widgets.application_QToolBar>
- sibl_gui.ui.workers <api/sibl_gui.ui.workers>
+ oncilla.buildApi <api/oncilla.buildApi>
+ oncilla.buildTocTree <api/oncilla.buildTocTree>
+ oncilla.defaultSanitizer <api/oncilla.defaultSanitizer>
+ oncilla.globals.constants <api/oncilla.globals.constants>
+ oncilla.reStructuredTextToHtml <api/oncilla.reStructuredTextToHtml>
+ oncilla.sliceReStructuredText <api/oncilla.sliceReStructuredText>
+ foundations.cache <api/foundations.cache>
+ foundations.common <api/foundations.common>
+ foundations.core <api/foundations.core>
+ foundations.dataStructures <api/foundations.dataStructures>
+ foundations.decorators <api/foundations.decorators>
+ foundations.environment <api/foundations.environment>
+ foundations.exceptions <api/foundations.exceptions>
+ foundations.globals.constants <api/foundations.globals.constants>
+ foundations.guerilla <api/foundations.guerilla>
+ foundations.io <api/foundations.io>
+ foundations.library <api/foundations.library>
+ foundations.namespace <api/foundations.namespace>
+ foundations.nodes <api/foundations.nodes>
+ foundations.parsers <api/foundations.parsers>
+ foundations.pkzip <api/foundations.pkzip>
+ foundations.rotatingBackup <api/foundations.rotatingBackup>
+ foundations.shell <api/foundations.shell>
+ foundations.strings <api/foundations.strings>
+ foundations.tcpServer <api/foundations.tcpServer>
+ foundations.trace <api/foundations.trace>
+ foundations.ui.common <api/foundations.ui.common>
+ foundations.verbose <api/foundations.verbose>
+ foundations.walkers <api/foundations.walkers>
+ manager.component <api/manager.component>
+ manager.componentsManager <api/manager.componentsManager>
+ manager.exceptions <api/manager.exceptions>
+ manager.globals.constants <api/manager.globals.constants>
+ manager.qobjectComponent <api/manager.qobjectComponent>
+ manager.qwidgetComponent <api/manager.qwidgetComponent>
+ umbra.components.addons.projectsExplorer.models <api/umbra.components.addons.projectsExplorer.models>
+ umbra.components.addons.projectsExplorer.projectsExplorer <api/umbra.components.addons.projectsExplorer.projectsExplorer>
+ umbra.components.addons.projectsExplorer.views <api/umbra.components.addons.projectsExplorer.views>
+ umbra.components.addons.tcpClientUi.tcpClientUi <api/umbra.components.addons.tcpClientUi.tcpClientUi>
+ umbra.components.addons.tcpServerUi.tcpServerUi <api/umbra.components.addons.tcpServerUi.tcpServerUi>
+ umbra.components.addons.traceUi.models <api/umbra.components.addons.traceUi.models>
+ umbra.components.addons.traceUi.nodes <api/umbra.components.addons.traceUi.nodes>
+ umbra.components.addons.traceUi.traceUi <api/umbra.components.addons.traceUi.traceUi>
+ umbra.components.addons.traceUi.views <api/umbra.components.addons.traceUi.views>
+ umbra.components.factory.componentsManagerUi.componentsManagerUi <api/umbra.components.factory.componentsManagerUi.componentsManagerUi>
+ umbra.components.factory.componentsManagerUi.models <api/umbra.components.factory.componentsManagerUi.models>
+ umbra.components.factory.componentsManagerUi.nodes <api/umbra.components.factory.componentsManagerUi.nodes>
+ umbra.components.factory.componentsManagerUi.views <api/umbra.components.factory.componentsManagerUi.views>
+ umbra.components.factory.preferencesManager.preferencesManager <api/umbra.components.factory.preferencesManager.preferencesManager>
+ umbra.components.factory.scriptEditor.editor <api/umbra.components.factory.scriptEditor.editor>
+ umbra.components.factory.scriptEditor.editorStatus <api/umbra.components.factory.scriptEditor.editorStatus>
+ umbra.components.factory.scriptEditor.models <api/umbra.components.factory.scriptEditor.models>
+ umbra.components.factory.scriptEditor.nodes <api/umbra.components.factory.scriptEditor.nodes>
+ umbra.components.factory.scriptEditor.scriptEditor <api/umbra.components.factory.scriptEditor.scriptEditor>
+ umbra.components.factory.scriptEditor.searchAndReplace <api/umbra.components.factory.scriptEditor.searchAndReplace>
+ umbra.components.factory.scriptEditor.searchInFiles <api/umbra.components.factory.scriptEditor.searchInFiles>
+ umbra.components.factory.scriptEditor.views <api/umbra.components.factory.scriptEditor.views>
+ umbra.components.factory.scriptEditor.workers <api/umbra.components.factory.scriptEditor.workers>
+ umbra.engine <api/umbra.engine>
+ umbra.exceptions <api/umbra.exceptions>
+ umbra.globals.constants <api/umbra.globals.constants>
+ umbra.globals.runtimeGlobals <api/umbra.globals.runtimeGlobals>
+ umbra.globals.uiConstants <api/umbra.globals.uiConstants>
+ umbra.launcher <api/umbra.launcher>
+ umbra.managers.actionsManager <api/umbra.managers.actionsManager>
+ umbra.managers.fileSystemEventsManager <api/umbra.managers.fileSystemEventsManager>
+ umbra.managers.layoutsManager <api/umbra.managers.layoutsManager>
+ umbra.managers.notificationsManager <api/umbra.managers.notificationsManager>
+ umbra.managers.patchesManager <api/umbra.managers.patchesManager>
+ umbra.preferences <api/umbra.preferences>
+ umbra.processing <api/umbra.processing>
+ umbra.reporter <api/umbra.reporter>
+ umbra.ui.common <api/umbra.ui.common>
+ umbra.ui.completers <api/umbra.ui.completers>
+ umbra.ui.delegates <api/umbra.ui.delegates>
+ umbra.ui.highlighters <api/umbra.ui.highlighters>
+ umbra.ui.inputAccelerators <api/umbra.ui.inputAccelerators>
+ umbra.ui.languages <api/umbra.ui.languages>
+ umbra.ui.models <api/umbra.ui.models>
+ umbra.ui.nodes <api/umbra.ui.nodes>
+ umbra.ui.themes <api/umbra.ui.themes>
+ umbra.ui.views <api/umbra.ui.views>
+ umbra.ui.visualAccelerators <api/umbra.ui.visualAccelerators>
+ umbra.ui.widgets.active_QLabel <api/umbra.ui.widgets.active_QLabel>
+ umbra.ui.widgets.active_QLabelsCollection <api/umbra.ui.widgets.active_QLabelsCollection>
+ umbra.ui.widgets.application_QToolBar <api/umbra.ui.widgets.application_QToolBar>
+ umbra.ui.widgets.basic_QPlainTextEdit <api/umbra.ui.widgets.basic_QPlainTextEdit>
+ umbra.ui.widgets.codeEditor_QPlainTextEdit <api/umbra.ui.widgets.codeEditor_QPlainTextEdit>
+ umbra.ui.widgets.delayed_QSplashScreen <api/umbra.ui.widgets.delayed_QSplashScreen>
+ umbra.ui.widgets.messageBox <api/umbra.ui.widgets.messageBox>
+ umbra.ui.widgets.notification_QLabel <api/umbra.ui.widgets.notification_QLabel>
+ umbra.ui.widgets.search_QLineEdit <api/umbra.ui.widgets.search_QLineEdit>
+ umbra.ui.widgets.variable_QPushButton <api/umbra.ui.widgets.variable_QPushButton>
+ sibl_gui.components.addons.about.about <api/sibl_gui.components.addons.about.about>
+ sibl_gui.components.addons.cachesOperations.cachesOperations <api/sibl_gui.components.addons.cachesOperations.cachesOperations>
+ sibl_gui.components.addons.databaseOperations.databaseOperations <api/sibl_gui.components.addons.databaseOperations.databaseOperations>
+ sibl_gui.components.addons.gpsMap.gpsMap <api/sibl_gui.components.addons.gpsMap.gpsMap>
+ sibl_gui.components.addons.gpsMap.views <api/sibl_gui.components.addons.gpsMap.views>
+ sibl_gui.components.addons.iblSetsScanner.iblSetsScanner <api/sibl_gui.components.addons.iblSetsScanner.iblSetsScanner>
+ sibl_gui.components.addons.iblSetsScanner.workers <api/sibl_gui.components.addons.iblSetsScanner.workers>
+ sibl_gui.components.addons.loaderScript.loaderScript <api/sibl_gui.components.addons.loaderScript.loaderScript>
+ sibl_gui.components.addons.loaderScriptOptions.loaderScriptOptions <api/sibl_gui.components.addons.loaderScriptOptions.loaderScriptOptions>
+ sibl_gui.components.addons.loaderScriptOptions.views <api/sibl_gui.components.addons.loaderScriptOptions.views>
+ sibl_gui.components.addons.locationsBrowser.locationsBrowser <api/sibl_gui.components.addons.locationsBrowser.locationsBrowser>
+ sibl_gui.components.addons.loggingNotifier.loggingNotifier <api/sibl_gui.components.addons.loggingNotifier.loggingNotifier>
+ sibl_gui.components.addons.onlineUpdater.downloadManager <api/sibl_gui.components.addons.onlineUpdater.downloadManager>
+ sibl_gui.components.addons.onlineUpdater.onlineUpdater <api/sibl_gui.components.addons.onlineUpdater.onlineUpdater>
+ sibl_gui.components.addons.onlineUpdater.remoteUpdater <api/sibl_gui.components.addons.onlineUpdater.remoteUpdater>
+ sibl_gui.components.addons.onlineUpdater.views <api/sibl_gui.components.addons.onlineUpdater.views>
+ sibl_gui.components.addons.preview.imagesPreviewer <api/sibl_gui.components.addons.preview.imagesPreviewer>
+ sibl_gui.components.addons.preview.preview <api/sibl_gui.components.addons.preview.preview>
+ sibl_gui.components.addons.rawEditingUtilities.rawEditingUtilities <api/sibl_gui.components.addons.rawEditingUtilities.rawEditingUtilities>
+ sibl_gui.components.addons.rewiringTool.rewiringTool <api/sibl_gui.components.addons.rewiringTool.rewiringTool>
+ sibl_gui.components.addons.sIBLeditUtilities.sIBLeditUtilities <api/sibl_gui.components.addons.sIBLeditUtilities.sIBLeditUtilities>
+ sibl_gui.components.addons.searchDatabase.searchDatabase <api/sibl_gui.components.addons.searchDatabase.searchDatabase>
+ sibl_gui.components.addons.searchDatabase.views <api/sibl_gui.components.addons.searchDatabase.views>
+ sibl_gui.components.core.collectionsOutliner.collectionsOutliner <api/sibl_gui.components.core.collectionsOutliner.collectionsOutliner>
+ sibl_gui.components.core.collectionsOutliner.models <api/sibl_gui.components.core.collectionsOutliner.models>
+ sibl_gui.components.core.collectionsOutliner.nodes <api/sibl_gui.components.core.collectionsOutliner.nodes>
+ sibl_gui.components.core.collectionsOutliner.views <api/sibl_gui.components.core.collectionsOutliner.views>
+ sibl_gui.components.core.database.database <api/sibl_gui.components.core.database.database>
+ sibl_gui.components.core.database.exceptions <api/sibl_gui.components.core.database.exceptions>
+ sibl_gui.components.core.database.nodes <api/sibl_gui.components.core.database.nodes>
+ sibl_gui.components.core.database.operations <api/sibl_gui.components.core.database.operations>
+ sibl_gui.components.core.database.types <api/sibl_gui.components.core.database.types>
+ sibl_gui.components.core.iblSetsOutliner.iblSetsOutliner <api/sibl_gui.components.core.iblSetsOutliner.iblSetsOutliner>
+ sibl_gui.components.core.iblSetsOutliner.models <api/sibl_gui.components.core.iblSetsOutliner.models>
+ sibl_gui.components.core.iblSetsOutliner.views <api/sibl_gui.components.core.iblSetsOutliner.views>
+ sibl_gui.components.core.inspector.inspector <api/sibl_gui.components.core.inspector.inspector>
+ sibl_gui.components.core.inspector.models <api/sibl_gui.components.core.inspector.models>
+ sibl_gui.components.core.inspector.nodes <api/sibl_gui.components.core.inspector.nodes>
+ sibl_gui.components.core.inspector.views <api/sibl_gui.components.core.inspector.views>
+ sibl_gui.components.core.templatesOutliner.models <api/sibl_gui.components.core.templatesOutliner.models>
+ sibl_gui.components.core.templatesOutliner.nodes <api/sibl_gui.components.core.templatesOutliner.nodes>
+ sibl_gui.components.core.templatesOutliner.templatesOutliner <api/sibl_gui.components.core.templatesOutliner.templatesOutliner>
+ sibl_gui.components.core.templatesOutliner.views <api/sibl_gui.components.core.templatesOutliner.views>
+ sibl_gui.exceptions <api/sibl_gui.exceptions>
+ sibl_gui.globals.constants <api/sibl_gui.globals.constants>
+ sibl_gui.globals.runtimeGlobals <api/sibl_gui.globals.runtimeGlobals>
+ sibl_gui.globals.uiConstants <api/sibl_gui.globals.uiConstants>
+ sibl_gui.launcher <api/sibl_gui.launcher>
+ sibl_gui.libraries.freeImage.freeImage <api/sibl_gui.libraries.freeImage.freeImage>
+ sibl_gui.ui.caches <api/sibl_gui.ui.caches>
+ sibl_gui.ui.common <api/sibl_gui.ui.common>
+ sibl_gui.ui.models <api/sibl_gui.ui.models>
+ sibl_gui.ui.nodes <api/sibl_gui.ui.nodes>
+ sibl_gui.ui.views <api/sibl_gui.ui.views>
+ sibl_gui.ui.widgets.application_QToolBar <api/sibl_gui.ui.widgets.application_QToolBar>
+ sibl_gui.ui.workers <api/sibl_gui.ui.workers>
View
22 docs/sphinx/source/resources/pages/changes.rst
@@ -32,8 +32,8 @@ Changes
- Ensured **Softimage_Arnold_*** Templates compatibility with latest **SItoA** build.
- Ensured **notificationsManager** has a maximum number of displayed notifiers at same time.
- Ensured **foundations.parsers.SectionsFileParser.parse** method reads current file content if no content has been previously set.
-- Ensured that loggers and their formatters receive unicode data.
-- Ensured directional light position is correct in **Maya_Arnold_Standard** and **Maya_Arnold_Dome_Light** templates.
+- Ensured that loggers and their formatters receive unicode data.
+- Ensured directional light position is correct in **Maya_Arnold_Standard** and **Maya_Arnold_Dome_Light** templates.
- Removed **miCreateOtherOptionsNodesForURG** mel procedure call in **Maya_MR_Standard** Template.
- Removed dependency on **ordereddict** for Python versions that already include it.
- Moved **foundations.common.isBinaryFile** definition into **foundations.io** module.
@@ -80,12 +80,12 @@ Changes
- Improved various dialog button sizes.
- Darwin Os build should properly raise upon startup.
- Fixed exceptions raised by actions triggered in **Inspector** Component when no active Ibl Set is defined.
-- Fixed exception in **sIBLeditUtilities** Component when attempting to edit an Ibl Set and nothing is selected.
+- Fixed exception in **sIBLeditUtilities** Component when attempting to edit an Ibl Set and nothing is selected.
- Fixed exception in **Database Operations** Component raised while updating an Ibl Set file location.
-- Fixed **shutil.copytree** related exception in **Database** Component.
+- Fixed **shutil.copytree** related exception in **Database** Component.
- Fixed **AttributeError** exception in **Inspector** Component.
-- Fixed Qt related **RuntimeError** exception in **Preview** Component.
-- Fixed exception in **Loader Script Options** Component when an attribute has undefined type.
+- Fixed Qt related **RuntimeError** exception in **Preview** Component.
+- Fixed exception in **Loader Script Options** Component when an attribute has undefined type.
- Fixed Python 2.6.x related exception in **Inspector** Component.
- Fixed duplicated languages on Windows Os build.
- Handled **gaierror** exception in **Tcp Client** Component.
@@ -119,7 +119,7 @@ Changes
| **Foundations** 2.0.5 - Stable - Milestone: https://github.com/KelSolaar/Foundations/issues?milestone=3&state=closed
- Fixed the encoding related issues preventing the application to work properly.
-- Fixed ui related exception in **Online Updater** component.
+- Fixed ui related exception in **Online Updater** component.
- Prevented exception in **TCP Server Ui** Component when requested address is not available.
4.0.3 - Stable
@@ -162,7 +162,7 @@ Changes
4.0.2 - Stable
--------------
-I would like to thanks **Jens Lindgren** for providing me a much needed stable PyQt installer.
+I would like to thanks **Jens Lindgren** for providing me a much needed stable PyQt installer.
| **sIBL_GUI** 4.0.2 - Stable - Milestone: https://github.com/KelSolaar/sIBL_GUI/issues?milestone=3&state=closed
| **Umbra** 1.0.1 - Beta - Milestone: https://github.com/KelSolaar/Umbra/issues?milestone=1&state=closed
@@ -195,7 +195,7 @@ I would like to thanks **Jens Lindgren** for providing me a much needed stable P
- A new **Images Caches Operations** Component has been introduced to allow images caches operations.
- Dropped **NSIS** installer for **Actual Installer** ( http://www.actualinstaller.com/ ) on Windows Os.
- Double clicking an Ibl Set in the **Database Browser** Component now opens the **Inspect** layout.
-- Fixed a subtle memory leak related to a Python interpreter issue ( http://bugs.python.org/issue1469629 ), slightly reducing memory consumption.
+- Fixed a subtle memory leak related to a Python interpreter issue ( http://bugs.python.org/issue1469629 ), slightly reducing memory consumption.
- Fixed an exception in **Inspector** Component when a plate was selected and the view attempted to store the current nodes selection.
- Fixed an exception in **Inspector** Component when current Ibl Set preview image doesn't exists.
@@ -209,7 +209,7 @@ I would like to thanks **Jens Lindgren** for providing me a much needed stable P
- x64 is the default new **sIBL_GUI** architecture, there won't be anymore support for x86.
- **sIBL_GUI** 4.x.x preferences a now stored per version in **./HDRLabs/sIBL_GUI/$MAJOR_VERSION.$MINOR_VERSION** directory.
- A new **Inspect** layout has been implemented, it makes use of the new **PREVIEWfile** attribute of .ibl files and allows you to browse your Collections using large preview images.
-- A new **Edit** layout has been implemented, it features **Umbra** **Script Editor** Component and allows you to directly edit Ibl Sets or Templates files and interact with **sIBL_GUI**.
+- A new **Edit** layout has been implemented, it features **Umbra** **Script Editor** Component and allows you to directly edit Ibl Sets or Templates files and interact with **sIBL_GUI**.
- Support for Ibl Sets plates has been added (Templates don't create them in scenes yet).
- Major parts of the underlying architecture have been rewrote for better evolutivity and feature a cleaner code base.
- Startup speed has been dramaticaly increased (Non frozen application version is more than 4 times faster).
@@ -231,7 +231,7 @@ I would like to thanks **Jens Lindgren** for providing me a much needed stable P
- Sphinx documentation with chapters and API.
- Inline monolitic file for HDRLabs.com.
- A **defaultScript.py** file is provided to showcase a few high level API features.
-- Templates settings are now stored / restored in preferences folder for each Template release.
+- Templates settings are now stored / restored in preferences folder for each Template release.
- Most Maya Templates have been ported toward Python for better maintainability and performance.
- 3dsMax and Softimage / XSI Templates have been refactored for better maintainability.
- Most Templates allows the user to define the prefix the setup will use for better customization.
View
109 setup.py
@@ -14,79 +14,66 @@
"""
-#**********************************************************************************************************************
-#*** Future imports.
-#**********************************************************************************************************************
from __future__ import unicode_literals
-#**********************************************************************************************************************
-#*** External imports.
-#**********************************************************************************************************************
import re
from setuptools import setup
from setuptools import find_packages
-#**********************************************************************************************************************
-#*** Internal imports.
-#**********************************************************************************************************************
import sibl_gui.globals.constants
-#**********************************************************************************************************************
-#*** Module attributes.
-#**********************************************************************************************************************
__author__ = "Thomas Mansencal"
__copyright__ = "Copyright (C) 2008 - 2014 - Thomas Mansencal"
__license__ = "GPL V3.0 - http://www.gnu.org/licenses/"
__maintainer__ = "Thomas Mansencal"
__email__ = "thomas.mansencal@gmail.com"
__status__ = "Production"
-__all__ = ["getLongDescription"]
-
-#**********************************************************************************************************************
-#*** Module classes and definitions.
-#**********************************************************************************************************************
-def getLongDescription():
- """
- Returns the Package long description.
-
- :return: Package long description.
- :rtype: unicode
- """
-
- description = []
- with open("README.rst") as file:
- for line in file:
- if ".. code:: python" in line and len(description) >= 2:
- blockLine = description[-2]
- if re.search(r":$", blockLine) and not re.search(r"::$", blockLine):
- description[-2] = "::".join(blockLine.rsplit(":", 1))
- continue
-
- description.append(line)
- return "".join(description)
-
-setup(name=sibl_gui.globals.constants.Constants.applicationName,
- version=sibl_gui.globals.constants.Constants.version,
- author=sibl_gui.globals.constants.__author__,
- author_email=sibl_gui.globals.constants.__email__,
- include_package_data=True,
- packages=find_packages(),
- scripts=["bin/sIBL_GUI"],
- url="https://github.com/KelSolaar/sIBL_GUI",
- license="GPLv3",
- description="sIBL_GUI is an open source lighting assistant making the Image Based Lighting process easier and straight forward through the use of \"Smart Ibl\" files.",
- long_description=getLongDescription(),
- install_requires=["Counter>=1.0.0", "SQLAlchemy==0.7.8", "Umbra>=1.0.9"],
- classifiers=["Development Status :: 5 - Production/Stable",
- "Environment :: Console",
- "Environment :: MacOS X",
- "Environment :: Win32 (MS Windows)",
- "Environment :: X11 Applications :: Qt",
- "Intended Audience :: Developers",
- "Intended Audience :: Other Audience",
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
- "Natural Language :: English",
- "Operating System :: OS Independent",
- "Programming Language :: Python :: 2.7",
- "Topic :: Utilities"])
+__all__ = ["get_long_description"]
+
+
+def get_long_description():
+ """
+ Returns the Package long description.
+
+ :return: Package long description.
+ :rtype: unicode
+ """
+
+ description = []
+ with open("README.rst") as file:
+ for line in file:
+ if ".. code:: python" in line and len(description) >= 2:
+ blockLine = description[-2]
+ if re.search(r":$", blockLine) and not re.search(r"::$", blockLine):
+ description[-2] = "::".join(blockLine.rsplit(":", 1))
+ continue
+
+ description.append(line)
+ return "".join(description)
+
+
+setup(name=sibl_gui.globals.constants.Constants.application_name,
+ version=sibl_gui.globals.constants.Constants.version,
+ author=sibl_gui.globals.constants.__author__,
+ author_email=sibl_gui.globals.constants.__email__,
+ include_package_data=True,
+ packages=find_packages(),
+ scripts=["bin/sIBL_GUI"],
+ url="https://github.com/KelSolaar/sIBL_GUI",
+ license="GPLv3",
+ description="sIBL_GUI is an open source lighting assistant making the Image Based Lighting process easier and straight forward through the use of \"Smart Ibl\" files.",
+ long_description=get_long_description(),
+ install_requires=["Alembic>=0.6.4", "Counter>=1.0.0", "SQLAlchemy==0.9.4", "Umbra>=1.0.9"],
+ classifiers=["Development Status :: 5 - Production/Stable",
+ "Environment :: Console",
+ "Environment :: MacOS X",
+ "Environment :: Win32 (MS Windows)",
+ "Environment :: X11 Applications :: Qt",
+ "Intended Audience :: Developers",
+ "Intended Audience :: Other Audience",
+ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
+ "Natural Language :: English",
+ "Operating System :: OS Independent",
+ "Programming Language :: Python :: 2.7",
+ "Topic :: Utilities"])
View
624 sibl_gui/components/addons/about/about.py
@@ -5,37 +5,25 @@
**about.py**
**Platform:**
- Windows, Linux, Mac Os X.
+ Windows, Linux, Mac Os X.
**Description:**
- Defines the :class:`About` Component Interface class.
+ Defines the :class:`About` Component Interface class.
**Others:**
"""
-#**********************************************************************************************************************
-#*** Future imports.
-#**********************************************************************************************************************
from __future__ import unicode_literals
-#**********************************************************************************************************************
-#*** External imports.
-#**********************************************************************************************************************
import os
-#**********************************************************************************************************************
-#*** Internal imports.
-#**********************************************************************************************************************
import foundations.exceptions
import foundations.verbose
import umbra.ui.common
-from manager.qwidgetComponent import QWidgetComponentFactory
+from manager.QWidget_component import QWidgetComponentFactory
from umbra.globals.constants import Constants
-#**********************************************************************************************************************
-#*** Module attributes.
-#**********************************************************************************************************************
__author__ = "Thomas Mansencal"
__copyright__ = "Copyright (C) 2008 - 2014 - Thomas Mansencal"
__license__ = "GPL V3.0 - http://www.gnu.org/licenses/"
@@ -45,7 +33,7 @@
__all__ = ["LOGGER", "COMPONENT_UI_FILE", "ABOUT_MESSAGE", "About"]
-LOGGER = foundations.verbose.installLogger()
+LOGGER = foundations.verbose.install_logger()
COMPONENT_UI_FILE = os.path.join(os.path.dirname(__file__), "ui", "About.ui")
@@ -114,352 +102,344 @@
</center>
"""
-#**********************************************************************************************************************
-#*** Module classes and definitions.
-#**********************************************************************************************************************
-class About(QWidgetComponentFactory(uiFile=COMPONENT_UI_FILE)):
- """
- | Defines the :mod:`sibl_gui.components.addons.about.about` Component Interface class.
- | It adds the **About sIBL_GUI ...** miscellaneous menu action and provides associated **sIBL_GUI - About** window.
- | The message displayed by the **sIBL_GUI - About** window is defined by the
- :attr:`sibl_gui.components.addons.about.about.ABOUT_MESSAGE` attribute.
- """
-
- def __init__(self, parent=None, name=None, *args, **kwargs):
- """
- Initializes the class.
-
- :param parent: Object parent.
- :type parent: QObject
- :param name: Component name.
- :type name: unicode
- :param \*args: Arguments.
- :type \*args: \*
- :param \*\*kwargs: Keywords arguments.
- :type \*\*kwargs: \*\*
- """
-
- LOGGER.debug("> Initializing '{0}()' class.".format(self.__class__.__name__))
-
- super(About, self).__init__(parent, name, *args, **kwargs)
-
- # --- Setting class attributes. ---
- self.deactivatable = True
-
- self.__uiResourcesDirectory = "resources"
- self.__uiLogoImage = "sIBL_GUI_Small_Logo.png"
- self.__uiGpl3Image = "GPL_V3.png"
-
- self.__engine = None
- self.__miscellaneousMenu = None
-
- #******************************************************************************************************************
- #*** Attributes properties.
- #******************************************************************************************************************
- @property
- def uiResourcesDirectory(self):
- """
- Property for **self.__uiResourcesDirectory** attribute.
-
- :return: self.__uiResourcesDirectory.
- :rtype: unicode
- """
-
- return self.__uiResourcesDirectory
-
- @uiResourcesDirectory.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def uiResourcesDirectory(self, value):
- """
- Setter for **self.__uiResourcesDirectory** attribute.
-
- :param value: Attribute value.
- :type value: unicode
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "uiResourcesDirectory"))
-
- @uiResourcesDirectory.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def uiResourcesDirectory(self):
- """
- Deleter for **self.__uiResourcesDirectory** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "uiResourcesDirectory"))
-
- @property
- def uiLogoImage(self):
- """
- Property for **self.__uiLogoImage** attribute.
-
- :return: self.__uiLogoImage.
- :rtype: unicode
- """
-
- return self.__uiLogoImage
-
- @uiLogoImage.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def uiLogoImage(self, value):
- """
- Setter for **self.__uiLogoImage** attribute.
-
- :param value: Attribute value.
- :type value: unicode
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "uiLogoImage"))
-
- @uiLogoImage.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def uiLogoImage(self):
- """
- Deleter for **self.__uiLogoImage** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "uiLogoImage"))
-
- @property
- def uiGpl3Image(self):
- """
- Property for **self.__uiGpl3Image** attribute.
-
- :return: self.__uiGpl3Image.
- :rtype: unicode
- """
-
- return self.__uiGpl3Image
-
- @uiGpl3Image.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def uiGpl3Image(self, value):
- """
- Setter for **self.__uiGpl3Image** attribute.
-
- :param value: Attribute value.
- :type value: unicode
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "uiGpl3Image"))
-
- @uiGpl3Image.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def uiGpl3Image(self):
- """
- Deleter for **self.__uiGpl3Image** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "uiGpl3Image"))
-
- @property
- def engine(self):
- """
- Property for **self.__engine** attribute.
-
- :return: self.__engine.
- :rtype: QObject
- """
-
- return self.__engine
-
- @engine.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def engine(self, value):
- """
- Setter for **self.__engine** attribute.
-
- :param value: Attribute value.
- :type value: QObject
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "engine"))
-
- @engine.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def engine(self):
- """
- Deleter for **self.__engine** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "engine"))
-
- @property
- def miscellaneousMenu(self):
- """
- Property for **self.__miscellaneousMenu** attribute.
-
- :return: self.__miscellaneousMenu.
- :rtype: QMenu
- """
-
- return self.__miscellaneousMenu
-
- @miscellaneousMenu.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def miscellaneousMenu(self, value):
- """
- Setter for **self.__miscellaneousMenu** attribute.
- :param value: Attribute value.
- :type value: QMenu
- """
+class About(QWidgetComponentFactory(ui_file=COMPONENT_UI_FILE)):
+ """
+ | Defines the :mod:`sibl_gui.components.addons.about.about` Component Interface class.
+ | It adds the **About sIBL_GUI ...** miscellaneous menu action and provides associated **sIBL_GUI - About** window.
+ | The message displayed by the **sIBL_GUI - About** window is defined by the
+ :attr:`sibl_gui.components.addons.about.about.ABOUT_MESSAGE` attribute.
+ """
+
+ def __init__(self, parent=None, name=None, *args, **kwargs):
+ """
+ Initializes the class.
+
+ :param parent: Object parent.
+ :type parent: QObject
+ :param name: Component name.
+ :type name: unicode
+ :param \*args: Arguments.
+ :type \*args: \*
+ :param \*\*kwargs: Keywords arguments.
+ :type \*\*kwargs: \*\*
+ """
+
+ LOGGER.debug("> Initializing '{0}()' class.".format(self.__class__.__name__))
+
+ super(About, self).__init__(parent, name, *args, **kwargs)
+
+ # --- Setting class attributes. ---
+ self.deactivatable = True
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "miscellaneousMenu"))
+ self.__ui_resources_directory = "resources"
+ self.__ui_logo_image = "sIBL_GUI_Small_Logo.png"
+ self.__ui_gpl3_image = "GPL_V3.png"
+
+ self.__engine = None
+ self.__miscellaneous_menu = None
+
+ @property
+ def ui_resources_directory(self):
+ """
+ Property for **self.__ui_resources_directory** attribute.
+
+ :return: self.__ui_resources_directory.
+ :rtype: unicode
+ """
+
+ return self.__ui_resources_directory
+
+ @ui_resources_directory.setter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def ui_resources_directory(self, value):
+ """
+ Setter for **self.__ui_resources_directory** attribute.
+
+ :param value: Attribute value.
+ :type value: unicode
+ """
+
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "ui_resources_directory"))
+
+ @ui_resources_directory.deleter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def ui_resources_directory(self):
+ """
+ Deleter for **self.__ui_resources_directory** attribute.
+ """
+
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "ui_resources_directory"))
+
+ @property
+ def ui_logo_image(self):
+ """
+ Property for **self.__ui_logo_image** attribute.
+
+ :return: self.__ui_logo_image.
+ :rtype: unicode
+ """
+
+ return self.__ui_logo_image
+
+ @ui_logo_image.setter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def ui_logo_image(self, value):
+ """
+ Setter for **self.__ui_logo_image** attribute.
+
+ :param value: Attribute value.
+ :type value: unicode
+ """
+
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "ui_logo_image"))
+
+ @ui_logo_image.deleter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def ui_logo_image(self):
+ """
+ Deleter for **self.__ui_logo_image** attribute.
+ """
+
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "ui_logo_image"))
+
+ @property
+ def ui_gpl3_image(self):
+ """
+ Property for **self.__ui_gpl3_image** attribute.
+
+ :return: self.__ui_gpl3_image.
+ :rtype: unicode
+ """
+
+ return self.__ui_gpl3_image
+
+ @ui_gpl3_image.setter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def ui_gpl3_image(self, value):
+ """
+ Setter for **self.__ui_gpl3_image** attribute.
+
+ :param value: Attribute value.
+ :type value: unicode
+ """
+
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "ui_gpl3_image"))
+
+ @ui_gpl3_image.deleter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def ui_gpl3_image(self):
+ """
+ Deleter for **self.__ui_gpl3_image** attribute.
+ """
+
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "ui_gpl3_image"))
+
+ @property
+ def engine(self):
+ """
+ Property for **self.__engine** attribute.
- @miscellaneousMenu.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def miscellaneousMenu(self):
- """
- Deleter for **self.__miscellaneousMenu** attribute.
- """
+ :return: self.__engine.
+ :rtype: QObject
+ """
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "miscellaneousMenu"))
+ return self.__engine
+
+ @engine.setter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def engine(self, value):
+ """
+ Setter for **self.__engine** attribute.
- #******************************************************************************************************************
- #*** Class methods.
- #******************************************************************************************************************
- def activate(self, engine):
- """
- Activates the Component.
+ :param value: Attribute value.
+ :type value: QObject
+ """
- :param engine: Engine to attach the Component to.
- :type engine: QObject
- :return: Method success.
- :rtype: bool
- """
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "engine"))
- LOGGER.debug("> Activating '{0}' Component.".format(self.__class__.__name__))
+ @engine.deleter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def engine(self):
+ """
+ Deleter for **self.__engine** attribute.
+ """
- self.__uiResourcesDirectory = os.path.join(os.path.dirname(__file__), self.__uiResourcesDirectory)
- self.__engine = engine
- self.__miscellaneousMenu = self.__engine.toolBar.miscellaneousMenu
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "engine"))
- self.__addActions()
+ @property
+ def miscellaneous_menu(self):
+ """
+ Property for **self.__miscellaneous_menu** attribute.
- self.activated = True
- return True
+ :return: self.__miscellaneous_menu.
+ :rtype: QMenu
+ """
- def deactivate(self):
- """
- Deactivates the Component.
+ return self.__miscellaneous_menu
- :return: Method success.
- :rtype: bool
- """
+ @miscellaneous_menu.setter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def miscellaneous_menu(self, value):
+ """
+ Setter for **self.__miscellaneous_menu** attribute.
- LOGGER.debug("> Deactivating '{0}' Component.".format(self.__class__.__name__))
+ :param value: Attribute value.
+ :type value: QMenu
+ """
- self.__removeActions()
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "miscellaneous_menu"))
- self.__uiResourcesDirectory = os.path.basename(self.__uiResourcesDirectory)
- self.__engine = None
- self.__miscellaneousMenu = None
+ @miscellaneous_menu.deleter
+ @foundations.exceptions.handle_exceptions(foundations.exceptions.ProgrammingError)
+ def miscellaneous_menu(self):
+ """
+ Deleter for **self.__miscellaneous_menu** attribute.
+ """
- self.activated = False
- return True
+ raise foundations.exceptions.ProgrammingError(
+ "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "miscellaneous_menu"))
- def initializeUi(self):
- """
- Initializes the Component ui.
-
- :return: Method success.
- :rtype: bool
- """
+ def activate(self, engine):
+ """
+ Activates the Component.
- LOGGER.debug("> Initializing '{0}' Component ui.".format(self.__class__.__name__))
+ :param engine: Engine to attach the Component to.
+ :type engine: QObject
+ :return: Method success.
+ :rtype: bool
+ """
- self.initializedUi = True
- return True
+ LOGGER.debug("> Activating '{0}' Component.".format(self.__class__.__name__))
- def uninitializeUi(self):
- """
- Uninitializes the Component ui.
-
- :return: Method success.
- :rtype: bool
- """
+ self.__ui_resources_directory = os.path.join(os.path.dirname(__file__), self.__ui_resources_directory)
+ self.__engine = engine
+ self.__miscellaneous_menu = self.__engine.toolBar.miscellaneous_menu
- LOGGER.debug("> Uninitializing '{0}' Component ui.".format(self.__class__.__name__))
+ self.__add_actions()
- self.initializedUi = False
- return True
+ self.activated = True
+ return True
- def addWidget(self):
- """
- Adds the Component Widget to the engine.
+ def deactivate(self):
+ """
+ Deactivates the Component.
- :return: Method success.
- :rtype: bool
- """
+ :return: Method success.
+ :rtype: bool
+ """
- LOGGER.debug("> Adding '{0}' Component Widget.".format(self.__class__.__name__))
+ LOGGER.debug("> Deactivating '{0}' Component.".format(self.__class__.__name__))
- return True
+ self.__remove_actions()
- def removeWidget(self):
- """
- Removes the Component Widget from the engine.
+ self.__ui_resources_directory = os.path.basename(self.__ui_resources_directory)
+ self.__engine = None
+ self.__miscellaneous_menu = None
- :return: Method success.
- :rtype: bool
- """
+ self.activated = False
+ return True
- LOGGER.debug("> Removing '{0}' Component Widget.".format(self.__class__.__name__))
+ def initialize_ui(self):
+ """
+ Initializes the Component ui.
- return True
+ :return: Method success.
+ :rtype: bool
+ """
- def __addActions(self):
- """
- Sets Component actions.
- """
+ LOGGER.debug("> Initializing '{0}' Component ui.".format(self.__class__.__name__))
- LOGGER.debug("> Adding '{0}' Component actions.".format(self.__class__.__name__))
+ self.initialized_ui = True
+ return True
- self.__miscellaneousMenu.addAction(self.__engine.actionsManager.registerAction(
- "Actions|Umbra|ToolBar|Miscellaneous|About {0} ...".format(Constants.applicationName),
- slot=self.__miscellaneousMenu_aboutAction__triggered))
+ def uninitialize_ui(self):
+ """
+ Uninitializes the Component ui.
- def __removeActions(self):
- """
- Removes actions.
- """
+ :return: Method success.
+ :rtype: bool
+ """
- LOGGER.debug("> Removing '{0}' Component actions.".format(self.__class__.__name__))
+ LOGGER.debug("> Uninitializing '{0}' Component ui.".format(self.__class__.__name__))
- aboutAction = "Actions|Umbra|ToolBar|Miscellaneous|About {0} ...".format(Constants.applicationName)
- self.__miscellaneousMenu.removeAction(self.__engine.actionsManager.getAction(aboutAction))
- self.__engine.actionsManager.unregisterAction(aboutAction)
+ self.initialized_ui = False
+ return True
- def __miscellaneousMenu_aboutAction__triggered(self, checked):
- """
- Defines the slot triggered by **'Actions|Umbra|ToolBar|Miscellaneous|About {0} ...'** action.
+ def add_widget(self):
+ """
+ Adds the Component Widget to the engine.
- :param checked: Action checked state.
- :type checked: bool
- :return: Method success.
- :rtype: bool
- """
+ :return: Method success.
+ :rtype: bool
+ """
- LOGGER.debug("> Initializing '{0}' window.".format("About"))
+ LOGGER.debug("> Adding '{0}' Component Widget.".format(self.__class__.__name__))
- umbra.ui.common.setWindowDefaultIcon(self)
+ return True
- aboutMessage = ABOUT_MESSAGE.format(os.path.join(self.__uiResourcesDirectory, self.__uiLogoImage),
- Constants.version.replace(".", " . "),
- os.path.join(self.__uiResourcesDirectory, self.__uiGpl3Image))
+ def remove_widget(self):
+ """
+ Removes the Component Widget from the engine.
- self.About_label.setText(aboutMessage)
+ :return: Method success.
+ :rtype: bool
+ """
- self.show()
- return True
+ LOGGER.debug("> Removing '{0}' Component Widget.".format(self.__class__.__name__))
+
+ return True
+
+ def __add_actions(self):
+ """
+ Sets Component actions.
+ """
+
+ LOGGER.debug("> Adding '{0}' Component actions.".format(self.__class__.__name__))
+
+ self.__miscellaneous_menu.addAction(self.__engine.actions_manager.register_action(
+ "Actions|Umbra|ToolBar|Miscellaneous|About {0} ...".format(Constants.application_name),
+ slot=self.__miscellaneous_menu_aboutAction__triggered))
+
+ def __remove_actions(self):
+ """
+ Removes actions.
+ """
+
+ LOGGER.debug("> Removing '{0}' Component actions.".format(self.__class__.__name__))
+
+ aboutAction = "Actions|Umbra|ToolBar|Miscellaneous|About {0} ...".format(Constants.application_name)
+ self.__miscellaneous_menu.removeAction(self.__engine.actions_manager.get_action(aboutAction))
+ self.__engine.actions_manager.unregister_action(aboutAction)
+
+ def __miscellaneous_menu_aboutAction__triggered(self, checked):
+ """
+ Defines the slot triggered by **'Actions|Umbra|ToolBar|Miscellaneous|About {0} ...'** action.
+
+ :param checked: Action checked state.
+ :type checked: bool
+ :return: Method success.
+ :rtype: bool
+ """
+
+ LOGGER.debug("> Initializing '{0}' window.".format("About"))
+
+ umbra.ui.common.set_window_default_icon(self)
+
+ about_message = ABOUT_MESSAGE.format(os.path.join(self.__ui_resources_directory, self.__ui_logo_image),
+ Constants.version.replace(".", " . "),
+ os.path.join(self.__ui_resources_directory, self.__ui_gpl3_image))
+
+ self.About_label.setText(about_message)
+
+ self.show()
+ return True
View
0 sibl_gui/components/addons/cachesOperations/__init__.py
Sorry, we could not display the changes to this file because there were too many other changes to display.
View
422 sibl_gui/components/addons/cachesOperations/cachesOperations.py
@@ -1,422 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-
-"""
-**cachesOperations.py**
-
-**Platform:**
- Windows, Linux, Mac Os X.
-
-**Description:**
- Defines the :class:`CachesOperations` Component Interface class.
-
-**Others:**
-
-"""
-
-#**********************************************************************************************************************
-#*** Future imports.
-#**********************************************************************************************************************
-from __future__ import unicode_literals
-
-#**********************************************************************************************************************
-#*** External imports.
-#**********************************************************************************************************************
-import os
-from PyQt4.QtGui import QGridLayout
-
-#**********************************************************************************************************************
-#*** Internal imports.
-#**********************************************************************************************************************
-import foundations.exceptions
-import foundations.io
-import foundations.verbose
-import foundations.walkers
-import sibl_gui.exceptions
-import umbra.exceptions
-from manager.qwidgetComponent import QWidgetComponentFactory
-from umbra.globals.constants import Constants
-from umbra.globals.runtimeGlobals import RuntimeGlobals
-from umbra.globals.uiConstants import UiConstants
-
-#**********************************************************************************************************************
-#*** Module attributes.
-#**********************************************************************************************************************
-__author__ = "Thomas Mansencal"
-__copyright__ = "Copyright (C) 2008 - 2014 - Thomas Mansencal"
-__license__ = "GPL V3.0 - http://www.gnu.org/licenses/"
-__maintainer__ = "Thomas Mansencal"
-__email__ = "thomas.mansencal@gmail.com"
-__status__ = "Production"
-
-__all__ = ["LOGGER", "COMPONENT_UI_FILE", "CachesOperations"]
-
-LOGGER = foundations.verbose.installLogger()
-
-COMPONENT_UI_FILE = os.path.join(os.path.dirname(__file__), "ui", "Caches_Operations.ui")
-
-#**********************************************************************************************************************
-#*** Module classes and definitions.
-#**********************************************************************************************************************
-class CachesOperations(QWidgetComponentFactory(uiFile=COMPONENT_UI_FILE)):
- """
- | Defines the :mod:`sibl_gui.components.addons.cachesOperations.cachesOperations` Component Interface class.
- | It provides various methods to operate on the images caches.
- """
-
- def __init__(self, parent=None, name=None, *args, **kwargs):
- """
- Initializes the class.
-
- :param parent: Object parent.
- :type parent: QObject
- :param name: Component name.
- :type name: unicode
- :param \*args: Arguments.
- :type \*args: \*
- :param \*\*kwargs: Keywords arguments.
- :type \*\*kwargs: \*\*
- """
-
- LOGGER.debug("> Initializing '{0}()' class.".format(self.__class__.__name__))
-
- super(CachesOperations, self).__init__(parent, name, *args, **kwargs)
-
- # --- Setting class attributes. ---
- self.deactivatable = True
-
- self.__engine = None
-
- self.__scriptEditor = None
- self.__preferencesManager = None
-
- #******************************************************************************************************************
- #*** Attributes properties.
- #******************************************************************************************************************
- @property
- def engine(self):
- """
- Property for **self.__engine** attribute.
-
- :return: self.__engine.
- :rtype: QObject
- """
-
- return self.__engine
-
- @engine.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def engine(self, value):
- """
- Setter for **self.__engine** attribute.
-
- :param value: Attribute value.
- :type value: QObject
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "engine"))
-
- @engine.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def engine(self):
- """
- Deleter for **self.__engine** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "engine"))
-
- @property
- def scriptEditor(self):
- """
- Property for **self.__scriptEditor** attribute.
-
- :return: self.__scriptEditor.
- :rtype: QWidget
- """
-
- return self.__scriptEditor
-
- @scriptEditor.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def scriptEditor(self, value):
- """
- Setter for **self.__scriptEditor** attribute.
-
- :param value: Attribute value.
- :type value: QWidget
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "scriptEditor"))
-
- @scriptEditor.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def scriptEditor(self):
- """
- Deleter for **self.__scriptEditor** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "scriptEditor"))
-
- @property
- def preferencesManager(self):
- """
- Property for **self.__preferencesManager** attribute.
-
- :return: self.__preferencesManager.
- :rtype: QWidget
- """
-
- return self.__preferencesManager
-
- @preferencesManager.setter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def preferencesManager(self, value):
- """
- Setter for **self.__preferencesManager** attribute.
-
- :param value: Attribute value.
- :type value: QWidget
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is read only!".format(self.__class__.__name__, "preferencesManager"))
-
- @preferencesManager.deleter
- @foundations.exceptions.handleExceptions(foundations.exceptions.ProgrammingError)
- def preferencesManager(self):
- """
- Deleter for **self.__preferencesManager** attribute.
- """
-
- raise foundations.exceptions.ProgrammingError(
- "{0} | '{1}' attribute is not deletable!".format(self.__class__.__name__, "preferencesManager"))
-
- #******************************************************************************************************************
- #*** Class methods.
- #******************************************************************************************************************
- def activate(self, engine):
- """
- Activates the Component.
-
- :param engine: Engine to attach the Component to.
- :type engine: QObject
- :return: Method success.
- :rtype: bool
- """
-
- LOGGER.debug("> Activating '{0}' Component.".format(self.__class__.__name__))
-
- self.__engine = engine
-
- self.__scriptEditor = self.__engine.componentsManager["factory.scriptEditor"]
- self.__preferencesManager = self.__engine.componentsManager["factory.preferencesManager"]
-
- self.activated = True
- return True
-
- def deactivate(self):
- """
- Deactivates the Component.
-
- :return: Method success.
- :rtype: bool
- """
-
- LOGGER.debug("> Deactivating '{0}' Component.".format(self.__class__.__name__))
-
- self.__engine = None
-
- self.__scriptEditor = None
- self.__preferencesManager = None
-
- self.activated = False
- return True
-
- def initializeUi(self):
- """
- Initializes the Component ui.
-
- :return: Method success.
- :rtype: bool
- """
-
- LOGGER.debug("> Initializing '{0}' Component ui.".format(self.__class__.__name__))
-
- # Signals / Slots.
- self.Output_Caches_Metrics_pushButton.clicked.connect(self.__Output_Caches_Metrics_pushButton__clicked)
- self.Clear_Thumbnails_Cache_pushButton.clicked.connect(self.__Clear_Thumbnails_Cache_pushButton__clicked)
- self.Clear_Images_Caches_pushButton.clicked.connect(self.__Clear_Images_Caches_pushButton__clicked)
-
- self.initializedUi = True
- return True
-
- def uninitializeUi(self):
- """
- Uninitializes the Component ui.
-
- :return: Method success.
- :rtype: bool
- """
-
- LOGGER.debug("> Uninitializing '{0}' Component ui.".format(self.__class__.__name__))
-
- # Signals / Slots.
- self.Output_Caches_Metrics_pushButton.clicked.disconnect(self.__Output_Caches_Metrics_pushButton__clicked)
- self.Clear_Thumbnails_Cache_pushButton.clicked.disconnect(self.__Clear_Thumbnails_Cache_pushButton__clicked)
- self.Clear_Images_Caches_pushButton.clicked.disconnect(self.__Clear_Images_Caches_pushButton__clicked)
-
- self.initializedUi = False
- return True
-
- def addWidget(self):
- """
- Adds the Component Widget to the engine.
-
- :return: Method success.
- :rtype: bool
- """
-
- LOGGER.debug("> Adding '{0}' Component Widget.".format(self.__class__.__name__))
-
- self.__preferencesManager.Others_Preferences_gridLayout.addWidget(self.Caches_Operations_groupBox)
-
- return True
-
- def removeWidget(self):
- """
- Removes the Component Widget from the engine.
-
- :return: Method success.
- :rtype: bool
- """
-
- LOGGER.debug("> Removing '{0}' Component Widget.".format(self.__class__.__name__))
-
- self.__preferencesManager.findChild(QGridLayout, "Others_Preferences_gridLayout").removeWidget(self)
- self.Caches_Operations_groupBox.setParent(None)
-
- return True
-
- def __Clear_Thumbnails_Cache_pushButton__clicked(self, checked):
- """
- Defines the slot triggered by **Thumbnails_Cache_pushButton** Widget when clicked.
-
- :param checked: Checked state.
- :type checked: bool
- """
-
- self.clearThumbnailsCache()
-
- def __Clear_Images_Caches_pushButton__clicked(self, checked):
- """
- Defines the slot triggered by **Clear_Images_Caches_pushButton** Widget when clicked.
-
- :param checked: Checked state.
- :type checked: bool
- """
-
- self.clearImagesCaches()
-
- def __Output_Caches_Metrics_pushButton__clicked(self, checked):
- """
- Defines the slot triggered by **Output_Caches_Metrics_pushButton** Widget when clicked.
-
- :param checked: Checked state.
- :type checked: bool
- """
-
- self.outputCachesMetrics()
- self.__scriptEditor.restoreDevelopmentLayout()
-
- def outputCachesMetrics(self):
- """
- Outputs caches metrics.
-
- :return: Method success.
- :rtype: bool
- """
-
- separator = "{0}".format(Constants.loggingSeparators.replace("*", "-"))
- metrics = dict.fromkeys(UiConstants.thumbnailsSizes, 0)