20 #include <QVBoxLayout>
24 const bool reuse_widget =
true;
32 setObjectName(
"JobRealTimeWidget");
33 setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
35 auto* mainLayout =
new QVBoxLayout;
36 mainLayout->setMargin(0);
37 mainLayout->setSpacing(0);
39 setLayout(mainLayout);
56 return QSize(100, 100);
The ItemStackPresenter templated class extends ItemStackWidget so it could operate with SesionItem ed...
void setItem(U *item, bool *isNew=nullptr)
Shows the widget for given item (and hides previous one). If no widget yet exists,...
T * itemWidget(SessionItem *item)
Defines namespace GUI::Constants.
const QString JobRealTimeWidgetName
const unsigned int REALTIME_WIDGET_WIDTH_HINT