Re: [Qt-jambi-interest] Compiling jambi from src on Ubuntu 7.04

2008-03-05 Thread Eskil Abrahamsen Blomfeldt
Helge Fredriksen wrote: > Ouch, it seems that I forgot to copy the standard Qt libs into the lib > directory of Jambi. My fault. Strange it worked at all, though If there are any Qt libs in your LD_LIBRARY_PATH then these will be used by Qt Jambi, but the ones in the lib directory or in the

Re: [Qt-jambi-interest] Qt Jambi 4.4.0 Preview

2008-03-12 Thread Eskil Abrahamsen Blomfeldt
Hi, Felix. Felix Berger wrote: > it looks like the new qt eclipse integration tar file only contains > jars but not the native libraries that were still shipped with > qtjambi-eclipse-integration-linux-4.3.3_01.tar.gz. I'm also > experiencing problems getting the new webview component to show, so

Re: [Qt-jambi-interest] [Qt Jambi 4.4] QFile bug

2008-03-13 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: > > So it seems that the "classpath:" functionality is broken in Qt Jambi > 4.4. Did something changed in Qt Jambi 4.4? Yes, the classpath file engine went through some rewrites and optimizations in Qt Jambi 4.4, so I'm guessing this is related to those.

Re: [Qt-jambi-interest] Qt Jambi 4.4.0 Preview

2008-03-13 Thread Eskil Abrahamsen Blomfeldt
Hi, Felix. Felix Berger wrote: > thanks, I got it to work successfully though eclipse crashed on me > when entering a url for the webview component. An undefined symbol in > the qt network lib. I'll send a bug report if I can reproduce it. > Thank you :-) If the VM saves a hs_err_.log file dur

Re: [Qt-jambi-interest] [Qt Jambi 4.4] WebKit not working...

2008-03-13 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > Hi, > > I've downloaded the Qt Jambi 4.4 preview for Windows. When I try to > create a QWebView, I'm getting the error specified below. Does someone > has a clue of what is going wrong and how the problem can be solved? Hi, Dimitri and thank you for the report. The p

[Qt-jambi-interest] Qt Jambi team away during next week

2008-03-14 Thread Eskil Abrahamsen Blomfeldt
Hi, group. This is just a brief notice that the Qt Jambi Team will not be present at work the coming week (March 17th - March 21st), so please don't expect our assistance on this mailing list until March 24th at the earliest. When we're back, we'll do our best to address any issues that have

Re: [Qt-jambi-interest] open and show image from .jpg file

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Dawid. Dawid Sip wrote: > Yes, this hint finally helped solve the problem. Since there was nothink > like this in the install instructions I recommend to make this notion > for users in the next release. > > >> Try installing qtjambi to some path that doesn't conatin whitespaces. >> Then

Re: [Qt-jambi-interest] Deploying qt-jambi-based applications + non-qt libraries

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Bartko, Zoltan wrote: > So if I use the first approach (c++ lib + Qt-glue + Jambi glue + java), do > I a) have to recompile all of Jambi to get a platform-specific jar file > or > b) is there any way to have a directory, where I would have the > platform-specific libraries of hunspell + qt? > a

Re: [Qt-jambi-interest] TrayIcon with invisible window.

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Benji. Benji Weber wrote: > Desired behaviour is that the programme will keep running, but I do > not wish to have a window visible when there is not a message. > > I am using qtjambi-linux64-preview-4.4.0_01. > > I would appreciate if you could point out how I am doing it wrong. > > Excus

Re: [Qt-jambi-interest] TrayIcon with invisible window.

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Benji. Benji Weber wrote: > This does indeed solve the problem. There is another problem I > encountered which is that the tray icon message is not properly > positioned next to the tray icon if shown immediately after displaying > the tray icon. It ends up being positioned near the middle of

Re: [Qt-jambi-interest] [Qt Jambi 4.4] Can't add VideoPlayer to graphics view (scene)

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: > I want to add the VideoPlayer to my graphics view, but it is not > working. When I add a VideoPlayer to a scene, the following error is > printed out to the console: > > QGraphicsProxyWidget::setWidget: cannot embed widget 0x1e259750 that > is not a wind

Re: [Qt-jambi-interest] sqlite JDBC ?

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Bruno. Bruno Janvier wrote: > I have spent time testing jambi 4.4 preview and I was disappointed to > see the sqlite dll disappear from the distribution. I understand that > it was certainly removed due to the new QJdbc facility. > > I have tried the following JDBC driver : http://www.zentus

Re: [Qt-jambi-interest] [Qt Jambi 4.4] Can't add VideoPlayerto graphics view (scene)

2008-03-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: > Two weeks ago you posted in the newsgroups a new jar file for Mac OS X > because in the preview version phonon was not working. I'm using that > version of Qt Jambi. Based on your feedback I looked back to the code I > have and come to the following conc

Re: [Qt-jambi-interest] [Qt Jambi 4.4] Can't addVideoPlayerto graphics view (scene)

2008-03-26 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: >I've removed the line: >videoPlayer.setParent(. > >But removing this line still generate the error: >GraphicsProxyWidget::setWidget: cannot embed widget 0x1ec1b6e0 that is not a >window > > Ah, I see now that you are using the VideoPlayer class. The video widget

