D13769: Adjust job editing algorithm
Eric Dejouhanet
noreply at phabricator.kde.org
Wed Jun 27 20:48:30 UTC 2018
TallFurryMan created this revision.
TallFurryMan added a reviewer: mutlaqja.
Restricted Application added a project: KDE Edu.
Restricted Application added a subscriber: kde-edu.
TallFurryMan requested review of this revision.
REVISION SUMMARY
Make Scheduler watch job widgets changes properly, so that setDirty is
called appropriately. Move job edition checks before job creation to
simplify the algorithm. Clarify when add button enables.
Fix wrong QT slot connections on QDoubleSpinBox.
TEST PLAN
Job edition in the Scheduler tab.
Jobs should properly reevaluate as they are edited, as the original
algorithm was intending to. Part of the code I removed during the past
months incorrectly assumed that there was support for canceling changes
made to a SchedulerJob.
If that feature is needed, it is relatively simple to clone a backup of
the SchedulerJob when it is opened for editing, and restore that backup
when clicking on a cancel button. However, said cancel button should not
be at the same location as the job removal button for clarity of interface.
REPOSITORY
R321 KStars
BRANCH
improve__ui_adjustments (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D13769
AFFECTED FILES
kstars/ekos/scheduler/scheduler.cpp
To: TallFurryMan, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180627/8586a0e3/attachment.html>
More information about the kde-edu
mailing list