diff options
author | Antoine Beaupré <anarcat@debian.org> | 2017-12-30 12:18:30 -0500 |
---|---|---|
committer | Antoine Beaupré <anarcat@debian.org> | 2017-12-30 12:18:30 -0500 |
commit | 88c8bd4cd2ee4707f8a43be4d89c4e040dcced2f (patch) | |
tree | 01b10a0d80509730942706333f173c5aa7f239eb /raphodo/constants.py | |
parent | c5fc6c6030d7d9d1b2af3d5165bebed3decd741b (diff) |
New upstream version 0.9.6upstream/0.9.6
Diffstat (limited to 'raphodo/constants.py')
-rw-r--r-- | raphodo/constants.py | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/raphodo/constants.py b/raphodo/constants.py index c88c18b..dbb8aa8 100644 --- a/raphodo/constants.py +++ b/raphodo/constants.py @@ -259,6 +259,7 @@ class Sort(IntEnum): file_type = 5 device = 6 + class JobCodeSort(IntEnum): last_used = 1 code = 2 @@ -293,6 +294,7 @@ class Roles(IntEnum): device_type = Qt.UserRole + 19 download_statuses = Qt.UserRole + 20 job_code = Qt.UserRole + 21 + uids = Qt.UserRole + 22 class ExtractionTask(Enum): @@ -402,6 +404,7 @@ class PrefPosition(Enum): positioned_in = 4 not_here = 5 + # Values in minutes: proximity_time_steps = [5, 10, 15, 30, 45, 60, 90, 120, 180, 240, 480, 960, 1440] @@ -440,6 +443,10 @@ FadeSteps = 20 FadeMilliseconds = 700 +# horizontal and vertical margin for thumbnail rectangles +thumbnail_margin = 10 + + def minPanelWidth() -> int: """ Minimum width of panels on left and right side of main window. @@ -498,6 +505,7 @@ class Distro(Enum): galliumos = 10 peppermint = 11 antergos = 12 + elementary = 13 orientation_offset = dict( @@ -607,4 +615,16 @@ class TreatRawJpeg(IntEnum): class MarkRawJpeg(IntEnum): no_jpeg = 1 no_raw = 2 - both = 3
\ No newline at end of file + both = 3 + + +# see https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals +class Plural(Enum): + zero = 1 + two_form_single = 2 + two_form_plural = 3 + + +# Use the character . to for download_name and path to indicate the user manually marked a +# file as previously downloaded +manually_marked_previously_downloaded = '.'
\ No newline at end of file |