The ClockPicker plugin allows to you use the Clock Picker, which is a Bootstrap form component to handle time data, on your forms.
Home page for the lib is https://github.com/weareoutman/clockpicker and demo is at http://weareoutman.github.io/clockpicker/, where you can see example of use.
Output the database through the QDateTime class in the time format: