pascal snipplets
~~~~~~~~~~~~~~~~~
This is where I dump pascal snipplets I might forget about.
NOTE:
These two below pertain to various ways of accessing the
underlying Qt mechanism of LCL controls - obviously you
will need to configure your lazarus project as a Qt app
for this to work.
If you're on a non-windows platform, and you're using the Qt
build of lazarus, then this is the default, and you don't
have to change anything.
If not, you'll have to make sure to set the LCL widget set to
Qt in your project options.
(TODO: I should probably add a guide on how to do that for
people on Windows, as Lazarus does not ship with the
Qt binding DLLs on windows by default I think, but I
haven't tested given as I don't use Windows).
TEXT Lazarus: embedding a font as a resource into the application.
TEXT Lazarus: embedding a custom qt stylesheet into the application and using it.