Class sh::ui::qt::QtFileDetailsPanel

class sh::ui::qt::QtFileDetailsPanel : public QWidget

The details panel.

Can be shown in the main window. It presents detail information about the selected file.

Public Functions

QtFileDetailsPanel(QWidget *parent = 0)
void setNodes(QList<std::shared_ptr<sh::filesystem::FilesystemNode>> nodes)
void setOrientation(Qt::Orientation orientation)
QSize sizeHint() const override
~QtFileDetailsPanel()

Private Members

int PADDINGX
int PADDINGY
QList<std::shared_ptr<sh::filesystem::FilesystemNode>> _nodes
QList<std::shared_ptr<sh::paneldetails::PanelDetail>> _panelDetails
QList<DetailPlacement> _placements
QFont fontNormal
QFont fontBold
QPixmap _widgetimagecache
QTimer _widgetimagecachetimer
Qt::Orientation _orientation = Qt::Horizontal
class DetailPlacement

Public Functions

DetailPlacement(int x, int y, int w, int h, QList<DetailRowPlacement> rowplacements, std::shared_ptr<sh::paneldetails::PanelDetail> detail)

Public Members

std::shared_ptr<sh::paneldetails::PanelDetail> detail
int x
int y
int w
int h
QList<DetailRowPlacement> rowplacements
class DetailRowPlacement

Public Functions

DetailRowPlacement(int h, int contentx, int contenty, QList<int> elementwidths)
DetailRowPlacement() = default
DetailRowPlacement(const DetailRowPlacement&) = default

Public Members

int h
int contentx
int contenty
QList<int> elementwidths