Skip to content
  • 0 Votes
    6 Posts
    619 Views
    Z
    So here is my findings. Maybe someone can give me a hint Applying any styleSheet on Android shifts Z-order of QMessageBox which makes its buttons unclickable Here what is going on: //setting styleSheet to any widget breaks interactivity on Android setStyleSheet("QPushButton { }"); QMessageBox::information(this,"Check the message", "Is it clickable?" ); //it is not clickable on Android But if we manually set Z-order to the message this message becomes clickable. But further ones ARE NOT setStyleSheet("QPushButton { }"); //applying styleSheet QMessageBox msgBox; msgBox.setText("StyleSheet is set. Z-order fixed"); //set stayOnTop flag and it becomes clickable msgBox.setWindowFlags(Qt::Dialog | Qt::WindowStaysOnTopHint); msgBox.exec(); //Next message is unclickable QMessageBox::information(this,"Check next message", "Is it clickable?" ); //No it is not clickable How to restore correct Z-order for all of my windows and messages after apllying a styleSheet in Android?
  • QToolButton menu-button position

    Unsolved General and Desktop qtoolbutton stylesheets menu button
    1
    1 Votes
    1 Posts
    610 Views
    No one has replied
  • Qt icon theme switch

    Solved General and Desktop qss icon theme stylesheets
    4
    0 Votes
    4 Posts
    4k Views
    SGaistS
    Sorry for the very late reply, would it be possible to have a complete minimal compilable project to be able to test your issue ?