I'm modifying a splitter handle by assigning an image from a resource.
Qt Code:
  1. setStyleSheet(QString("QSplitter::handle {image: url(:/images/zoom-in.png)} \
  2. QSplitter::handle:pressed {image: url(:/images/star.png)}"));
To copy to clipboard, switch view to plain text mode 
The resource file uses locale dependent aliases.
Qt Code:
  1. <RCC>
  2. <qresource prefix="images">
  3. <file>star.png</file>
  4. <file>zoom-in.png</file>
  5. </qresource>
  6. <qresource prefix="images" lang="de">
  7. <file alias="star.png">star_de.png</file>
  8. <file alias="zoom-in.png">zoom-in_de.png</file>
  9. </qresource>
  10. <qresource prefix="images" lang="en">
  11. <file alias="star.png">star_en.png</file>
  12. <file alias="zoom-in.png">zoom-in_en.png</file>
  13. </qresource>
  14. </RCC>
To copy to clipboard, switch view to plain text mode 
This works fine as long as I do a QLocale::setDefault() at application launch (main).
Questions: Is it possible to make the style sheet consider the different images
when changing the language/locale at runtime ?

Joerg