tahoma2d/toonz/sources/toonz/fileinfopopup.h
Shinya Kitaoka d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00

50 lines
1 KiB
C++

#pragma once
#ifndef FILEINFOPOPUP_H
#define FILEINFOPOPUP_H
#include "toonzqt/dvdialog.h"
#include "tgeometry.h"
// forward declaration
class QPushButton;
class QLabel;
class TFilePath;
//=============================================================================
// FileInfoPopup
//-----------------------------------------------------------------------------
class FileInfoPopup final : public DVGui::Dialog {
Q_OBJECT
typedef std::pair<std::string, std::string> StringPair;
QPushButton *m_closeBtn;
QLabel *m_nameLabel;
QLabel *m_pathLabel;
QLabel *m_sizeLabel;
QLabel *m_dataChangedLabel;
// StringPair m_name;
// StringPair m_path;
// StringPair m_size;
// StringPair m_modDate;
// std::vector<StringPair> m_attrib;
// QLabel *m_dpiLabel;
// TFilePath *m_xl;
void drawpair(TPoint p, std::pair<std::string, std::string> &StringPair);
public:
FileInfoPopup();
void configureNotify(const TDimension &size);
void draw();
void getSizeandDate(TFilePath &fp);
void raise();
};
#endif // FILEINFOPOPUP_H