diff options
author | Jan Darowski <jan.darowski@gmail.com> | 2015-03-14 17:44:24 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-15 15:47:37 -0700 |
commit | 0d77b921eb11a2a013555078569c766e4d36a84f (patch) | |
tree | f9d45cc160b7bf653ad6024937e8b5adae7f5703 /qt-ui/shiftimagetimes.ui | |
parent | 7d37a3f5a65d03df917e63614a76fb95e8bc966f (diff) | |
download | subsurface-0d77b921eb11a2a013555078569c766e4d36a84f.tar.gz |
Added warning when not all images can be added.
Added label in the ShiftImageTimesDialog which appears when
not all of the selected images have timestamp in the checked range.
Made cancel button in this widget actually work.
Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/shiftimagetimes.ui')
-rw-r--r-- | qt-ui/shiftimagetimes.ui | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qt-ui/shiftimagetimes.ui b/qt-ui/shiftimagetimes.ui index cce51e888..56a222856 100644 --- a/qt-ui/shiftimagetimes.ui +++ b/qt-ui/shiftimagetimes.ui @@ -117,6 +117,31 @@ </widget> </item> <item> + <widget class="QLabel" name="warningLabel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="styleSheet"> + <string notr="true">color: red;</string> + </property> + <property name="text"> + <string>Warning! +Not all images have timestamps in the range between +30 minutes before the start and 30 minutes after the end of any selected dive.</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="invalidLabel"> + <property name="styleSheet"> + <string notr="true">color: red; </string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> |