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) |
- 19 public slots inherited from QWidget
- 9 public slots inherited from TUiInterface
Additional Inherited Members
- 58 properties inherited from QWidget
- 3 signals inherited from QWidget
- 1 signal inherited from TUiInterface
- 5 static public members inherited from QWidget
- 35 protected functions inherited from QWidget
- 2 protected functions inherited from TUiInterface
- 1 protected slot inherited from QWidget
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 显示共享盘文件