digiKam
|
Signals | |
void | signalItemExpanded (int index, bool b) |
void | signalItemToggled (int index, bool b) |
Public Member Functions | |
void | addItem (QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault) |
void | addItem (QWidget *const w, const QString &txt, const QString &objName, bool expandBydefault) |
void | addStretch () |
bool | checkBoxIsVisible (int index) const |
int | count () const |
int | indexOf (DLabelExpander *const widget) const |
void | insertItem (int index, QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault) |
void | insertItem (int index, QWidget *const w, const QString &txt, const QString &objName, bool expandBydefault) |
void | insertStretch (int index) |
bool | isChecked (int index) const |
bool | isItemEnabled (int index) const |
bool | isItemExpanded (int index) const |
QIcon | itemIcon (int index) const |
ItemPropertiesTab (QWidget *const parent) | |
QString | itemText (int index) const |
QString | itemToolTip (int index) const |
virtual void | readSettings (KConfigGroup &group) |
void | removeItem (int index) |
void | setCaption (const QString &str) |
void | setCheckBoxVisible (int index, bool b) |
void | setChecked (int index, bool b) |
void | setColorLabel (int colorId) |
void | setCurrentURL (const QUrl &url=QUrl()) |
void | setFileModifiedDate (const QString &str) |
void | setFileOwner (const QString &str) |
void | setFilePermissions (const QString &str) |
void | setFileSize (const QString &str) |
void | setHasSidecar (const QString &str) |
void | setImageBitDepth (const QString &str) |
void | setImageColorMode (const QString &str) |
void | setImageMime (const QString &str) |
void | setImageRatio (const QString &str) |
void | setItemDimensions (const QString &str) |
void | setItemEnabled (int index, bool enabled) |
void | setItemExpanded (int index, bool b) |
void | setItemIcon (int index, const QIcon &icon) |
void | setItemText (int index, const QString &txt) |
void | setItemToolTip (int index, const QString &tip) |
void | setPhotoAperture (const QString &str) |
void | setPhotoDateTime (const QString &str) |
void | setPhotoExposureMode (const QString &str) |
void | setPhotoExposureTime (const QString &str) |
void | setPhotoFlash (const QString &str) |
void | setPhotoFocalLength (const QString &str) |
void | setPhotoInfoDisable (const bool b) |
void | setPhotoLens (const QString &str) |
void | setPhotoMake (const QString &str) |
void | setPhotoModel (const QString &str) |
void | setPhotoSensitivity (const QString &str) |
void | setPhotoWhiteBalance (const QString &str) |
void | setPickLabel (int pickId) |
void | setRating (int rating) |
void | setTags (const QStringList &tagPaths, const QStringList &tagNames=QStringList()) |
void | setVideoAspectRatio (const QString &str) |
void | setVideoAudioBitRate (const QString &str) |
void | setVideoAudioChannelType (const QString &str) |
void | setVideoAudioCodec (const QString &str) |
void | setVideoDuration (const QString &str) |
void | setVideoFrameRate (const QString &str) |
void | setVideoInfoDisable (const bool b) |
void | setVideoVideoCodec (const QString &str) |
void | showOrHideCaptionAndTags () |
DLabelExpander * | widget (int index) const |
virtual void | writeSettings (KConfigGroup &group) |
~ItemPropertiesTab () override | |
Static Public Member Functions | |
static bool | aspectRatioToString (int width, int height, QString &arString) |
static QString | humanReadableBytesCount (qint64 bytes, bool si=false) |
static QString | permissionsString (const QFileInfo &fi) |
static void | shortenedMakeInfo (QString &make) |
static void | shortenedModelInfo (QString &model) |
static QStringList | shortenedTagPaths (const QStringList &tagPaths, QList< QVariant > *identifiers=nullptr) |
|
explicit |
References Digikam::DExpanderBox::addStretch(), and Digikam::DExpanderBox::insertItem().
|
override |
|
inherited |
Add DLabelExpander item at end of box layout with these settings : 'w' : the widget hosted by DLabelExpander. 'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).
Referenced by Digikam::DExpanderBox::addItem(), Digikam::ImportItemPropertiesTab::ImportItemPropertiesTab(), Digikam::DRawDecoderWidget::setup(), and Digikam::TemplateViewer::TemplateViewer().
|
inherited |
References Digikam::DExpanderBox::addItem().
|
inherited |
|
static |
Write a string with aspect ratio information formatted
Referenced by Digikam::TableViewColumns::ColumnItemProperties::data(), Digikam::ItemViewDelegate::drawAspectRatio(), Digikam::ToolTipFiller::imageInfoTipContents(), Digikam::ImportItemPropertiesTab::setCurrentItem(), and Digikam::ItemPropertiesSideBar::setImagePropertiesInformation().
|
inherited |
|
inherited |
|
static |
Return an human readable string of file size in 'bytes'. If 'si' is true, a decade of bytes is interpreted on base of 1000 byte, else 1024.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::TableViewColumns::ColumnFileProperties::data(), Digikam::DPluginAboutDlg::DPluginAboutDlg(), Digikam::ItemViewDelegate::drawFileSize(), Digikam::ItemViewImportDelegate::drawFileSize(), Digikam::ToolTipFiller::imageInfoTipContents(), Digikam::LibsInfoDlg::LibsInfoDlg(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ItemPropertiesSideBar::setImagePropertiesInformation(), ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents(), Digikam::ImportUI::slotUploadItems(), Digikam::FilesDownloader::startDownload(), and Digikam::FreeSpaceWidget::updateToolTip().
|
inherited |
References Digikam::DExpanderBox::count(), and Digikam::DExpanderBox::widget().
|
inherited |
Insert DLabelExpander item at box layout index with these settings : 'w' : the widget hosted by DLabelExpander. 'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).
Referenced by Digikam::DExpanderBox::insertItem(), ItemPropertiesTab(), and Digikam::ItemSelectionPropertiesTab::ItemSelectionPropertiesTab().
|
inherited |
References Digikam::DExpanderBox::insertItem().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
References Digikam::DLabelExpander::isExpanded().
|
inherited |
|
inherited |
|
inherited |
|
static |
Return file permissions string.
Referenced by Digikam::ItemPropertiesSideBar::setImagePropertiesInformation().
|
virtualinherited |
Reimplemented in Digikam::DRawDecoderWidget.
References Digikam::DExpanderBox::count(), Digikam::DLabelExpander::isExpandByDefault(), and Digikam::DLabelExpander::setExpanded().
Referenced by Digikam::ItemPropertiesSideBar::doLoadState(), and Digikam::DRawDecoderWidget::readSettings().
|
inherited |
Referenced by Digikam::DRawDecoderWidget::setup().
void Digikam::ItemPropertiesTab::setCaption | ( | const QString & | str | ) |
|
inherited |
|
inherited |
void Digikam::ItemPropertiesTab::setColorLabel | ( | int | colorId | ) |
References Digikam::ColorLabelWidget::labelColorName(), and Digikam::NoColorLabel.
void Digikam::ItemPropertiesTab::setCurrentURL | ( | const QUrl & | url = QUrl() | ) |
void Digikam::ItemPropertiesTab::setFileModifiedDate | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setFileOwner | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setFilePermissions | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setFileSize | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setHasSidecar | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setImageBitDepth | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setImageColorMode | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setImageMime | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setImageRatio | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setItemDimensions | ( | const QString & | str | ) |
|
inherited |
|
inherited |
References Digikam::DLabelExpander::setExpanded().
|
inherited |
|
inherited |
|
inherited |
void Digikam::ItemPropertiesTab::setPhotoAperture | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoDateTime | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoExposureMode | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoExposureTime | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoFlash | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoFocalLength | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoInfoDisable | ( | const bool | b | ) |
References Digikam::DExpanderBox::widget().
Referenced by Digikam::ItemPropertiesSideBar::setImagePropertiesInformation().
void Digikam::ItemPropertiesTab::setPhotoLens | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoMake | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoModel | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoSensitivity | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPhotoWhiteBalance | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setPickLabel | ( | int | pickId | ) |
References Digikam::PickLabelWidget::labelPickName(), and Digikam::NoPickLabel.
void Digikam::ItemPropertiesTab::setRating | ( | int | rating | ) |
void Digikam::ItemPropertiesTab::setTags | ( | const QStringList & | tagPaths, |
const QStringList & | tagNames = QStringList() |
||
) |
References shortenedTagPaths().
Referenced by Digikam::ItemPropertiesSideBar::setImagePropertiesInformation().
void Digikam::ItemPropertiesTab::setVideoAspectRatio | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setVideoAudioBitRate | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setVideoAudioChannelType | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setVideoAudioCodec | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setVideoDuration | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setVideoFrameRate | ( | const QString & | str | ) |
void Digikam::ItemPropertiesTab::setVideoInfoDisable | ( | const bool | b | ) |
void Digikam::ItemPropertiesTab::setVideoVideoCodec | ( | const QString & | str | ) |
|
static |
This methods shortens make an model camera info to prevent bloating GUI See bug #265231 for details.
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::SearchField::createField(), Digikam::TableViewColumns::ColumnPhotoProperties::data(), Digikam::ToolTipFiller::imageInfoTipContents(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ItemPropertiesSideBar::setImagePropertiesInformation(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().
|
static |
Referenced by Digikam::ImportToolTipFiller::CamItemInfoTipContents(), Digikam::SearchField::createField(), Digikam::TableViewColumns::ColumnPhotoProperties::data(), Digikam::ToolTipFiller::imageInfoTipContents(), Digikam::ImportItemPropertiesTab::setCurrentItem(), Digikam::ItemPropertiesSideBar::setImagePropertiesInformation(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().
|
static |
Shortens the tag paths by sorting and then cutting identical paths from the second and following paths (only the first item gives the full path). If you want to retain information about which tag path is sorted where, you can optionally give a QVariant list. This list shall contain an identifier for the tag path at the same index and will be resorted as the returned list.
References QT_SKIP_EMPTY_PARTS.
Referenced by setTags(), and Digikam::TagsCache::shortenedTagPaths().
void Digikam::ItemPropertiesTab::showOrHideCaptionAndTags | ( | ) |
References Digikam::DExpanderBox::widget().
Referenced by Digikam::ItemPropertiesSideBar::setImagePropertiesInformation().
|
signalinherited |
|
signalinherited |
|
inherited |
|
virtualinherited |
Reimplemented in Digikam::DRawDecoderWidget.
References Digikam::DExpanderBox::count(), and Digikam::DLabelExpander::isExpanded().
Referenced by Digikam::ItemPropertiesSideBar::doSaveState(), and Digikam::DRawDecoderWidget::writeSettings().