iVS3D v2.0.0
Loading...
Searching...
No Matches
InfoWidget Class Reference

The InfoWidget class displays given information to the user. The information is given as key value pairs in a QMap and displayed in a table. More...

#include <infowidget.h>

Inheritance diagram for InfoWidget:

Public Member Functions

 InfoWidget (QWidget *parent=nullptr, QString title="Info", ColorTheme theme=LIGHT)
 Creates an InfoWidget with the given title up top.
 
void enableOpenMetaData (bool status, QString tooltip=QString())
 enableOpenMetaData enables "Open Meta Data" button in the widget
 
void enableOpenImages (bool status, QString tooltip=QString())
 enableInputImages enables "Open Images" button in the widget
 
void enableOpenVideo (bool status, QString tooltip=QString())
 enableInputVideo enables "Open Video" button in the widget
 
void setColorTheme (ColorTheme theme)
 setColorTheme updates text and icon colors according to a given theme
 
OperationStackgetOpStack ()
 getOpStack returns the OperationStack displayed on the InfoWidget
 

Detailed Description

The InfoWidget class displays given information to the user. The information is given as key value pairs in a QMap and displayed in a table.

Author
Dominik Wüst
Date
2021/03/03

Constructor & Destructor Documentation

◆ InfoWidget()

InfoWidget::InfoWidget ( QWidget *  parent = nullptr,
QString  title = "Info",
ColorTheme  theme = LIGHT 
)
explicit

Creates an InfoWidget with the given title up top.

Parameters
parentThe parent QWidget
titleThe text to display up top
parent
title

Creates an InfoWidget with and displays the given title at the top.

Member Function Documentation

◆ enableOpenImages()

void InfoWidget::enableOpenImages ( bool  status,
QString  tooltip = QString() 
)

enableInputImages enables "Open Images" button in the widget

Parameters
statustrue = enable

◆ enableOpenMetaData()

void InfoWidget::enableOpenMetaData ( bool  status,
QString  tooltip = QString() 
)

enableOpenMetaData enables "Open Meta Data" button in the widget

Parameters
statustrue = enable

◆ enableOpenVideo()

void InfoWidget::enableOpenVideo ( bool  status,
QString  tooltip = QString() 
)

enableInputVideo enables "Open Video" button in the widget

Parameters
statustrue = enable

◆ getOpStack()

OperationStack * InfoWidget::getOpStack ( )

getOpStack returns the OperationStack displayed on the InfoWidget

Returns
Pointer to the current OperationStack

◆ setColorTheme()

void InfoWidget::setColorTheme ( ColorTheme  theme)

setColorTheme updates text and icon colors according to a given theme

Parameters
theme

The documentation for this class was generated from the following files: