bsnes/snespurify/phoenix/qt/widget/progress-bar.cpp

14 lines
323 B
C++
Executable File

Geometry pProgressBar::minimumGeometry() {
return { 0, 0, 0, 25 };
}
void pProgressBar::setPosition(unsigned position) {
qtProgressBar->setValue(position);
}
void pProgressBar::constructor() {
qtWidget = qtProgressBar = new QProgressBar;
qtProgressBar->setRange(0, 100);
qtProgressBar->setTextVisible(false);
}