Re: [Qt-jambi-interest] Icon problem

2008-03-26 Thread Eskil Abrahamsen Blomfeldt
Bruno Janvier wrote: >yes Dimitri. It did work when the icon was placed in an external jar. >I hope this bug will be fixed. > > This bug will definitely be fixed for the final release. Could I ask on which platform it happens, and what version of Java you are using please? -- Eskil _

Re: [Qt-jambi-interest] [Qt Jambi 4.4] Can't addVideoPlayerto graphics view (scene)

2008-03-26 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > Later today I will try to compile Qt with QtJambi and see if that > solves the qgraphics bug. But I have a small question about that. Two > weeks ago you posted a link to a now jar-file for mac os x because in > the original one there was a bug for phonon. If I downlo

Re: [Qt-jambi-interest] [Qt Jambi 4.4] OpenGL issues

2008-03-26 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > The reason that I want to use OpenGL for rendering is SVG. I have some large > animated SVG files I want to show in high definition. When I don't use > OpenGL, > my animations are not fluent. From time to time the animation stops for a few > milli seconds, and then g

Re: [Qt-jambi-interest] [Qt Jambi 4.4] building from source

2008-03-27 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: > OK, it seems that the problem was related to the Qt 4.4 beta that I had > installed. It was always using that qmake, so I added my own compiled Qt bin > directory on the PATH and that solved the problem, but not I'm getting the > following errors: > >

Re: [Qt-jambi-interest] [Qt Jambi 4.4] building from source

2008-03-27 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > OK, it seems that the problem was related to the Qt 4.4 beta that I had > installed. It was always using that qmake, so I added my own compiled Qt bin > directory on the PATH and that solved the problem, but not I'm getting the > following errors: > Sorry, just a

Re: [Qt-jambi-interest] problems with WebKit and proxy

