![]() |
digiKam
|
#include <showfotoiteminfo.h>
Public Member Functions | |
bool | isNull () const |
bool | operator!= (const ShowfotoItemInfo &info) const |
bool | operator== (const ShowfotoItemInfo &info) const |
ShowfotoItemInfo ()=default | |
~ShowfotoItemInfo ()=default | |
Static Public Member Functions | |
static ShowfotoItemInfo | itemInfoFromFile (const QFileInfo &inf) |
Public Attributes | |
QDateTime | ctime |
camera date stamp | |
QDateTime | dtime |
creation time on disk | |
QString | folder |
Folder path to access to file. | |
int | height = 0 |
Image height in pixels. | |
qlonglong | id = -1 |
Unique image id. | |
QString | mime |
Type mime of file. | |
QString | name |
File name in file-system. | |
PhotoInfoContainer | photoInfo |
qint64 | size = -1 |
Static values. | |
QUrl | url |
file Url | |
int | width = 0 |
Image width in pixels. | |
|
default |
|
default |
bool ShowFoto::ShowfotoItemInfo::isNull | ( | ) | const |
Return true if all member in this container are null.
References folder, mime, name, and size.
Referenced by ShowFoto::ShowfotoThumbnailModel::data(), ShowFoto::ShowfotoCategorizedView::hintAt(), ShowFoto::ShowfotoCategorizedView::indexActivated(), and ShowFoto::ShowfotoDelegate::paint().
|
static |
bool ShowFoto::ShowfotoItemInfo::operator!= | ( | const ShowfotoItemInfo & | info | ) | const |
bool ShowFoto::ShowfotoItemInfo::operator== | ( | const ShowfotoItemInfo & | info | ) | const |
QDateTime ShowFoto::ShowfotoItemInfo::ctime |
QDateTime ShowFoto::ShowfotoItemInfo::dtime |
QString ShowFoto::ShowfotoItemInfo::folder |
Folder path to access to file.
Referenced by ShowFoto::ShowfotoFilterModel::categoryIdentifier(), ShowFoto::ShowfotoItemSortSettings::compareCategories(), ShowFoto::ShowfotoThumbnailModel::data(), ShowFoto::ShowfotoThumbnailModel::getThumbnail(), isNull(), itemInfoFromFile(), ShowFoto::operator<<(), ShowFoto::operator<<(), operator==(), and ShowFoto::operator>>().
int ShowFoto::ShowfotoItemInfo::height = 0 |
Image height in pixels.
Referenced by itemInfoFromFile(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().
qlonglong ShowFoto::ShowfotoItemInfo::id = -1 |
Unique image id.
Referenced by ShowFoto::operator<<(), ShowFoto::operator<<(), operator==(), and ShowFoto::operator>>().
QString ShowFoto::ShowfotoItemInfo::mime |
Type mime of file.
Referenced by ShowFoto::ShowfotoFilterModel::categoryIdentifier(), ShowFoto::ShowfotoItemSortSettings::compareCategories(), isNull(), itemInfoFromFile(), ShowFoto::operator<<(), ShowFoto::operator<<(), operator==(), ShowFoto::operator>>(), ShowFoto::ShowfotoDelegate::paint(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().
QString ShowFoto::ShowfotoItemInfo::name |
File name in file-system.
Referenced by ShowFoto::ShowfotoItemSortSettings::compare(), ShowFoto::ShowfotoThumbnailModel::data(), ShowFoto::ShowfotoThumbnailModel::getThumbnail(), isNull(), itemInfoFromFile(), ShowFoto::operator<<(), ShowFoto::operator<<(), operator==(), ShowFoto::operator>>(), ShowFoto::ShowfotoDelegate::paint(), ShowFoto::ShowfotoStackViewItem::setInfo(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().
PhotoInfoContainer ShowFoto::ShowfotoItemInfo::photoInfo |
qint64 ShowFoto::ShowfotoItemInfo::size = -1 |
Static values.
file size in bytes.
Referenced by ShowFoto::ShowfotoItemSortSettings::compare(), isNull(), itemInfoFromFile(), ShowFoto::operator<<(), ShowFoto::operator<<(), operator==(), ShowFoto::operator>>(), ShowFoto::ShowfotoDelegate::paint(), ShowFoto::ShowfotoStackViewItem::setInfo(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().
QUrl ShowFoto::ShowfotoItemInfo::url |
file Url
Referenced by ShowFoto::ShowfotoStackViewList::currentUrl(), ShowFoto::ShowfotoCategorizedView::currentUrl(), ShowFoto::ShowfotoThumbnailModel::data(), ShowFoto::ShowfotoItemModel::hasImage(), ShowFoto::ShowfotoItemModel::indexesForShowfotoItemInfo(), ShowFoto::ShowfotoItemModel::indexForShowfotoItemInfo(), itemInfoFromFile(), ShowFoto::ShowfotoThumbnailModel::slotThumbInfoLoaded(), and ShowFoto::ShowfotoStackViewList::urls().
int ShowFoto::ShowfotoItemInfo::width = 0 |
Image width in pixels.
Referenced by itemInfoFromFile(), and ShowFoto::ShowfotoToolTipFiller::ShowfotoItemInfoTipContents().