1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Cosmetics: Kivy __all removed.

This commit is contained in:
lb@lb520 2018-03-19 10:55:41 +01:00
parent 020ccfcce7
commit feca7b5658
17 changed files with 10 additions and 116 deletions

View file

@ -31,8 +31,6 @@ from pysollib.kivy.tkcanvas import MfxCanvasGroup, MfxCanvasImage
from pysollib.kivy.LApp import LImageItem
from pysollib.kivy.LApp import LImage
__all__ = ['Card']
# ************************************************************************
# *
# ************************************************************************

View file

@ -24,8 +24,6 @@
# Toolkit imports
from pysollib.pysoltk import MfxDialog
__all__ = ['ColorsDialog']
# ************************************************************************
# *
# ************************************************************************

View file

@ -24,8 +24,6 @@
# Toolkit imports
from pysollib.pysoltk import MfxDialog
__all__ = ['EditTextDialog']
# ************************************************************************
# *
# ************************************************************************

View file

@ -35,11 +35,6 @@
# from pysollib.settings import TITLE
__all__ = ['create_find_card_dialog',
'connect_game_find_card_dialog',
'destroy_find_card_dialog',
]
# ************************************************************************
# *
# ************************************************************************

View file

@ -24,8 +24,6 @@
# Toolkit imports
from pysollib.pysoltk import MfxDialog
__all__ = ['FontsDialog']
# ************************************************************************
# *
# ************************************************************************

View file

@ -25,10 +25,7 @@
# imports
import math
import os
# import sys
import re
# import logging
# import traceback
# PySol imports
from pysollib.mygettext import _
@ -66,8 +63,6 @@ from pysollib.kivy.LApp import LScrollView
from pysollib.kivy.LApp import LTreeRoot
__all__ = ['PysolMenubarTk']
# ************************************************************************
# * tk emuls:
# ************************************************************************

View file

@ -24,8 +24,6 @@
# Toolkit imports
from pysollib.pysoltk import MfxDialog
__all__ = ['PlayerOptionsDialog']
# ************************************************************************
# *
# ************************************************************************

View file

@ -27,8 +27,6 @@
# Toolkit imports
from pysollib.kivy.tktree import MfxTreeLeaf, MfxTreeNode, MfxTreeInCanvas
__all__ = ['SelectDialogTreeData']
# ************************************************************************
# * Nodes
# ************************************************************************

View file

@ -31,14 +31,6 @@
# from tkconst import EVENT_HANDLED
# from tkwidget import MfxDialog
__all__ = [
# 'SolverDialog',
'create_solver_dialog',
'connect_game_solver_dialog',
'destroy_solver_dialog',
'reset_solver_dialog',
]
# ************************************************************************
# *
# ************************************************************************

View file

@ -36,10 +36,6 @@ if __name__ == '__main__':
# Toolkit imports
# from pysollib.settings import WIN_SYSTEM
__all__ = ['PysolStatusbar',
'HelpStatusbar']
# ************************************************************************
# *
# ************************************************************************

View file

@ -24,8 +24,6 @@
# Toolkit imports
from pysollib.kivy.tkwidget import MfxDialog
__all__ = ['TimeoutsDialog']
# ************************************************************************
# *
# ************************************************************************

View file

@ -43,14 +43,6 @@ from kivy.clock import Clock
from kivy.graphics import Color
from kivy.graphics import Rectangle
'''
__all__ = ['MfxCanvasGroup',
'MfxCanvasImage',
'MfxCanvasText',
'MfxCanvasLine',
'MfxCanvasRectangle',
'MfxCanvas']
'''
# ************************************************************************
# * canvas items helpers
# ************************************************************************

View file

@ -19,25 +19,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# ---------------------------------------------------------------------------#
__all__ = ['EVENT_HANDLED',
'EVENT_PROPAGATE',
'CURSOR_DRAG',
'CURSOR_WATCH',
'CURSOR_DOWN_ARROW',
'ANCHOR_CENTER',
'ANCHOR_N',
'ANCHOR_NW',
'ANCHOR_NE',
'ANCHOR_S',
'ANCHOR_SW',
'ANCHOR_SE',
'ANCHOR_W',
'ANCHOR_E',
'TOOLBAR_BUTTONS',
]
# ************************************************************************
# * constants
# ************************************************************************

View file

@ -20,16 +20,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# ---------------------------------------------------------------------------#
'''
__all__ = ['SingleGame_StatsDialog',
'AllGames_StatsDialog',
'FullLog_StatsDialog',
'SessionLog_StatsDialog',
'Status_StatsDialog',
'Top_StatsDialog',
'ProgressionDialog',
]
'''
# imports
# import os
# import time

View file

@ -26,28 +26,6 @@
# emulated.
from __future__ import division
'''
__all__ = ['wm_withdraw',
'wm_map',
'setTransient',
'makeToplevel',
'make_help_toplevel',
'bind',
'unbind_destroy',
'after',
'after_idle',
'after_cancel',
# 'makeImage',
'copyImage',
'loadImage',
# 'fillImage',
'createImage',
'shadowImage',
'markImage',
'createBottom',
'get_text_width',
]
'''
# imports
import os

View file

@ -21,13 +21,8 @@
#
# ---------------------------------------------------------------------------#
__all__ = ['TclError',
'MfxRoot']
E402Fix = True
if E402Fix:
import logging
from kivy.cache import Cache
import logging
from kivy.cache import Cache
TclError = 0

View file

@ -18,20 +18,14 @@
#
# ---------------------------------------------------------------------------#
__all__ = ['PysolToolbarTk']
# imports
import os
E402Fix = True
if E402Fix:
# imports
import os
# PySol imports
# from pysollib.mfxutil import destruct
from pysollib.util import IMAGE_EXTENSIONS
from pysollib.settings import TITLE
from pysollib.winsystems import TkSettings
from pysollib.mygettext import _, n_
# PySol imports
from pysollib.util import IMAGE_EXTENSIONS
from pysollib.settings import TITLE
from pysollib.winsystems import TkSettings
from pysollib.mygettext import _, n_
# ************************************************************************
# *
@ -70,7 +64,7 @@ class AbstractToolbarButton:
# ************************************************************************
if E402Fix:
if True:
from pysollib.kivy.LApp import LImage
# from LApp import LMainWindow
from kivy.uix.boxlayout import BoxLayout