2008-03-27 Thread Eskil Abrahamsen Blomfeldt
Fernando Rosado Altamirano wrote: > > I obtaind : > UNEXPECTED RESPONSE: [HTTP/1.0 403 Forbidden > ... > X-Squid-Error: ERR_ACCESS_DENIED 0 This is a message from the proxy server and seems to mean that something in your Squid configuration is denying your application access. Are you sure it's

Re: [Qt-jambi-interest] [Qt Jambi 4.4] building from source

2008-03-28 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: Damn, no luck in compiling Qt Jambi. First I compiled Qt 4.4 without a problem, after the compilation I started ant for Qt Jambi. Hi, Dimitri. This compile error is due to some last minute API changes made in the XML patterns module in Qt. I've attached a patch

Re: [Qt-jambi-interest] [Qt Jambi 4.4] QFile bug

2008-03-28 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > I'm creating a QFile and with the constructor I'm passing the location > of the file: > > QFile stylesheetFile = new QFile("classpath:stylesheets/default.css"); > > When I call the method: > stylesheetFile.open(QIODevice.OpenModeFlag.ReadOnly); > > the method returns fa

Re: [Qt-jambi-interest] Icon problem

2008-03-28 Thread Eskil Abrahamsen Blomfeldt
Hi, Bruno. I've tracked down your bug in QIcon, and wanted to let you know about a possible work around for you that you can use until the bugfixed Qt Jambi is released. Replace the following line in your code: Bruno Janvier wrote: >but.setIcon(new > QIcon("classpath:images/iconshock/4

Re: [Qt-jambi-interest] Problems with OS X

2008-03-30 Thread Eskil Abrahamsen Blomfeldt
Stephan Seufert wrote: > Hi folks, > > Qtjambi keeps crashing on my OS X Leopard machine without a message, > just with exit value 1. At the start of the program the following > notice comes up: > > WARNING: QApplication was not created in the main() thread. > When you launch your applicati

Re: [Qt-jambi-interest] [Qt Jambi 4.4] building from source

2008-03-31 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > problem as the 4.4 preview version: I can't play movies in a graphics view. > But > it seems there is now another problem. I can now see that the MovieWidget is > added to the graphics view (which was not the case before), because that area > in > my scene has now a

Re: [Qt-jambi-interest] [Qt Jambi 4.4] building from source

2008-04-01 Thread Eskil Abrahamsen Blomfeldt
Eskil Abrahamsen Blomfeldt wrote: > Dimitri Frederickx wrote: > >> problem as the 4.4 preview version: I can't play movies in a graphics view. >> But >> it seems there is now another problem. I can now see that the MovieWidget is >> added to the graphics

Re: [Qt-jambi-interest] QActionGroup and QActions

2008-04-02 Thread Eskil Abrahamsen Blomfeldt
Dawid Sip wrote: public void mm(){ gr = new QActionGroup(this); mono_stereoGroup.addAction(ui.action_Stereo); mono_stereoGroup.addAction(ui.action_Mono); //ui.toolBar.addActions(gr.actions()); } " where as you can see I create a group and add the two actions that I create

Re: [Qt-jambi-interest] Character encoding problem.

2008-04-03 Thread Eskil Abrahamsen Blomfeldt
Tomasz 'Trog' Welman wrote: >I am running linux and iso-8859-2 as my base encoding. I've written an app >in Qt Jambi, which parses some files, and displays their contents. These >files are always in iso-8859-2 encoding. Everything works fine. > > > [...] >Can You propose some solution(s) to th

Re: [Qt-jambi-interest] [Qt Jambi 4.4] QWebView geometry bug on Windows

2008-04-04 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: I've created a QGraphicsView with a scene. When I create a QWebView with a specified width and heigth (setting geometry) and add this to the scene, the specified width is not taken into account on Windows. I have been unable to reproduce this on Windo

Re: [Qt-jambi-interest] [QT Jambi 4.4] Pointer not made hidden

2008-04-04 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: > When I start up my application, I execute the following code: > QApplication.setOverrideCursor(new > QCursor(Qt.CursorShape.BlankCursor)); > > After this I create a QGraphicsView. > > Although I've overridden the cursor to a blank cursor, the cursor is >

Re: [Qt-jambi-interest] codecForTr

2008-04-06 Thread Eskil Abrahamsen Blomfeldt
Hi, Tomasz. Tomasz 'Trog' Welman wrote: > What is the explanation for the absence of codecForTr/setCodecForTr > in Qt Jambi? > I believe this is because tr() is used with strings (so that they can be automatically detected as translatable) and Java strings are always encoded in 16-bit unicod

Re: [Qt-jambi-interest] [Qt Jambi 4.4] QWebView geometry bug onWindows

2008-04-07 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > isn't. It seems that the maximum width of my QWebView is the screen > resolution (1152 px) instead of HD width (1920 px). > > Can you check if this is also the behavior on your machine? > Hi, Dimitri. Yes, I can in fact reproduce this bug by adding any type of widg

Re: [Qt-jambi-interest] eclipse & jambi integration plugin

2008-04-07 Thread Eskil Abrahamsen Blomfeldt
Dawid Sip wrote: > does anyone work with eclipse and the integration plugin for qt-jambi? I > for one, am using this setup: eclipse 3.3.2 + > qtjambi-eclipse-integration-win32-4.3.3_01-mingw. Unfortunately this > works only ones per installation. That means I install eclipse and the > plugin, t

Re: [Qt-jambi-interest] codecForTr

2008-04-07 Thread Eskil Abrahamsen Blomfeldt
Hi, Tomasz. Tomasz 'Trog' Welman wrote: I've just one problem. QTextCodec.codecForLocale() returns "System", which is... annoying, because when I run an application (having utf-8 as my base encoding), which reads iso2 files into string, converts this string to unicode, and then (from unicode)

Re: [Qt-jambi-interest] [Qt Jambi 4.4] Release candidate

2008-04-09 Thread Eskil Abrahamsen Blomfeldt
Dimitri Frederickx wrote: > Recently a Release Candidate of Qt 4.4 was made available. Will this > also be made available for Qt Jambi 4.4? If so, this would be great > news, because I have the feeling that a lot of bug fixing has been > done since the technology preview of Qt Jambi was released

Re: [Qt-jambi-interest] Adding resources from classpath in Eclipse

2008-04-09 Thread Eskil Abrahamsen Blomfeldt
Hi, Markus. Markus Walser wrote: > Yesterday I tried the same under WinXP. There I could suddenly select > my icons from the classpath. > I had to wait a few seconds on the "Choose Resource" dialog. Then an > animated image started rotating > and the icons appeared. > > I commited the project an

Re: [Qt-jambi-interest] resize inner borders of GridLayout?

2008-04-10 Thread Eskil Abrahamsen Blomfeldt
Hi, Dawid. Dawid Sip wrote: > where [] corresopnds to dockWidet and | and to the borders. Now I > wish to be able to resize the inner borders freely. I looked for a > method which sets such behavior but it seems that there is non. Is it > possible to achieve this behavior with this widget

Re: [Qt-jambi-interest] QStandardItemModel formatting

2008-04-14 Thread Eskil Abrahamsen Blomfeldt
Danny Sporea wrote: In the table, the 2 rows appear as "10" and "10.32". Is there any way to format "10" to appear as "10.00" ? I don't want to set it up as a String, since using Double creates an edit spin box in that cell that allows only numeric values, as opposed to the String that is just a

Re: [Qt-jambi-interest] Widget Size 0?

2008-04-14 Thread Eskil Abrahamsen Blomfeldt
Hi, Dawid. Dawid Sip wrote: > I dondt know why after putting first dockWidget into a Splitter and > getting size of that dockWidget i get 0 for width and for height, but > after putting a second dockWid into the Splitter and again getting the > size immediately after the addition i get the righ

Re: [Qt-jambi-interest] Adding resources from classpath in Eclipse

2008-04-14 Thread Eskil Abrahamsen Blomfeldt
Hi, Markus. Markus Walser wrote: > Negative. No change in eclipse. And what's even worse, although > qt-desiger's resource browser seems working, it lists > only trolltech's icons. Even if I specify the absolute path to my > icons, they don't appear. Thanks. I found a bug in the class path eng

Re: [Qt-jambi-interest] Attaching menu bars to widgets

2008-04-15 Thread Eskil Abrahamsen Blomfeldt
Gregor Mückl wrote: 1. Can this be done with Qt Jambi at all without implementing an own menu bar? Yes. 2. If so, could you roughly sketch how this would work? I've attached a brief example to this mail. Since any widget in Qt Jambi can be a child widget, there are different ways of

Re: [Qt-jambi-interest] Widget Size 0?

2008-04-15 Thread Eskil Abrahamsen Blomfeldt
Dawid Sip wrote: I understand that the resizeEvent is propageted like this: MainWindow ->Splitter -->dockWidget --->GraphicsView >GraphicsScene ->Image So my guess is that I have to reimplement resizeEvent of the GraphicsScene, where i c

Re: [Qt-jambi-interest] Widget Size 0? How to show large pixmpa in a small viewport without loosing pixmap data

2008-04-17 Thread Eskil Abrahamsen Blomfeldt
Hi, Dawid. Dawid Sip wrote: GraphicsView -pos(150,200) I can transform this down to the item and get somethink like pos(1250x1000). So I somehow need to adjust the projection. I think this is an issue of the viewport. I think I could achieve this by changing the viewport to QGLWidget and with

Re: [Qt-jambi-interest] eclipse problem with preview 4.4?

2008-04-21 Thread Eskil Abrahamsen Blomfeldt
Hi, Mark. Mark wrote: > I'm using eclipse 3.3.2 on Windows XP Home and I get a > NullPointerException now whenever I try to use the designer (it was ok > when I was using 4.3.4). The details are below. > > I've tried using variations on designer.bat or set_qtjambi_env.bat to > start eclipse wit

Re: [Qt-jambi-interest] eclipse problem with preview 4.4?

2008-04-23 Thread Eskil Abrahamsen Blomfeldt
Hi, Mark. Mark wrote: > This seems the same as before so not sure it helps any :-( > > An error occurs whenever I try and open a designer window, whether > it's when I start Eclipse, or open an existing .jui file in the > project, or try to create a new one. > Looking at the error I would expec

Re: [Qt-jambi-interest] eclipse problem with preview 4.4?

2008-04-24 Thread Eskil Abrahamsen Blomfeldt
Hi, Mark. Mark wrote: > Eclipse gave some errors (not surprising) when I changed it to an > invalid path, and then I changed it back and restarted ... and it > worked fine! (Well, I haven't done much with the Designer tonight > since I was looking at database stuff but it seemed ok with a quick

Re: [Qt-jambi-interest] jui generated java files

2008-04-24 Thread Eskil Abrahamsen Blomfeldt
Hi, Thomas. Thomas Coopman wrote: > I have a question about the jui generated java files. > In my system, I want to create QWidget from jui generated java files > dynamically. I have a JuiWidgetConstructor class for that, but > because the generated jui java files don't implement an interface, so

Re: [Qt-jambi-interest] Question

2008-04-24 Thread Eskil Abrahamsen Blomfeldt
Hello, Oscar. Oscar Giron wrote: > What is Qt-Jambi-Interest mailing list about?? > > Please Respond... The Qt Jambi Interest mailing list is used for asking questions about and providing feedback for Qt Jambi by Trolltech. You can find more information about Qt Jambi here: http://trolltec

Re: [Qt-jambi-interest] [Qt-jamib-interest] QtJambi in WebApplication

2008-04-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Michael. Michael Muth wrote: > > is it possible to use all features of qtjambi (slot/signals & qparent) > in a tomcat webapplication (jsf, struts …)? > > Or is the fact that every tomcat-session can have more than one > threads (per request) a problem? > I don't have any experience with Tom

Re: [Qt-jambi-interest] ActiveX

2008-04-25 Thread Eskil Abrahamsen Blomfeldt
Hi, Dimitri. Dimitri Frederickx wrote: > Qt contains ActiveQt, but this is not available in Qt Jambi. What is > the reason for this, and are there plans to support this in the > future? > ActiveQt is a Windows-only module which relies on many tools specific to C++ compilers and OS features

Re: [Qt-jambi-interest] Customizing QFileDialog

2008-05-02 Thread Eskil Abrahamsen Blomfeldt
Bartko, Zoltan wrote: > is there any way of customizing QFileDialog? I have seen the following in > a swing app: the file open dialog was used in directory selection mode. > The directories were searched for specific files - if a certain file has > been found in the directory, a custom directory ic

Re: [Qt-jambi-interest] Jambi with Groovy

2008-05-09 Thread Eskil Abrahamsen Blomfeldt
Todd Weiler skrev: > Try this minimal app it works under 4.3 - does not work under 4.4 > > It is unfortunately a general binary compatibility problem in Java that adding new methods to existing classes can have effects on preexisting subclasses. The options we have are: 1. Do not add public

Re: [Qt-jambi-interest] Where is the Qt Jambi website?

2008-05-10 Thread Eskil Abrahamsen Blomfeldt
Derek Fountain skrev: > Is there a Qt Jambi developers website? Sort of a front page, which > describes the status of the product and leads to other developers pages? > All the list archives and searches of the Trolltech website point here: > > http://trolltech.com/products/qt/jambi > > Which gives

Re: [Qt-jambi-interest] test

2008-05-12 Thread Eskil Abrahamsen Blomfeldt
Hi, Phase In. Phase In wrote: > Is there a way to enable Qt Jambi 4.4 to work on Ubuntu > 8.04 today? Reverting to 4.3 also did not run on 8.04 but works for Ubuntu > 7.10 > I see the following in your error report: > Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing linux-x

Re: [Qt-jambi-interest] test

2008-05-12 Thread Eskil Abrahamsen Blomfeldt
Phase In wrote: > Is there a way to enable Qt Jambi 4.4 to work on Ubuntu > 8.04 today? Reverting to 4.3 also did not run on 8.04 but works for Ubuntu > 7.10 > Please disregard my last mail. I was mistaken, and it seems Sun has changed their versioning scheme for Java 1.6. The version you are

Re: [Qt-jambi-interest] Property is referenced or copied?

2008-05-14 Thread Eskil Abrahamsen Blomfeldt
Derek Fountain wrote: > I'm rather new to Java, and rather new to Qt too, so let me explain step by > step what I thought was happening: > > My "sample" widget contains a reference to a QPalette object. > Calling sample's palette() method returns a reference to that palette object. > I change the

Re: [Qt-jambi-interest] Emitter example required

2008-05-14 Thread Eskil Abrahamsen Blomfeldt
Derek Fountain wrote: > Can someone either point me at, or show me the guts of, an example of using > an emitter? > Sure, several of our examples use signals. Tetrix is one example that declares its own signals: http://doc.trolltech.com/qtjambi-4.4.0_01/doc/html/com/trolltech/qt/qtjambi

Re: [Qt-jambi-interest] jambi preview in eclipse

2008-05-19 Thread Eskil Abrahamsen Blomfeldt
Thomas Coopman wrote: > Hi, > > I'm trying to use jambi 4.4 preview in eclipse but I get this error (below) > > I'm using eclipse 3.3.2 on 64 bit with the linux64 preview packages > and qtjambi-eclipse-integration-linux32-4.4.0_01.tar.gz (I cannot find > 64bit integration packages) > Hi, Thoma

Re: [Qt-jambi-interest] Eclipse integration problem

2008-05-21 Thread Eskil Abrahamsen Blomfeldt
Matt wrote: > > > /C:/Eclipse > 3.2.2/plugins/com.trolltech.qtdesignerplugins/JambiCustomWidget.dll: > The file "C:/Eclipse > 3.2.2/plugins/com.trolltech.qtdesignerplugins/JambiCustomWidget.dll" > is not a > valid Qt plugin./ > > /[...]/ > > I'm using QTJambi-Open

Re: [Qt-jambi-interest] Unable to utilize SQLite

2008-05-27 Thread Eskil Abrahamsen Blomfeldt
Matt wrote: > I couldn't make Option 2 work. I tried > -Dcom.trolltech.qt.pluginjars=[name_of_jarfile] > > as well as > -Dcom.trolltech.qt.pluginjars=[path_to_jarfile] > as recommended in the QTJambi deployment description link. > > In both cases, the jar file was placed in the plugins fol

Re: [Qt-jambi-interest] QFileDialog problem

2008-06-03 Thread Eskil Abrahamsen Blomfeldt
Sahar Payandeh wrote: > I have got too large list of filter file , and I don't want to show > these names in getOpenFileName.I just want to add the option of "All > Supported File(All Files) to that and user will be seen all supported > file (not all file) to select. > Am I clear? > How I can us

Re: [Qt-jambi-interest] QXmlStreamReader

2008-06-03 Thread Eskil Abrahamsen Blomfeldt
Dawid Sip wrote: > Hi, > I failed to read the C++ doc about QXmlStreamReader and understand how > this should work. On the internet there simply isn't any help about > qt-jambi and QXmlStreamReader so i have to resort to You. > > I want to read and print out the tagged contents of my file: > >

Re: [Qt-jambi-interest] UI_ generated files

2008-06-16 Thread Eskil Abrahamsen Blomfeldt
Luis Zaldivar wrote: > In the qtjambi 4.4 preview, the generated classes from designer forms > where named ui_nameofform and in this final release are named just > "nameofform" > > is this expected? This is causing some duplicated classes in some > projects. I can just rename em of course, but i

Re: [Qt-jambi-interest] JDBC driver and PostgreSQL 8.3

2008-06-17 Thread Eskil Abrahamsen Blomfeldt
Bráulio Barros de Oliveira wrote: > I think there might have a bug on the QtSql driver for JDBC and > PostgreSQL server. I'm able to connect properly to it and create data > models with qsqlrelationalsqltablemodel. After setTable call I can > successfully add data to the database. However, after

Re: [Qt-jambi-interest] QGraphicsView and coordinates system...

2008-06-19 Thread Eskil Abrahamsen Blomfeldt
[EMAIL PROTECTED] wrote: > Of course this coordinates system is not well suited to fit in > window/widget/view coordinates system. I know the transformation I need to > apply to my initial coordinates system to fit in window/widget/view, but > my problem is where to apply it. Because beside my curv

Re: [Qt-jambi-interest] qt integration on eclipse (Debian)

2008-06-20 Thread Eskil Abrahamsen Blomfeldt
Xavier Pessoles wrote: > I am on Debian 64 bits (unstable) and I have installed > qt-eclipse-integration-linux.x86_64-1.4.0 and qtjambi-linux64-gpl-4.4.0_01. > Hi, Xavier. You have installed the Eclipse integration for Qt/C++, not the one for Qt Jambi. There is unfortunately no 64 bit versio

Re: [Qt-jambi-interest] Compiling Qt Jambi on OpenSUSE 11

2008-06-23 Thread Eskil Abrahamsen Blomfeldt
Alexander Egger wrote: > [make] ../cpp/com_trolltech_qt_core/qtjambishell_QFutureIterator.cpp: > In constructor 'QtJambiShell_QFutureIterator::QtJambiShell_QFutureIterator()': > [make] ../cpp/com_trolltech_qt_core/qtjambishell_QFutureIterator.cpp:20: > > Hi, Alexander. There is somet

Re: [Qt-jambi-interest] Compiling Qt Jambi on OpenSUSE 11

2008-06-25 Thread Eskil Abrahamsen Blomfeldt
Alexander Egger wrote: >> Hi, Alexander. >> >> There is something going wrong when generating the code for Qt Jambi. You >> should not have any constructor called QtJambiShell_FutureIterator(). In >> fact, you should not have a class called QtJambiShell_QFutureIterator at >> all. I am not able to r

Re: [Qt-jambi-interest] Compiling Qt Jambi on OpenSUSE 11

2008-06-25 Thread Eskil Abrahamsen Blomfeldt
Alexander Egger wrote: > There is nothing else there. I attach the file if you want to have a look. > Hi, Alexander. Thanks, it seems that the generator is not finding the Qt include files. Did you set your QTDIR environment variable? There should be a warning about this if you did not. If y

Re: [Qt-jambi-interest] How can I update the QTreeView/QTreeModel if my Data changes

2008-06-26 Thread Eskil Abrahamsen Blomfeldt
Waldemar Wittmann wrote: > 1) > You used the > > model.dataChanged.emit(i, i); > > signal to update the node (text) in the view. Calling the > > view.update(i); > > method works too, or should i better use the signal? makes this a > difference? > The dataChanged signal in the model will alert

Re: [Qt-jambi-interest] Java VM Crash - QTreeModel - valueToIndex

2008-06-26 Thread Eskil Abrahamsen Blomfeldt
Waldemar Wittmann wrote: > Hi, > > my Java VM crashes after a few minutes my program is running. See the > error logfile in the appendix. Something must go wrong with QTreeModel > valueToIndex Method. What could be the reason? > > Hi, Waldemar. Could you give me an example of what you are doin

Re: [Qt-jambi-interest] Deploying a Pure Qt Jambi Application

2008-06-27 Thread Eskil Abrahamsen Blomfeldt
Waldemar Wittmann wrote: > On my Ubuntu 8.04 System, the Application Starts with: > > java -cp > qtjambi-4.4.0_01.jar:qtjambi-linux32-gcc-4.4.0_01.jar:qtjambi-linux64-gcc-4.4.0_01.jar:qtjambi-macosx-gcc-4.4.0_01.jar:qtjambi-win32-msvc2005-4.4.0_01.jar:qtjambi-win64-msvc2005x64-4.4.0_01.jar:RBRSMAB_

Re: [Qt-jambi-interest] QItemDelegate for *non-primitives* using QComboBox

2008-06-30 Thread Eskil Abrahamsen Blomfeldt
Curt Nowak wrote: > I'm trying to set up a QItemDelegate that shows a QComboBox as its editor and > manages non-primitives internally. I modified the StarDelegate example so > that it uses QComboBoxes for editors and works with java.awt.Point as > "complex" objects. Unfortunately the table data

Re: [Qt-jambi-interest] Problem with the Qt-Jambi designer plugin for Eclipse (no prefix for generated classes)

2008-06-30 Thread Eskil Abrahamsen Blomfeldt
Florian Hübner wrote: > I use the qtjambi-eclipse-integration-linux32-4.4.0_01 to generate java > code out of the .jui files. Recently I noticed that I had duplicated > files in my project, the mentioned generated files with and without a > "Ui_" in front of them. > After switching on the option

Re: [Qt-jambi-interest] Problems running Jambi in ubuntu Hardy

2008-06-30 Thread Eskil Abrahamsen Blomfeldt
kinto wrote: > I tried to run the script qtjambi.sh but I get the error: > "Cannot mix incompatible Qt libraries" > Hi, this error indicates that Qt's dynamic libraries are being loaded from two different sources, and that they are incompatible. We've made an effort to prevent this from happ

Re: [Qt-jambi-interest] QJDBC compatible driver list

2008-07-02 Thread Eskil Abrahamsen Blomfeldt
José Arcángel Salazar Delgado wrote: > finding a JDBC compliant driver. I tried with the following drivers: > SQLITE (2 different drivers), JayBird(the one for firebird), Apache > Derby and SmallSQL. > Hi, José. I know there has been some issues with certain implementations of JDBC over SQ

Re: [Qt-jambi-interest] Problems running Jambi in ubuntu Hardy

2008-07-02 Thread Eskil Abrahamsen Blomfeldt
kinto wrote: > Unfortunately those two variables are already unset and I keep getting > that error with the latest Jambi release. > Any other guess of what the problem could be? > What else could I do to help you understanding the issue? If you are getting any sort of log file from the JVM (hs_er

Re: [Qt-jambi-interest] Difficulty getting started with jambi

2008-07-02 Thread Eskil Abrahamsen Blomfeldt
Jeff Copeland wrote: > Unpacking .jar file: > 'file:/C:/Program%20Files/Java/External_Packages/qtjambi-win32-gpl-4.4.0_01/qtjambi-win32-msvc2005-4.4.0_01.jar' > > at > com.trolltech.qt.internal.NativeLibraryManager.unpack(NativeLibraryManager.java:365) > at > com.trolltech.qt.internal

Re: [Qt-jambi-interest] Problems with java web start and cache]

2008-07-02 Thread Eskil Abrahamsen Blomfeldt
paul wrote: > I was using qtjambi and java web start since version 4.3.1 and I have > never had problem until now. > I'm now using the 4.4.0_1 version and each time I launch my prog, I have > first to delete the java wew start cache. > On linux, I have to delete /tmp/QtJambi_mylogin_i386_4.4.0_01_w

Re: [Qt-jambi-interest] QStandardItem setData() fails when invoked twice

2008-07-03 Thread Eskil Abrahamsen Blomfeldt
Curt Nowak wrote: > I am trying to fill a QStandardItemModel with QStandardItems that contain > custom data. Unfortunately I came across a similar outcome as before when I > had tried to use a Custom Delegate (see my previous mails "QItemDelegate for > *non-primitives* using QComboBox"): There i

Re: [Qt-jambi-interest] Problems with java web start and cache]

2008-07-03 Thread Eskil Abrahamsen Blomfeldt
paul wrote: > Well it's the same with the qtjambi-linux32-gcc-4.4.0_01.jar I got from > http://trolltech.com/downloads/opensource#qt-jambi-open-source > The problem is not only with the qtjambi demo I guess : > > using cache directory: > '/tmp/QtJambi_paul_i386_4.4.0_01_gcc-20080522-0210' > - ca

Re: [Qt-jambi-interest] QJDBC compatible driver list

2008-07-03 Thread Eskil Abrahamsen Blomfeldt
José Arcángel Salazar Delgado wrote: > Well, this is my experience. Now I´m using H2 DB to work with QJDBC and > its ok for what I need. > Hi, José. We will investigate these problems, thank you for the report. > P.D: I miss a lot the old QSQLITE driver. > I agree, it seems this driver i

Re: [Qt-jambi-interest] jambi 4.4 and empty spaces

2008-07-03 Thread Eskil Abrahamsen Blomfeldt
Arne Stocker wrote: > it seems that the mechanism of packing all librarys in a *.jar and > unpacking it at runtime (congratulation to that solution) has some > problems with empty space in the directory. > > Hi, Arne. Yes, this is unfortunately a bug in Qt Jambi 4.4.0. The fix has been sche

Re: [Qt-jambi-interest] Error on connecting QCheckBox.toggled with QDialog.setVisible(boolean)

2008-07-03 Thread Eskil Abrahamsen Blomfeldt
Curt Nowak wrote: > I'm trying to toggle the visibility of a QDialog 'dialog' when a QCheckBox > 'checkBox' is toggled. > So I thought > > > checkBox.toggled.connect(dialog, "setVisible(boolean)"); > > > would do the trick. But instead I get a com.trolltech.qt.QNoSuchSlotException. > Misteri

Re: [Qt-jambi-interest] Qt-jambi and other languages on the jvm

2008-07-03 Thread Eskil Abrahamsen Blomfeldt
Luis Zaldivar wrote: > Is it posible to combine java, jambi, clojure or groovy or jruby code in > the same program? > Hi, Luis. Depending on the language there may be different types of issues which may or may not have solutions (stuff like reflection is needed for signals and slots, for in

Re: [Qt-jambi-interest] Extending an ItemView

2008-07-07 Thread Eskil Abrahamsen Blomfeldt
[EMAIL PROTECTED] wrote: > Please, I want to migrate to Qt Jambi for a special project. I need to > know how to start from tyhe scratch. First is to install the Qt Jambi > in my machine, test it with Hello World! and continue from there. > Please, I need your help right now. > Hi, I reco

Re: [Qt-jambi-interest] Jambi and JNI Integration

2008-07-08 Thread Eskil Abrahamsen Blomfeldt
Adam Batkin wrote: > Anyway, I've now set out to write my own JNI code to do what I want, instead > of using the > Jambi Generator. Everything was working nicely until trying to transfer a > QImage from C++ > to a Java/Jambi QImage. Back in February, Gunnar suggested stealing some > logic from

Re: [Qt-jambi-interest] Overriding itemChange() crashes the VM in 4.4.0_01

2008-07-09 Thread Eskil Abrahamsen Blomfeldt
Mika Halttunen wrote: > So the bottom line is, itemChange() can be overridden when the items are > not in any kind of parent/child relationship. > > Unfortunately, I cannot continue my project too far without this being > fixed. :( Hopefully you get it resolved for the next Qt Jambi update. Is >

Re: [Qt-jambi-interest] [Bug] JUIC broken with ScrollArea

2008-07-09 Thread Eskil Abrahamsen Blomfeldt
Jose Arcangel Salazar Delgado wrote: > I found a bug in the JUIC. The problem is when you try to use a scroll > area in a form. The preview is ok, but when you exec the app with the > Ui file, the scroll area is empty. After a few research I encounter > the problem, look at this code: > > Hi,

Re: [Qt-jambi-interest] jambi 4.4 and empty spaces

2008-07-09 Thread Eskil Abrahamsen Blomfeldt
Arne Stocker wrote: > it seems that the mechanism of packing all librarys in a *.jar and > unpacking it at runtime (congratulation to that solution) has some > problems with empty space in the directory. > Hi, Arne. I have tried to reproduce this error on Windows XP, but unfortunately canno

Re: [Qt-jambi-interest] Error while launching Qt Jambi demo under Windows Vista

2008-07-10 Thread Eskil Abrahamsen Blomfeldt
Laurent Jourdren wrote: > The issue appears when lauching the demo for the second time. When > C:\Users\jourdren\AppData\Local\Temp\QtJambi_jourdren_x86_4.4.0_01_webstart > directory already exits, the exception is thrown. Hi, Laurent. This is a known issue which is scheduled to be fixed for the

Re: [Qt-jambi-interest] jambi 4.4 and empty spaces

2008-07-10 Thread Eskil Abrahamsen Blomfeldt
Waldemar Wittmann wrote: > The launcher starts out of an path with empty spaces. But try to start a > QtJambi example or an arbitrary qt jambi application directly in the > same way you wrote above but without the Launcher. > Hi, Waldemar. I've just successfully run the Styles and AnalogClock

Re: [Qt-jambi-interest] How to catch signal sent from event loop started by external library?

2008-07-11 Thread Eskil Abrahamsen Blomfeldt
hAmmeRoL wrote: > After some research, I still cannot figure out how to catch signals > sent from event loop started by external library? > > I am currently using jambi 4.3.4_01 and an external library Smack > 3.0.4(which is responsible for protocol communication). > > I cannot catch the signal s

Re: [Qt-jambi-interest] qt-jambi rpm

2008-07-14 Thread Eskil Abrahamsen Blomfeldt
Markus Walser wrote: > Since currently no distribution is delivering qtjambi-4.4 and I > couldn't find an rpm, II was thinking a bit how to > organize such a rpm structure. One basic question that raised: Would > it be possible to use the normal qt > libraries form "/usr/lib " instead of putting

Re: [Qt-jambi-interest] Focus on Qlineedit?

2008-07-14 Thread Eskil Abrahamsen Blomfeldt
Luis Zaldivar wrote: > How do I detect when a QLineEdit gets focus? > Seems like there is not focus signal for QLineEdit. It seems like it can > be emulated with eventfilter() and hasfocus() but is there an easier way? > Sorry if it is a dumb question :) > Hi, Luis. QApplication has a signal c

Re: [Qt-jambi-interest] Strange Behavior whit Junit4 test suites and QJDBC

2008-07-15 Thread Eskil Abrahamsen Blomfeldt
José Arcángel Salazar Delgado wrote: > The ClienteTest runs fine, but ProductoTest is broken. This is the error: > QSqlDatabasePrivate::removeDatabase: connection > 'qt_sql_default_connection' is still in use, all queries will cease to work. > QSqlDatabase: QJDBC driver not loaded > QSqlDatabase:

Re: [Qt-jambi-interest] Problem with QHttp Example

2008-07-15 Thread Eskil Abrahamsen Blomfeldt
Pablo Terradillos wrote: > QHttp http = new QHttp(); > QHttpRequestHeader header = new QHttpRequestHeader("GET", "/index.html"); > header.setValue("Host", "www.trolltech.com"); > http.setHost("www.trolltech.com", 80); > http.request(header); > > > But Eclipse complains about set

Re: [Qt-jambi-interest] How to use Phonon module? Exmples?

2008-07-16 Thread Eskil Abrahamsen Blomfeldt
> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/phonon/MediaObject.html > http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/phonon/MediaSource.html > http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/phonon/Path.html > http://doc.trolltech.com/qtjambi-4.4/html/com/tr

Re: [Qt-jambi-interest] QSQLite driver for windows

2008-07-17 Thread Eskil Abrahamsen Blomfeldt
TieKei skrev: > Eskil Abrahamsen Blomfeldt wrote: > >> If not, where does the qsqlite4.dll file you are using come from? Are >> you sure it's compatible with Qt Jambi? >> > In fact there is no qsqlite4.dll in QTJambi.. so I took it from standard > QT -

Re: [Qt-jambi-interest] How NOT to draw lines connecting parent nodes and children nodes in QTreeView?

2008-07-24 Thread Eskil Abrahamsen Blomfeldt
hAmmeRoL wrote: > I wanted the QTreeView in my application not to draw lines connecting > parent nodes and children nodes. But I failed to find any methods > provided by QTreeView and wondered how it should be done? > > Anyone has an idea about how to get this done? The indicator branch is paint

  1   2   3   >