mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-10-30 05:15:57 +00:00
7e8f9036d8
Enabled the autodoc Sphinx extension and started adding docstrings to classes, methods, etc.. It's quickly becoming quite interesting...
15 lines
742 B
Python
15 lines
742 B
Python
"""
|
|
Meta GUI elements in dupeGuru
|
|
-----------------------------
|
|
|
|
dupeGuru is designed with a `cross-toolkit`_ approach in mind. It means that its core code
|
|
(which doesn't depend on any GUI toolkit) has elements which preformat core information in a way
|
|
that makes it easy for a UI layer to consume.
|
|
|
|
For example, we have :class:`~core.gui.ResultTable` which takes information from
|
|
:class:`~core.results.Results` and mashes it in rows and columns which are ready to be fetched by
|
|
either Cocoa's ``NSTableView`` or Qt's ``QTableView``. It tells them which cell is supposed to be
|
|
blue, which is supposed to be orange, does the sorting logic, holds selection, etc..
|
|
|
|
.. _cross-toolkit: http://www.hardcoded.net/articles/cross-toolkit-software
|
|
""" |