Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Re: Welcome to the Project Developers' Table

Post by Roberto Lopez » Tue Aug 17, 2010 8:00 pm

mol wrote:
Roberto Lopez wrote:
Finally put the code of the new properties in the control class, so, we can access it from the other controls.
....
Sorry, I don't know how :(
I've commited source\label.prg
Tomorrow, I will work on next properties.

Beginnings are difficult and very energy-intensive ;)
The code has some other problems.

I'll work on it...
Attachments
test.rar
(691.48 KiB) Downloaded 68 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Aug 17, 2010 8:37 pm

mol wrote:
Roberto Lopez wrote:
Finally put the code of the new properties in the control class, so, we can access it from the other controls.
....
Sorry, I don't know how :(
I've commited source\label.prg
Tomorrow, I will work on next properties.

Beginnings are difficult and very energy-intensive ;)
Moving backcolor and fontcolor properties not worked because you've forgot to delete these lines from label class:

DATA aBackColor INIT Nil
DATA aFontColor INIT Nil
METHOD BackColor SETGET
METHOD FontColor SETGET
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
dhaine_adp
Posts: 457
Joined: Wed Aug 06, 2008 12:22 pm
Location: Manila, Philippines
Been thanked: 2 times

Post by dhaine_adp » Tue Aug 17, 2010 8:55 pm

Hi Roberto,

I have updated (downloaded) my SVN copy of the Project files. I have installed QTSDK more than a month ago (but never read it though I played with the demos.)

I think I needed direction concerning GRID implementation. QT has this base class QAbstractItemView Class Reference which is inherrited by QColumnView, QHeaderView, QListView, QTableView, and QTreeView. Shall I inherit from the base class or the sub class QTableView?

Sorry I hope that I am not causing a delay on the project's over all progress.

Regards,

Danny
Regards,

Danny
Manila, Philippines

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Aug 17, 2010 9:09 pm

dhaine_adp wrote:Hi Roberto,

I have updated (downloaded) my SVN copy of the Project files. I have installed QTSDK more than a month ago (but never read it though I played with the demos.)

I think I needed direction concerning GRID implementation. QT has this base class QAbstractItemView Class Reference which is inherrited by QColumnView, QHeaderView, QListView, QTableView, and QTreeView. Shall I inherit from the base class or the sub class QTableView?

Sorry I hope that I am not causing a delay on the project's over all progress.

Regards,

Danny
I'm just learning QT step by step, basically from HBQT samples (complementing it with QT official reference).

So, sorry, I not 'master' QT :)

Please, take a look at HBQT demos in Harbour distribution. There are Grid and Browse implementations that can give you an idea about how to start.

There is no problem about try and error at this stage of development...
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Aug 17, 2010 10:15 pm

Hi team!

These are the latest changes (right-click->tortoiseSVN->Show log):

Revision: 72
Author: roblez
Date: 19:13:14, martes, 17 de agosto de 2010
Message:
* Show and Hide Methods implemented in control class

modified samples/editbox/demo_1.prg
modified source/control.prg


----
Modified : /samples/editbox/demo_1.prg
Modified : /source/control.prg

Revision: 71
Author: roblez
Date: 18:55:13, martes, 17 de agosto de 2010
Message:
* Visible Property implemented in control class. Look at EditBox for usage at control creation.

modified source/control.prg
modified source/editbox.prg
----
Modified : /source/control.prg
Modified : /source/editbox.prg

Revision: 70
Author: roblez
Date: 18:36:56, martes, 17 de agosto de 2010
Message:

----
Added : /TODO.TXT

Revision: 69
Author: roblez
Date: 18:29:33, martes, 17 de agosto de 2010
Message:
deleted Not.Supported.Txt
----
Deleted : /Not.Supported.Txt

Revision: 68
Author: roblez
Date: 18:21:53, martes, 17 de agosto de 2010
Message:
added Not.Supported.Txt
----
Added : /Not.Supported.Txt

Revision: 67
Author: roblez
Date: 18:01:26, martes, 17 de agosto de 2010
Message:
* Fixed backcolor/FontColor properties and label support fot them

modified samples/label/demo_1.prg
modified source/control.prg
modified source/label.prg
----
Modified : /samples/label/demo_1.prg
Modified : /source/control.prg
Modified : /source/label.prg

Revision: 66
Author: roblez
Date: 17:26:19, martes, 17 de agosto de 2010
Message:
* New batch file at root (invokes libct required by color support)

modified samples/button/build.bat
modified samples/checkbox/build.bat
modified samples/editbox/build.bat
modified samples/frame/build.bat
modified samples/grid/build.bat
modified samples/label/build.bat
modified samples/label/demo_1.prg
modified samples/spinner/build.bat
modified samples/textbox/build.bat
modified samples/window.main/build.bat
modified samples/window.modal/build.bat
modified samples/window.standard/build.bat
----
Added : /build.bat
Modified : /samples/button/build.bat
Modified : /samples/checkbox/build.bat
Modified : /samples/editbox/build.bat
Modified : /samples/frame/build.bat
Modified : /samples/grid/build.bat
Modified : /samples/label/build.bat
Modified : /samples/label/demo_1.prg
Modified : /samples/spinner/build.bat
Modified : /samples/textbox/build.bat
Modified : /samples/window.main/build.bat
Modified : /samples/window.modal/build.bat
Modified : /samples/window.standard/build.bat
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Aug 17, 2010 10:18 pm

Hi Again!

If for some reason you prefer to stop the works on a control and continue with other, please document the pending properties, events and methods in the TODO.TXT file that I've just added.

TIA.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Aug 17, 2010 10:24 pm

Nice!

I've not tested yet, but appears to be that we can now change the colors of everything!

ie, buttons:

With Object oButton7 := Button():New()
:Row := 340
:Col := 40
:Width := 230
:Height := 28
:Caption := "oButton11:BackColor := { 255 , 0 , 0 } "
:OnClick := { || oButton1:BackColor := { 255 , 0 , 0 } }
End With
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Tue Aug 17, 2010 11:04 pm

A little more done:

Revision: 74
Author: roblez
Date: 20:03:05, martes, 17 de agosto de 2010
Message:
* OnCHange Event implemented for editbox.prg

modified samples/editbox/demo_1.prg
modified source/editbox.prg
modified TODO.TXT
----
Modified : /TODO.TXT
Modified : /samples/editbox/demo_1.prg
Modified : /source/editbox.prg

Revision: 73
Author: roblez
Date: 19:30:26, martes, 17 de agosto de 2010
Message:
* Updated TODO.TXT (I've specified pending properties, events and methods from the control I'm working on (EditBox))

modified samples/editbox/demo_1.prg
modified TODO.TXT
----
Modified : /TODO.TXT
Modified : /samples/editbox/demo_1.prg

Revision: 72
Author: roblez
Date: 19:13:14, martes, 17 de agosto de 2010
Message:
* Show and Hide Methods implemented in control class

modified samples/editbox/demo_1.prg
modified source/control.prg


----
Modified : /source/control.prg
Modified : /samples/editbox/demo_1.prg

Revision: 71
Author: roblez
Date: 18:55:13, martes, 17 de agosto de 2010
Message:
* Visible Property implemented in control class. Look at EditBox for usage at control creation.

modified source/control.prg
modified source/editbox.prg
----
Modified : /source/control.prg
Modified : /source/editbox.prg
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Roberto Lopez
HMG Founder
Posts: 3980
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 27 times
Been thanked: 168 times

Post by Roberto Lopez » Wed Aug 18, 2010 1:49 am

Revision: 78
Author: roblez
Date: 22:30:31, martes, 17 de agosto de 2010
Message:
* Little fix in editbox.prg

modified samples/editbox/demo_1.prg
modified source/editbox.prg
----
Modified : /samples/editbox/demo_1.prg
Modified : /source/editbox.prg

Revision: 77
Author: roblez
Date: 22:13:32, martes, 17 de agosto de 2010
Message:
* Enabled property implemented in control class

modified samples/editbox/demo_1.prg
modified source/control.prg
----
Modified : /samples/editbox/demo_1.prg
Modified : /source/control.prg

Revision: 76
Author: roblez
Date: 21:33:24, martes, 17 de agosto de 2010
Message:
* Release Method implemented in control class.

modified samples/editbox/demo_1.prg
modified source/control.prg
modified TODO.TXT
----
Modified : /TODO.TXT
Modified : /samples/editbox/demo_1.prg
Modified : /source/control.prg

Revision: 75
Author: roblez
Date: 20:59:51, martes, 17 de agosto de 2010
Message:
* SetFocus() Method implemented in class control.prg

modified samples/editbox/demo_1.prg
modified source/control.prg
modified source/editbox.prg
modified TODO.TXT
----
Modified : /TODO.TXT
Modified : /samples/editbox/demo_1.prg
Modified : /source/control.prg
Modified : /source/editbox.prg
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Rathinagiri
Posts: 5266
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 171 times
Been thanked: 173 times
Contact:

Post by Rathinagiri » Wed Aug 18, 2010 3:15 am

Great work Roberto. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply