If i do it i get second result agter compile, thats why i get first result after compile
And i find my how i can do it:
@ splitter->setStyleSheet("QSplitter::handle{image: url(:/images/Resources/Images/slpitter.png);}"
"QSplitter { width: 5px; }");
//splitter->setFixedWidth(3);@
the problem turned so easy :)
Many thanks for your help!!
I want to pass a QFrame holding many children (lists, buttons, labels, icons). What I want is similar to a StackedLayout in function, but with a slide view in appearance, switching from one page to another.
If you would use "QStringList":http://developer.qt.nokia.com/doc/qt-4.7/qstringlist.html directly, there are methods for filtering available. Look for filter.
Hm. I get that indirectly from
@
Q_INIT_RESOURCE( name )
@
If you use the same name twice, I would not expect two different resources to be initialized ;-)
But you're right, it should be stated explicitly. I've added doc notes to [[Doc:QDir]] (for the Q_INIT_RESOURCE macro) and [[Doc:resources]].
mlong, Gefolf can you may be see my small example ( last post in thread: http://developer.qt.nokia.com/forums/viewthread/9300/ ) and say, what I do wrong? Where can bug be??? I cann't find myself, what I do wrong in this(small) example too....
I think, that it is a compiler problem or I'm too stupid to find my bug.
Oh shuut!
I forgot to add the line
QT += network
to my project file hence this error was cropping up. Now everyhting seems to be running fine, except that I don't see any file that was downloaded.
You can use an string as the condition of switch statement, as long as the string class provide an operator such as:
bq.
operator int() const
But, you cannot code something like this!!
bq.
case "A":
From ISO C++ 6.4:
bq.
The value of a condition that is an initialized declaration in a switch statement is the value of the declared variable if it has integral or enumeration type, or of that variable implicitly converted to integral or enumeration type otherwise.
From ISO C++ 6.4.2
bq.
Any statement within the switch statement can be labeled with one or more case labels as follows:
case constant-expression :
where the constant-expression shall be an integral constant.
I'm not sure what you want to achieve. If you need the combo boxes permanently, try "QAbstractItemView::setIndexWidget() ":http://doc.qt.nokia.com/4.7/qabstractitemview.html#setIndexWidget
Thanks, I got the qt3to4 part working now.
However, now I'm stuck on porting the .ui files to Qt4.
When I attempt to execute the line "uic3 -convert mainwindow.ui > mainwindow.ui" the error message is similar to before:
"Error: Could not find rules file: q3porting.xml"
The only problem is that I can't tell the uic3 program where the rules file is. Is there another way around this?
Edit:
Never mind, I uninstalled Qt and built it from source instead. Took about 10 hours for me but at least I got the files in the right place now! Thanks for telling me about that gitorious thing bro.
Deeply, I create a QTableView and it's model. Also I create my header subclass QHeaderView and it's own model. Both of the model have their own headerData().I just suspect whether the problem are from there. any suggestions?
I want indeed a Qt app that is able to read from Outlook/"inbox" and report some of these mails in the app.
To say all, the idea behind is an app that keeps my allocated tasks I received through mails tagged with my name in the email's body message like "assigned to: myname" and put them in the application <left Todo> task list as a reminder for me. Besides, this let me put the time needed to do each tasks and report all at the end.
OK. I need advice, how to write my project. Using basic Qt library or with QXMPP.
[quote author="loladiro" date="1315496170"]Could you be more specific, what you need help with (e.g. how to generate/transmit/encrypt or sth. like that)? Because only then can we offer you advice that really helps.[/quote]
[quote author="Andre" date="1315470086"]Sounds like you are building some home brewn nested tab structure. In UI terms, even without seeing it, that is probably not a good idea. Try to see if you can think up a different solution for your UI that is less complicated to use. [/quote]
I thought that was a simple beginner thing.
Using QStackedWidget would have worked just fine, you only needed to set a layout on each of the pages in it. That would have centered your label just fine.
Did not get any messages when every error signal had it's own slot with debug output.
Yes, i wrote some kind of wrapper around QFtp which has it's internal queue and invokes next QFtp::get() only when there are no any pending operations.
Hmm. I wonder where my eyes were or what i did wrong but after a few test it seems that everything is fine. Every queued file was completely downloaded.
The only question i have now is here: http://developer.qt.nokia.com/forums/viewthread/9474/
Maybe you could take a look at it?