Page 1 of 15

hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 12:32 am
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

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 2:46 am
by Rathinagiri
Hi Pritbal Bedi,

Thanks for your concern. :) Let us do as you wish.

QDateTimeEdit() - Singnals Implemented

Posted: Sat Sep 04, 2010 3:38 am
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.

QIcon() - accepts constructed pointer also

Posted: Sat Sep 04, 2010 4:28 am
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.

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 4:29 am
by Rathinagiri
Oh! You are so fast man! Thanks for the immediate action! Cool. :)

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 4:30 am
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.

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 5:42 am
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.

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 6:35 am
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 ...

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 9:08 am
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.

Re: hbQT - Post queries in this thread only

Posted: Sat Sep 04, 2010 2:13 pm
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.