We can select one item in the combobox, how can I make a control like the combobox,but the user can select several item in the list, the list item could like a checkbox.Please give me a clue, thanks!
We can select one item in the combobox, how can I make a control like the combobox,but the user can select several item in the list, the list item could like a checkbox.Please give me a clue, thanks!
Thank you for your quick clue.
I have download the libqxt0.4.0 and I followed the instruction on GettingStart page on http://www.libqxt.org/.
I type "configure.bat", the result is " Makefiles generated. Run nmake now".
I type "nmake", there are lots of errors. For example:
".\qxtmetaobject.h(73) : error C2062: type 'class QGenericArgument (__cdecl *)(void)' unexpected"
And I use MS Windows Xp and visual c++ 6. I am newbie to Qt, so I think the information I supply is not enough. Please give me some more insturction on how to use QXT. Thank you.
Probably nobody ever tried to compile it with such an ancient compiler as VC++ 6.0. I'd recommend switching to a compiler from this millennium... Btw, Trolltech is also planning to drop support for VC++ 6.0 sooner or later.
J-P Nurmi
calmspeaker (21st August 2008)
Hey there dude,
I guess you might want to use GCC + Eclipse + Qt integration:
Eclipse C++ : http://www.eclipse.org/downloads/dow...mede-win32.zip
Qt integration : http://trolltech.com/developer/downl...ation-download
You'll have a deeper integration and a code ready to compile if you're using Windows or Linux.
calmspeaker (21st August 2008)
calmspeaker (21st August 2008)
Only the manager could decide which compiler that our group use. Unluckily, I am not the one. So I read the src to get some hints to write my own version of CheckComboBox. Are you realise checkcombobox in the files which named Qxtcheckcombobox.cpp,Qxtcheckcombobox.h,Qxtcheckco mbobox_p.h? I mean, I see a signals declaration: void checkItemsChanged(const QStringList& items) in class QxtCheckComboBox's declaration, but I cannot find the "slot" which is connected with this signal.
Last edited by calmspeaker; 25th August 2008 at 03:19.
But someone can tell the manager he has to think about turning away from an ancient compiler that doesn't even know C++ standards and breaks every standard C++ code.
Just don't violate the licence or else mighty revenge from heaven will come upon youSo I read the src to get some hints to write my own version of CheckComboBox.
Bookmarks