- Posts: 221
- Joined: Sat Aug 02, 2008 5:03 pm
- Has thanked: 6 times
- Been thanked: 5 times
I'm testing the stylesheet property and I have this situation:
If the control has an style and if I want to set a new style (different at all) the old one is still there. Maybe I'm doing something wrong. Can you commit the samples, that you've created ?
Code: Select all
* to show use of stylesheet
Regards/Saludos, Carlos (bcd12a)
- Posts: 256
- Joined: Fri Nov 26, 2010 11:31 am
- Location: Piracicaba - Brasil
Code: Select all
2011-06-14 12:22 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
+ Added HMG4_Reset() function, used to reset the HMG4 environment when needed, specially when mixing console and GUI functions.
+ Added DelData method, used to remove the old name of a control from the parents object stack when it is renamed.
* Fixed minor variable names mismatch.
2011-06-14 08:24 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
* Fixed. Prevent more than one 'main' type window to be created. Assure loop execution to all window types.
[] Mauricio Ventura Faria
- Posts: 5287
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Has thanked: 178 times
- Been thanked: 196 times
Thanks a lot.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
- Posts: 109
- Joined: Wed Aug 06, 2008 5:21 pm
mrduck wrote:.ui files are xml files
.uic are "compiled .ui files", actually they are c code
hbmk2 helper functions translate .ui to .uic files (using the Qt compiler) and then reads them and translate them to prg code, compile the prg code and link it to the final executable.
So, YES, you can still use .ui files if you add them to the files hbmk2 should take care of.
Qt has a way to load .ui files directly. This means that you may change widget layouts without the need to recompile the application. hbQt supported this run-rime loading and I added support to hmg4: I could use Qt Creator to create a form and then LOAD IT AT RUN_TIME with hmg4 objects instead of Qt ones.
Now this run-time loading is no more supported due to some important changes to hbQt core code.
It may be possible to adapt my code to the ui->uic->prg process (probably is also easier to do) but I have no time in this period.
En estoy días he estado haciendo pruebas directamete con hbqt y la nueva utilidad del HbIDE "UI Source Manager", esto me ha permitido entender un poco mas el trabajo con los archivos .UI.
Estoy retomando este asunto y estoy interesado en ver como se podría trabajar HMG4 con los archivos .ui generados con el Qt Designer.
En tal sentido recurro a tu generosidad y ofrecimiento que hiciste para poder tener acceso al código que tienes trabajado para trabajar los archivos .UI con HMG4.
De Antemano, Muchas Gracias.
On days I'm been testing hbqt DIRECTLY with the new utility and HbIDE "UI Source Manager", this has allowed me to understand a little more work with the files. UI.
I am taking up this issue and I'm interested to see how it could work with the files HMG4. Ui generated with the Qt Designer.
In this regard I draw on your generosity and offering you did to gain access to the code that you have worked for work files. UI with HMG4.
In advance, Thank You.
- Posts: 809
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
- Has thanked: 116 times
- Been thanked: 203 times
i know it is a old Thread but i like to know what have happened in HMG4 (where to get ?)
i have read first 10 Page and last Page and it talk about hbQT so does HMG4 become OOP and QT
about QT : there is IMHO a Constribution which work with GTWVG and hbXbp based on QT
the OOP Way is what i like and GTWVG / hbXbp point to Xbase++ Syntax.
i hope to use my Xbase++ Source with harbour but i have a lot of API where i have to find out harbour Syntax to get it run