33 #include <QtCore/QCoreApplication> 34 #include <QSizePolicy> 50 m_frame->setFrameShape(QFrame::StyledPanel);
51 m_frame->setFrameShadow(QFrame::Sunken);
65 m_button->setIcon(
m_button->style()->standardIcon(QStyle::SP_TitleBarCloseButton));
82 this->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
101 QCoreApplication::processEvents();
119 QCoreApplication::processEvents();
126 QCoreApplication::processEvents();
141 m_progressBar->setValue(static_cast<te::qt::widgets::ProgressSetValueEvent*>(e)->m_value);
148 m_label->setText(static_cast<ProgressSetMessageEvent*>(e)->m_value.c_str());
The ProgressSetValueEvent is a custom event used to set a new value into a progress bar...
A custom event used to set a new message into a progress bar.
The ProgressResetEvent is a custom event used to reset a progress bar.