Questions tagged [qt-jambi]

Qt Jambi is a Java binding of the cross-platform application framework Qt. Qt Jambi is the Qt library made available to Java.

Background

Qt Jambi was first introduced on March, 2006. Since then it was maintained by Nokia. Official support for Qt Jambi by Nokia ended in March 2010, and the project is now maintained by an open source community.

More Information

Core Features

  1. Layout management
  2. Drag and drop
  3. Paint system
  4. Threading in Qt Jambi
  5. Qt Jambi supports Linux and other flavours of Unix, as well as Mac OS X and Microsoft Windows.

Qt Jambi hello world

package org.wikipedia.qt;

import com.trolltech.qt.gui.*;

public class HelloWorld {
    public static void main(String args[]) {
        QApplication.initialize(args);

        QPushButton hello = new QPushButton("Hello World!");
        hello.show();

        QApplication.exec();
    }
}

Qt Jambi Examples

Qt Jambi Examples from trolltech

Qt Jambi Documantation

See documantation by trolltech here

102 questions
1
vote
1 answer

Qt Jambi (Qt4Dotnet): distinguishing signal emitters in a slot

I'm newb to Qt and got stuck in a signal/slot mechanism. I have a toolbar with a number of tool buttons, each associated with some widget. The task is to show appropriate widget when tool button is clicked. I want to write a single slot that will…
Tony
1
vote
2 answers

Setup file for application using QT Jambi

I want to use QT Jambi for GUI (Java project). The GUI needs to have animations (similar to Iphone apps). That is why, I do not want to use Java Swing. My question is, after I develop the application, is there any automatic mechanism which would…
coolscitist
  • 3,317
  • 8
  • 42
  • 59
1
vote
4 answers

Java high level GUI application framework

This may be a stupid question, but I am quite frustareted and want to make sure: I am writing a tool, which has to have a really nice GUI (gradients, colors, rounded colors,custom tool tip....) Is there is no option to gain it easily? must I use…
sara
  • 3,824
  • 9
  • 43
  • 71
0
votes
0 answers

How to use custom Java widgets in Qt Designer UI?

I'm using Eclipse with the Qt Designer UI plugin for Qt Jambi. Everything I'm writing is in Java. My problem is the following: I've created a widget called ParentWidget, and another called ChildWidget. Now I would like to, in the Qt Designer (thus…
wen
  • 3,782
  • 9
  • 34
  • 54
0
votes
1 answer

Java Qt Jambi Eclipse Integration: How can I create a custom slot?

So I have a scrollBar and a plainTextEdit in a window automatically created. I want the text of plainTextEdit automatically changes when the value of the scrollBar is changed. This should be some easy stuff: just add a method to MainWindow to be the…
aaronqli
  • 790
  • 9
  • 26
0
votes
1 answer

NullPointerException from java.lang.J9VMInternals

I'm trying to run a slightly modified version of this Qt Jambi Hello World example but I encounter a NullPointerException tracable to my very first line of code. The only way this would be possible would seem to be if QApplication is null, but it's…
Dexygen
  • 12,287
  • 13
  • 80
  • 147
0
votes
1 answer

QGraphicsScene grid view of pixmaps

I would like to implement a "grid view" of pixmaps. This is how I would like the UI to behave: You click a button and it shows a QGraphicsView with a QGraphicsScene (done) and then I would like to show all of my QPixmaps in a grid view. I don't…
Benjamin
  • 541
  • 1
  • 9
  • 17
0
votes
2 answers

Multiple runtime exceptions in first QT Jambi application?

Hmmmm..... this is my first QT Jambi application and pretty much just an attempt to bring up a window. This is the terminal command I've used: java -XstartOnFirstThread -cp …
Benjamin
  • 541
  • 1
  • 9
  • 17
0
votes
1 answer

Qt Jambi: QTreeView with Custom Model?

I'm attempting to create a tree view in QT using Java to display something similar to + Category A | + Category AB | | Item AB | \ Item A + Category B | \ Item B \ Item with a custom QAbstractItemModel while following the guide. There seems to be…
gudenau
  • 500
  • 5
  • 19
0
votes
1 answer

findChild() in qt jambi is not working for me

i'm looking for a code snippet that uses the findChild() function in qt jambi i've looked on google but it seems that qt jambi is not well documented any way here is what i found in the documentation : public final QObject findChild(java.lang.Class…
0
votes
0 answers

Java move ui element smoothly

I`m trying to move my button upward using Thread.sleep() method in a loop. But elements just jumps to the end position after finishing the loop. QPushButton upperBill = Globals.ui.firstUpperBillPushButton; for(int i = 270; i >= -430; i -= 100) …
B.Pukhalskyi
  • 51
  • 11
0
votes
0 answers

No 'qtjambi-deployment.xml' found in classpath, loading libraries via 'java.library.path'

I am trying to install QT Jambi from Java, but I get the following error, which I do not know how to interpret. Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject. (Unknown Source) at…
0
votes
1 answer

Is Jython capable of making a QT application (and is a transition from Python worth it)?

I've built a fairly complicated application with PyQt4 and Python, but it is a pain to send to people (and once I do, they have no idea how to run it). Then there are dependencies to wrestle. Ugh. Anyways, I just learned about Jython, and since…
Blender
  • 289,723
  • 53
  • 439
  • 496
0
votes
1 answer

Convert Bufferedimage to QPixmap Java QTJambi

I am using QTJambi and I need to convert BufferedImage into QPixmap.
kahonmlg
  • 3,839
  • 3
  • 17
  • 21
0
votes
1 answer

Qt Jambi application and different operating systems

I'm starting to develop my new study project. Because I want and need to run it on different platforms (Linux and Windows) I decide to use Java. Also, because I want to learn something new - I have decided to use Qt Jambi. And here are my problems…
Infiel
  • 1
  • 2