Welcome to the Project Developers' Table

Moderator: Rathinagiri

Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Welcome to the Project Developers' Table

Post by Carlos Britos »

Hi Luigi
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

+ samples\button\demo_5.prg
+ samples\button\exit.png
+ samples\label\demo_6.prg
+ samples\textbox\demo_6.prg
  * to show use of stylesheet
Regards/Saludos, Carlos (bcd12a)
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Code: Select all

2011-06-14 12:22 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  * source/application.prg
    + Added HMG4_Reset() function, used to reset the HMG4 environment when needed, specially when mixing console and GUI functions.
  * source/basic.prg
    + Added DelData method, used to remove the old name of a control from the parents object stack when it is renamed.
  * samples/button/demo_2.prg
  * samples/button/demo_3prg
    * Fixed minor variable names mismatch.

2011-06-14 08:24 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  * source/window.prg
    * Fixed. Prevent more than one 'main' type window to be created. Assure loop execution to all window types.
[[]] Mauricio Ventura Faria
User avatar
Rathinagiri
Posts: 5477
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Thanks a lot.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
gvaronas
Posts: 109
Joined: Wed Aug 06, 2008 5:21 pm

Re: Welcome to the Project Developers' Table

Post by gvaronas »

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.

Francesco
Hola Francesco:
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.


[ENG Google]
Hi Francesco:
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.


BestRegards
GVS
User avatar
AUGE_OHR
Posts: 2092
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Welcome to the Project Developers' Table

Post by AUGE_OHR »

hi,

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
have fun
Jimmy
Post Reply