Hi,
I am writing a browser plugin with Qt. Im currently facing a problem of getting the dom object of the current page of the browser from my plugin. Any info/help on how to do this would be extremely appreciated.
version: 4.6
browser: firefox/opera
If it isnt possible to get it directly via Qt, how do i convert the NPObject that i get ...
Hello, all.
I am programming something that needs an interface to Bash. At first I thought I could just use popen or QProcess. ( I'm using QT C++ ) They work fine but I can't get them to run Bash in a tty, which you need if you are going to use anything like sudo, which requires a tty/pty to accept a password.
I found some things like ...
I'm working on a Qt application and I have a problem with getting mouse events where I want them.
Here's a high-level view of what I have (there are other things going on at each level that dictate the need for the views and scenes):
+----------------
| App Window -- QMainWindow
| +--------------
| | View -- QGraphics...
Hi,
I am new to Visual Studio environment and QT, I am working on developing a browser plugin using QT on visual studio 2008. A 'dll' has been prepared and copied to the plugins folder of the Mozilla firefox and Internet Explorer, it works just fine, I viewed the content using the plugin in the browsers, It all started when I tried to t...
Hi -
Is there an equivalent class/method for use in Qt that resembles Cocoa's NSTokenField?
Dan;
...
I'm currently using Qt's QTextStream to read many different types (read: different extension) of text files. Each "FileReader" class I create starts to have a similar pattern where it needs to readLine() like this:
// Get the line's first word as float where each word is delimited by a comma
fileData.readLine().split(",")[0].toFloat();...
Here is an equivalent extracted code:
#include <QApplication>
#include <QWidget>
#include <QVBoxLayout>
#include <QTextBrowser>
#include <QTextEdit>
class ChatMessageEdit : public QTextEdit {
public:
ChatMessageEdit(QWidget* parent) : QTextEdit(parent) { }
virtual QSize sizeHint() const { return QSize(0, 25); }
};
int main(int...
Whats the best way to deploy a QT app? I've read the documentation hosted at trolltech but is it better to link with a static library or the dynamic libraries and have the user install the framework? I don't really want anyone using my app to have to download a 160mb framework just to run a simple gui frontend.
...
The title describes my problem quite well.
The offending line of code:
connect(table, SIGNAL(cellChanged(row, 5)), this, SLOT(updateSP()));
I can think of no reason why that signal is not valid. I googled around, and found a couple people with the same problem, but the solutions posed there don't work.
I'm using Qt 4.5.2 on Ubuntu ...
Hi all,
I would like to use the Platinum SDK in order to develop a cross platform uPnP AV Host using Qt. I can't find any documentations or wiki for this library.
Does anyone already used the Platinum SDK and have some documentations for usage? Any example is of course welcome.
Thanks
...
I like to know if its possible to use win32 keyboard hook function (SetWindowsHookEx , SetWindowsHookEx ) in a Qt application.
If possible pls provide a sample code on using SetWindowsHookEx , SetWindowsHookEx functions in Qt.
//Update as of 18 Feb 2010 //
I havent figured out how to do that in QT yet.
But as a workaround I have cre...
I'm not having an easy time making a workable mouse pointer interface on the Kindle with Qt (unofficial, of course). The fiveway joystick can't track more than one direction at a time (no diagonal moves), and the screen is too slow to update for good feedback.
I've got limited acceleration, but with the screen delay it's very frustrati...
How do i reference the dll file from the qt project. can someone give me the sample .pro file?
Thx.
...
Hello, all.
When my program gets to this line,:
pid_t nPid = forkpty( &m_nMasterFD, NULL, NULL, NULL );
it outputs this:
X Error: BadIDChoice (invalid resource ID chosen for this connection) 14
Extension: 148 (RENDER)
Minor opcode: 17 (RenderCreateGlyphSet)
Resource id: 0x3600002
<unknown>: Fatal IO error 4 (Interrupted sys...
I'm trying to keep track of the textChanged() signal on for handful of QTextEdits. I want to do the same thing regardless of the text edit emitting the signal: uncheck its associated checkbox in a QListWidget if it becomes empty and leave it checked otherwise. The function I have so for is as follows:
void MainWindow::changed()
{
QS...
I can't find a good place to start. It is such a large framework I don't know where to begin. Should it be GUI developer with Qt Creator and all of those tutorials? There are just so many... Where do you start with Qt?
P.S. Do you pronounce it "Cute"?
Edit: I have Qt Creator installed and all of the Qt documentation is built in. The pr...
How do I refernce the qjson.dll file from one of qt project?
For eg :C:\qjson-0.7.1\qjson\build\lib , in this location, I have qjson.dll and qjson.dll.a file. I want to use that dll from my qt project.How should I point to that location in that .pro file. I can't compile successful, the error that I got is
C:/QTTest/foo/foo/main.cpp:6:...
I am trying to know how Qt implements meta object compiling which enables them to provide signal slot mechanism in Qt. I am not able to finding much details in the documentation.
EDIT::I am not able to get the source code of _id = QObject::qt_metacall(_c, _id, _a);
Following is source file and corresponding moc file.
#ifndef SSOBJECT...
I'm trying to get the positions and state of QDockWidgets saved/restored when the application is exited and relaunched. The flow in my main window is as follows:
restoreState(state.toByteArray());
// Dock widget gets created
restoreDockWidget(dockWidget);
This works great excepted for one thing: if dock widgets are closed when the a...
I just started using QtCreator tonight, and it seems it puts all of the interface stuff inside of the ui file. I followed a tutorial to create a resource for my icons, then I added them to a menu bar at the top. I need to make a connection when one of them is clicked though, and cannot figure out how to make a callback for it. Am I going...