I'm writing a Symbian application using Qt for Symbian that is supposed to run on S60 3rd edition FP1, FP2 and 5th edition phones.
In my application, I will need to implement push notification functionality that will notify the user of changes on the server. Basically, it is a pending tasks application. When a new task is assigned to th...
Hey!
I am a newcomer in the area of user interfaces. I am working now on the design of a user interface for a piece of code I have in C++ language. I've decided to use QT for creating the UI.
Now, what I am mostly concerned in is what is the proper way of separating the UI from the logic. I have some data layer, which should be acces...
I'm getting really fustrated with this...
With this simple xml:
<?xml version='1.0'?>
<root>
<data>hello</data>
</root>
And this code
QXmlQuery xquery;
xquery.setQuery( "doc('config.xml')//data" );
if( xquery.isValid() )
{
QXmlResultItems itemResult;
xquery.evaluateTo( &itemResult );
QXmlItem item( itemResult.next() );
wh...
I've a got Qt QWebView that just contains a SWF running in the embedded flash player.
i.e. the HTML looks like this:
<body style="margin: 0px; overflow:hidden; background: #FFFFFF">
<object type="application/x-shockwave-flash" data="preview.swf" width="100%" height="100%">
</object>
</body>
Everything is working ...
Hi, I am trying to develop am map application for scientific purposes at my university. Therefor I got access to a lot of tiles (256x256). I can access them and save them to an QImage in a seperate QThread. My Problem is, how can I actually manage to load the QImage into a texture within the seperate QThread (not the GUI main thread)? Or...
I have a QVBoxLayout with a few widgets in it (QTableViews). Now these QTableViews all have the same size. What can I do, that the user can change the size of one QTableView on runtime (so that 1 QTableView is bigger than the other one)? Maybe with a "seperator" which you can change with the mouse?
...
How are you meant to initialise the program using Qt embedded? At the moment I'm using QMainWindow but this means including a lot extra when configuring Qt and makes the applications a lot bigger when compiling them statically.What are you meant to use in place of QMainWindow? I don't need anything like maximise buttons - using a small s...
I think Qt IDE(Qt creater) is itself enough to develop better to best project than any other language tools, then why we go for visual studio integration. is there have any advantage in doing so, kindly give a light upon this.
thak's in advace
...
We have ported parts of Qt to a an OS that is not supported by Nokia. The port seems to work, but how can we know for sure? It would be great if there was a test suite that we could use to verify our port. Is there such a test suite available?
...
Hi, I'm using qt 4.6 porting a j2me app to native Windows mobile 6 professional.
All is working ok but my app takes about 10 seconds to startup that is too much in my opinion.
Even a simple hello world app takes about 8 seconds to start.
I've tried recompiling qt using a lot of -no-something, like this:
c:\Qt\4.6.0\configure.exe -qconfi...
After adding a new label and textEdit to a grid right above these tabs, When I generate the ui.py file with pyuic4, It generates the the following lines for many different tabs which gives errors about not having enough arguments.
self.tcTab.setTabText(self.tcTab.indexOf(self.tab_6),)
However the .ui would generate this fine before I...
I have a function which is part of a class and in this function there is a mutex.lock at the beginning of the function and a mutex.unlock just before its return. Now I have encountered a situation where the mutex is stuck in the locked state. What could be doing this if this function is the only place where I use that mutex to lock and...
I have a QSplitter with two widgets. One of them is static, the other one is supposed to change on the press of a button. But the problem is the widget does not change?
I have a pointer for the widget that is changing - this->content
The widget to switch to is in the pointer named widget.
Here's a code snippet where I switch the widge...
When I'm debugging my program, the values displayed for floating point numbers are totally wrong.
double a = 1.0;
QList<double> list;
list << a;
With this example the debbugger shows that a contains 1.0 that list contains one item, but its displayed value is rubbish (seems that is not read at the right place) -- its real value is corr...
Im trying to set background-image for QHeaderView through a stylesheet.
background-color works fine, but background-image does not.
I've used the same stylesheet on another widget and it works. But wont work on QHeaderView...
My stylesheet is:
QHeaderView::section, QHeaderView
{
background-image:url(:/topgradient.png);
backgroun...
Hi All,
I have several projects that are load together in QtCreator and they're not grouped under a unique project.
I need to create dependencies between these modules and not only considering TARGETDEPS that checks only if the library is present in a directory.
The dependency I request, practically it must emulate the user action in q...
I have a QGraphicsScene where I initially drew the background in the drawBackground() function. However, this required quite a few calculations and turned out to be pretty slow so I created a bunch of items instead. This had the expected speedup.
My question: is there a way to treat these items as the background? Would it even matter if...
Are the .pro file settings somehow accessible from within the code?
I want to use conditional compilation but I need to know whether
testlib (or whatever)
QT += testlib
is added in the project file.
thanks in advance
...
Hello Everybody,
We are trying to put scrollbar on the main widget, so if the user resizes the main window, the scrollbar appears, and let he move up and down to see child widgets that is outside the smaller window widget, allowing it to move right and left.
Here is the code for the main widget with the scroll-bar..
def centralWDG(sel...
Hi Everybody,
Here is a strange thing that is happening... I have used embedded html with Qt Python to display a form inside the GUI/Widget. The problem is, if the cell has more content, it shows a black shadow like a box on the right side of that cell/table.
Here is an example of the code working fine:
html += ("<BR><BR><table bo...