wip
This commit is contained in:
@@ -43,10 +43,6 @@ LogoWidget::LogoWidget(QWidget *parent) : QWidget(parent) {
|
||||
// connect(&m_anim, SIGNAL(valueChanged(QVariant)), SLOT(update()));
|
||||
}
|
||||
|
||||
void BodyWindow::paintEvent(QPaintEvent *event) {
|
||||
QPainter painter(this);
|
||||
}
|
||||
|
||||
BodyWindow::BodyWindow(QWidget *parent) : fuel_filter(1.0, 5., 1. / UI_FREQ), QWidget(parent) {
|
||||
QGridLayout *layout = new QGridLayout(this);
|
||||
main_layout->setSpacing(0);
|
||||
@@ -64,6 +60,10 @@ BodyWindow::BodyWindow(QWidget *parent) : fuel_filter(1.0, 5., 1. / UI_FREQ), QW
|
||||
QObject::connect(uiState(), &UIState::uiUpdate, this, &BodyWindow::updateState);
|
||||
}
|
||||
|
||||
void BodyWindow::paintEvent(QPaintEvent *event) {
|
||||
QPainter painter(this);
|
||||
}
|
||||
|
||||
void BodyWindow::updateState(const UIState &s) {
|
||||
// if (!isVisible()) {
|
||||
// return;
|
||||
|
||||
Reference in New Issue
Block a user