c++ - Qt floating widget anchoring -


i have window qt layers , widgets. have couple of floating widgets in window. "floating" mean childs of window not belong layout. these widgets serve different helper purposes, let's describe of them clarify , why i'm looking for:

  • qlabel should pop on screen center in rare cases. should overlap other "layered" widgets , on top time;
  • a couple of qsliders video volume , video progress. should appear on hover in bottom of window , overlap other "layered" widgets.

so, question how anchor these floating widgets window parts: center, bottom, top? possibility see far reimplement window's resizeevent , manually recalculate position of floating widgets, not beautiful solution.

is there way simpler , more automaticly qspaceritem? imagination draws me "z-stacked layer panes", have independent composing , shown/drawn in z-order deepest front. not supported qt.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -