hbQT - Post queries in this thread only

Moderator: Rathinagiri

Post Reply
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

hbQT - Post queries in this thread only

Post by bedipritpal »

Hello Everybody

Please post your queries related with hbQT under this thread only.

I am prompted to send this message due to extreme time constraints I have.
I cannot visit each and every topic and reply there. Now onwards I will visit this thread only.
This is the pattern I adopt on FWH forums also.

Scattered threads on single subjects are never condusive to right type of audience attention.

Hope it will not hurt your feelings
enjoy hbIDEing... Pritpal Bedi
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: hbQT - Post queries in this thread only

Post by Rathinagiri »

Hi Pritbal Bedi,

Thanks for your concern. :) Let us do as you wish.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

QDateTimeEdit() - Singnals Implemented

Post by bedipritpal »

2010-09-03 20:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/qtcore/hbqt_hbslots.cpp
* contrib/hbqt/qtcore/hbqt_hbslots.h
+ Added: signals for QDateTimeEdit() class, reuested on HMG forums.
enjoy hbIDEing... Pritpal Bedi
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

QIcon() - accepts constructed pointer also

Post by bedipritpal »

2010-09-03 21:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/utils/hbqtgen.prg
+ Implemented: QIcon() as a parameter now can be supplied as
filename, resource name, or constructed QIcon() as pointer.
Notified at HMG forums.

Since begining QIcon is passed as a string only. I do not
remember why I did it like that but it was very limiting,
though it solved our purpose well.

* contrib/hbqt/qtgui/g/QAbstractButton.cpp
* contrib/hbqt/qtgui/g/QAction.cpp
* contrib/hbqt/qtgui/g/QActionGroup.cpp
* contrib/hbqt/qtgui/g/QApplication.cpp
* contrib/hbqt/qtgui/g/QComboBox.cpp
* contrib/hbqt/qtgui/g/QListWidgetItem.cpp
* contrib/hbqt/qtgui/g/QMenu.cpp
* contrib/hbqt/qtgui/g/QMenuBar.cpp
* contrib/hbqt/qtgui/g/QStandardItem.cpp
* contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp
* contrib/hbqt/qtgui/g/QTableWidgetItem.cpp
* contrib/hbqt/qtgui/g/QTabWidget.cpp
* contrib/hbqt/qtgui/g/QToolBar.cpp
* contrib/hbqt/qtgui/g/QToolBox.cpp
* contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp
* contrib/hbqt/qtgui/g/QWidget.cpp
* Regenerated.
enjoy hbIDEing... Pritpal Bedi
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: hbQT - Post queries in this thread only

Post by Rathinagiri »

Oh! You are so fast man! Thanks for the immediate action! Cool. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Re: hbQT - Post queries in this thread only

Post by bedipritpal »

rathinagiri wrote:Hi Pritbal Bedi,

Thanks for your concern. :) Let us do as you wish.
Thanks for installing static picture.
Please don't mind, blink was really irritating.
enjoy hbIDEing... Pritpal Bedi
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: hbQT - Post queries in this thread only

Post by Rathinagiri »

bedipritpal wrote:Thanks for installing static picture.
Please don't mind, blink was really irritating.
I don't mind. I am happy that you have mentioned this. :)
bedipritpal wrote:
rathinagiri wrote:The following signals are not captured. Can this be made available?
QAbstractButton - "toggled(bool)" (For QPushButton on change event)

QGroupBox - "toggled(bool)" (For QRadioButton on change event)
"toggled(bool)" signal is already handled in hbQT. What specific problem you have ?
Sorry for reporting wrong.

'toggled(bool)' signal works properly for QAbstractButton, and not captured for QGroupBox. This is what I wanted to report.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
bedipritpal
Posts: 122
Joined: Thu Sep 02, 2010 10:47 pm

Re: hbQT - Post queries in this thread only

Post by bedipritpal »

rathinagiri wrote: 'toggled(bool)' signal works properly for QAbstractButton, and not captured for QGroupBox. This is what I wanted to report.
How you are constructng QGroupBox() ?

Here is the Qt documentation:
//
void QGroupBox::toggled ( bool on ) [signal]
If the group box is checkable, this signal is emitted when the check box is toggled. on is true if the check box is checked; otherwise it is false.


NOTE: If the group box is checkable ...
enjoy hbIDEing... Pritpal Bedi
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: hbQT - Post queries in this thread only

Post by Rathinagiri »

Again sorry for wrong reporting. :(

Instead of setting the signal to the radiobutton, I connected the signal to the GroupBox.

Now it is working fine. Thanks for pointing out.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: hbQT - Post queries in this thread only

Post by Roberto Lopez »

Pritpal,

Various users (and me) verified that images are not working in menus under Ubuntu 10.4.

It can be verified on demoqt.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply