digiKam
Digikam::DDateTimeEdit Class Reference
+ Inheritance diagram for Digikam::DDateTimeEdit:

Signals

void dateTimeChanged (const QDateTime &dateTime)
 

Public Member Functions

QDateTime dateTime () const
 
 DDateTimeEdit (QWidget *const parent, const QString &name)
 
QSize minimumSizeHint () const override
 
void setContentsMargins (const QMargins &margins)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setDateTime (const QDateTime &dateTime)
 
void setSpacing (int space)
 
void setStretchFactor (QWidget *const widget, int stretch)
 
QSize sizeHint () const override
 
 ~DDateTimeEdit () override
 

Protected Member Functions

void childEvent (QChildEvent *e) override
 

Detailed Description

This class is basically the same as the KDE Date Time widget with the exception that a QTimeEdit is placed directly besides it.

Constructor & Destructor Documentation

◆ DDateTimeEdit()

Digikam::DDateTimeEdit::DDateTimeEdit ( QWidget *const  parent,
const QString &  name 
)
explicit

constructor

Parameters
parentthe parent widget
namethe name of the widget

References Digikam::DDateEdit::dateChanged().

◆ ~DDateTimeEdit()

Digikam::DDateTimeEdit::~DDateTimeEdit ( )
override

destructor

Member Function Documentation

◆ childEvent()

void Digikam::DHBox::childEvent ( QChildEvent *  e)
overrideprotectedinherited

◆ dateTime()

QDateTime Digikam::DDateTimeEdit::dateTime ( ) const

returns the date and time

Returns
a QDateTime with the currently chosen date and time

Referenced by setDateTime().

◆ dateTimeChanged

void Digikam::DDateTimeEdit::dateTimeChanged ( const QDateTime &  dateTime)
signal

This signal is emitted whenever the user modifies the date or time. The passed date and time can be invalid.

◆ minimumSizeHint()

QSize Digikam::DHBox::minimumSizeHint ( ) const
overrideinherited

◆ setContentsMargins() [1/2]

void Digikam::DHBox::setContentsMargins ( const QMargins &  margins)
inherited

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintFinalPage::AdvPrintFinalPage(), Digikam::AlbumSelectTabs::AlbumSelectTabs(), Digikam::CaptionEdit::CaptionEdit(), Digikam::ColorLabelWidget::ColorLabelWidget(), Digikam::DFontSelect::DFontSelect(), Digikam::FuzzySearchView::FuzzySearchView(), DigikamGenericGeolocationEditPlugin::GeolocationEdit::GeolocationEdit(), Digikam::GPSSearchView::GPSSearchView(), DigikamGenericHtmlGalleryPlugin::HTMLFinalPage::HTMLFinalPage(), DigikamGenericHtmlGalleryPlugin::HTMLParametersPage::HTMLParametersPage(), DigikamGenericHtmlGalleryPlugin::HTMLThemePage::HTMLThemePage(), Digikam::IccProfilesSettings::IccProfilesSettings(), Digikam::ItemDescEditTab::ItemDescEditTab(), DigikamGenericJAlbumPlugin::JAlbumFinalPage::JAlbumFinalPage(), DigikamGenericSendByMailPlugin::MailFinalPage::MailFinalPage(), Digikam::MediaPlayerView::MediaPlayerView(), Digikam::PickLabelWidget::PickLabelWidget(), Digikam::QueueSettingsView::QueueSettingsView(), Digikam::RatingBox::RatingBox(), Digikam::RatingFilter::RatingFilter(), DigikamBqmWatermarkPlugin::WaterMark::registerSettingsWidget(), Digikam::SetupToolTip::SetupToolTip(), ShowFoto::ShowfotoFolderViewBar::ShowfotoFolderViewBar(), DigikamGenericSlideShowPlugin::SlideToolBar::SlideToolBar(), Digikam::TemplateSelector::TemplateSelector(), Digikam::TextFilter::TextFilter(), Digikam::TimelineSideBarWidget::TimelineSideBarWidget(), Digikam::ToolSettingsView::ToolSettingsView(), Digikam::TransactionItem::TransactionItem(), DigikamGenericVideoSlideShowPlugin::VidSlideFinalPage::VidSlideFinalPage(), and DigikamGenericUnifiedPlugin::WSFinalPage::WSFinalPage().

◆ setContentsMargins() [2/2]

void Digikam::DHBox::setContentsMargins ( int  left,
int  top,
int  right,
int  bottom 
)
inherited

◆ setDateTime()

void Digikam::DDateTimeEdit::setDateTime ( const QDateTime &  dateTime)

Sets the date and the time of this widget.

References dateTime().

◆ setSpacing()

void Digikam::DHBox::setSpacing ( int  space)
inherited

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintFinalPage::AdvPrintFinalPage(), Digikam::AlbumSelectTabs::AlbumSelectTabs(), Digikam::CaptionEdit::CaptionEdit(), Digikam::ColorLabelWidget::ColorLabelWidget(), Digikam::DFontSelect::DFontSelect(), Digikam::FuzzySearchView::FuzzySearchView(), DigikamGenericGeolocationEditPlugin::GeolocationEdit::GeolocationEdit(), Digikam::GPSSearchView::GPSSearchView(), DigikamGenericHtmlGalleryPlugin::HTMLFinalPage::HTMLFinalPage(), DigikamGenericHtmlGalleryPlugin::HTMLParametersPage::HTMLParametersPage(), DigikamGenericHtmlGalleryPlugin::HTMLThemePage::HTMLThemePage(), Digikam::IccProfilesSettings::IccProfilesSettings(), Digikam::ItemDescEditTab::ItemDescEditTab(), DigikamGenericJAlbumPlugin::JAlbumFinalPage::JAlbumFinalPage(), DigikamGenericSendByMailPlugin::MailFinalPage::MailFinalPage(), Digikam::MediaPlayerView::MediaPlayerView(), Digikam::PickLabelWidget::PickLabelWidget(), Digikam::QueueSettingsView::QueueSettingsView(), Digikam::RatingBox::RatingBox(), Digikam::RatingFilter::RatingFilter(), DigikamBqmWatermarkPlugin::WaterMark::registerSettingsWidget(), Digikam::SetupToolTip::SetupToolTip(), Digikam::TemplateSelector::TemplateSelector(), Digikam::TextFilter::TextFilter(), Digikam::TimelineSideBarWidget::TimelineSideBarWidget(), Digikam::ToolSettingsView::ToolSettingsView(), Digikam::TransactionItem::TransactionItem(), DigikamGenericVideoSlideShowPlugin::VidSlideFinalPage::VidSlideFinalPage(), and DigikamGenericUnifiedPlugin::WSFinalPage::WSFinalPage().

◆ setStretchFactor()

void Digikam::DHBox::setStretchFactor ( QWidget *const  widget,
int  stretch 
)
inherited

Referenced by DigikamGenericPrintCreatorPlugin::AdvPrintFinalPage::AdvPrintFinalPage(), DigikamGenericPrintCreatorPlugin::AdvPrintIntroPage::AdvPrintIntroPage(), Digikam::AlbumSelectTabs::AlbumSelectTabs(), Digikam::AssignNameOverlay::createWidget(), Digikam::DFileSelector::DFileSelector(), Digikam::DFontSelect::DFontSelect(), DigikamGenericExpoBlendingPlugin::ExpoBlendingLastPage::ExpoBlendingLastPage(), DigikamGenericExpoBlendingPlugin::ExpoBlendingPreProcessPage::ExpoBlendingPreProcessPage(), DigikamGenericHtmlGalleryPlugin::HTMLFinalPage::HTMLFinalPage(), Digikam::ImageQualitySettings::ImageQualitySettings(), DigikamGenericMetadataEditPlugin::IPTCContent::IPTCContent(), DigikamGenericMetadataEditPlugin::IPTCEnvelope::IPTCEnvelope(), DigikamGenericMetadataEditPlugin::IPTCStatus::IPTCStatus(), DigikamGenericJAlbumPlugin::JAlbumFinalPage::JAlbumFinalPage(), DigikamGenericJAlbumPlugin::JAlbumIntroPage::JAlbumIntroPage(), Digikam::LensFunCameraSelector::LensFunCameraSelector(), DigikamGenericSendByMailPlugin::MailFinalPage::MailFinalPage(), DigikamGenericSendByMailPlugin::MailIntroPage::MailIntroPage(), Digikam::MaintenanceDlg::MaintenanceDlg(), Digikam::MediaPlayerView::MediaPlayerView(), DigikamGenericPanoramaPlugin::PanoLastPage::PanoLastPage(), DigikamGenericPanoramaPlugin::PanoOptimizePage::PanoOptimizePage(), DigikamGenericPanoramaPlugin::PanoPreProcessPage::PanoPreProcessPage(), Digikam::QueueSettingsView::QueueSettingsView(), DigikamBqmAutoCorrectionPlugin::AutoCorrection::registerSettingsWidget(), DigikamBqmChannelMixerPlugin::ChannelMixer::registerSettingsWidget(), DigikamBqmCurvesAdjustPlugin::CurvesAdjust::registerSettingsWidget(), DigikamBqmIccConvertPlugin::IccConvert::registerSettingsWidget(), DigikamBqmUserScriptPlugin::UserScript::registerSettingsWidget(), DigikamBqmWatermarkPlugin::WaterMark::registerSettingsWidget(), Digikam::Restoration::registerSettingsWidget(), DigikamBqmFlipPlugin::Flip::registerSettingsWidget(), DigikamBqmResizePlugin::Resize::registerSettingsWidget(), DigikamBqmRotatePlugin::Rotate::registerSettingsWidget(), Digikam::SetupMime::SetupMime(), Digikam::SetupToolTip::SetupToolTip(), ShowFoto::ShowfotoFolderViewBar::ShowfotoFolderViewBar(), Digikam::TemplateSelector::TemplateSelector(), Digikam::ToolSettingsView::ToolSettingsView(), Digikam::TransactionItem::TransactionItem(), DigikamGenericVideoSlideShowPlugin::VidSlideFinalPage::VidSlideFinalPage(), DigikamGenericUnifiedPlugin::WSFinalPage::WSFinalPage(), DigikamGenericUnifiedPlugin::WSImagesPage::WSImagesPage(), and DigikamGenericUnifiedPlugin::WSIntroPage::WSIntroPage().

◆ sizeHint()

QSize Digikam::DHBox::sizeHint ( void  ) const
overrideinherited

The documentation for this class was generated from the following files: