TAttachment Class

附件的展示,支持上传和下载 More...

Header: #include <TAttachment>
Inherits: QWidget and TUiInterface

Public Functions

TAttachment(QWidget *parent = nullptr)
~TAttachment()
  • 213 public functions inherited from QWidget

Public Slots

bool downloadAll(TError *oErr = nullptr)
QStringList downloadDoWork(const QVariantList &iAttachmentList, TError *oErr = nullptr)
QVariantList entryFileInfo(const QString &iDirStr)
void onAttachmentClicked(const QString &iName, const QString &iFile)
void onAttachmentRemoved(const QString &iName, const QString &iFile)
void onCameraBtnClicked()
void onDownloadBtnClicked()
void onFolderBtnClicked()
void onThumbBtnToggled(bool)
void openSharedDisk()
void refreshAttachmentState()
bool uploadAll(TError *oErr = nullptr)
QStringList uploadWork(const QVariantList &iAttachmentList, TError *oErr = nullptr)

Additional Inherited Members

Detailed Description

附件的展示,支持上传和下载

Member Function Documentation

TAttachment::TAttachment(QWidget *parent = nullptr)

Default constructs an instance of TAttachment.

TAttachment::~TAttachment()

Destroys the instance of TAttachment.

[slot] bool TAttachment::downloadAll(TError *oErr = nullptr)

[slot] QStringList TAttachment::downloadDoWork(const QVariantList &iAttachmentList, TError *oErr = nullptr)

[slot] QVariantList TAttachment::entryFileInfo(const QString &iDirStr)

[slot] void TAttachment::onAttachmentClicked(const QString &iName, const QString &iFile)

[slot] void TAttachment::onAttachmentRemoved(const QString &iName, const QString &iFile)

[slot] void TAttachment::onCameraBtnClicked()

[slot] void TAttachment::onDownloadBtnClicked()

[slot] void TAttachment::onFolderBtnClicked()

[slot] void TAttachment::onThumbBtnToggled(bool)

[slot] void TAttachment::openSharedDisk()

TAttachment::openSharedDisk 显示共享盘文件

[slot] void TAttachment::refreshAttachmentState()

[slot] bool TAttachment::uploadAll(TError *oErr = nullptr)

[slot] QStringList TAttachment::uploadWork(const QVariantList &iAttachmentList, TError *oErr = nullptr)