* @brief Updates the project directory used to resolve relative drawImage paths. */
| 381 | * @brief Updates the project directory used to resolve relative drawImage paths. |
| 382 | */ |
| 383 | void Widgets::PainterContext::setProjectDirectory(const QString& dir) |
| 384 | { |
| 385 | m_projectDir = dir; |
| 386 | } |
| 387 | |
| 388 | //-------------------------------------------------------------------------------------------------- |
| 389 | // Style getters |