WOW,I resolved it finally.
I create a setup.py file scratch from cx_setup.py which from Armando.
The main purpose of the setup.py is to include plugins of PyQt4.Then build
with command:python setup.py build
That's all I have done,the icon shows.
Thank you Armando and Hans.
Bests,
On Thu, Sep 16,
On Tuesday 14 September 2010 19:08:23 Hans-Peter Jansen wrote:
> Just a few words on methology:
>
> Searching for some functionality of QTextEdit, e.g. how to get at a
> specific line via line number:
> * Look up QTextEdit in assistant
>We read: The QTextEdit class provides a widget that is u
Hi,
this code prints random output. How should I fix this?
import sip
sip.setapi('QString', 2)
from PyKDE4.kdeui import KConfigSkeleton
a = KConfigSkeleton()
name = 'tilesetName'
value = 'I am a value'
s = a.addItemString(name, value)
print s.value()
== output: ==
value is: 䱀Ɨ!䱠Ɨ彐Ɨ美繈
Has anyone got a good example on how to use the QsciApi module?
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Hello Steve,
We've ran in more or less the same issues with the recent
refactoring of Camelot, here are some things I learned
(but I haven't found a decent solution yet) :
- those kind of bugs tend to appear more frequent on windows
than on Linux, I don't know why. But they happen on Linux
Le 16/09/10 12:59, Dan Halbert a écrit :
On
9/16/2010 4:02 AM, Vincent Vande Vyvre wrote:
If an image is type RAW, (.CR2, .RAF, .3FR,
.MRW etc) an image format .tiff is automatically created
and replace the RAW file. The original file is lost.
Could you give a short test prog
Before I get to my questions, I want to congratulate you folks for
such a tremendous toolkit. I can only imagine how much further along
TortoiseHg would be today if we had selected PyQt from the start
(which was my suggestion at the time).
Our port from PyGtk is progressing very well, but we've
On Thu, Sep 16, 2010 at 7:46 PM, Eric Frederich
wrote:
>
> I think that seems to be my problem.
> Just way too many ways to skin this cat.
> I'd hate to say something good about Java (especially now that they're owned
> by Orable) but there were much less options for me to get overwhelmed with.
>
On Thu, Sep 16, 2010 at 1:27 PM, fpp wrote:
> On Thu, Sep 16, 2010 at 7:24 PM, Eric Frederich
> wrote:
> >
> > So if I connect the tab bar's currentChanged(int) signal to a dock
> widget's
> > method, where does the dock widget get the data from?
> > Would the dock widget instance need to have a
Sorry, did it again ! :-)
-- Forwarded message --
From: fpp
Date: Thu, Sep 16, 2010 at 7:27 PM
Subject: Re: [PyQt] Newbie QMainWindow tips
To: Eric Frederich
On Thu, Sep 16, 2010 at 7:24 PM, Eric Frederich
wrote:
>
> So if I connect the tab bar's currentChanged(int) signal to
On Thu, Sep 16, 2010 at 11:55 AM, fpp wrote:
> On Thu, Sep 16, 2010 at 5:02 PM, Eric Frederich
> wrote:
> > Trying to get my first PyQt MainWindow application going.
> > Its going to be to edit multiple [we'll just call them] documents in
> tabs.
> > I will have several dockwidgets that need to
Hi,
I am a beginner as well. May be helpful to check my step-by-step note about
the hello SIP tst:
http://cid-a6597afda81373ba.spaces.live.com/blog/cns!A6597AFDA81373BA!1260.entry
It is on Mac though, but I think it should work on Windows, just need to set
the VC projects.
zhang
On Thu, Sep 16
Trying to get my first PyQt MainWindow application going.
Its going to be to edit multiple [we'll just call them] documents in tabs.
I will have several dockwidgets that need to correspond to the currently
selected tab.
So when the tab changes, or the data within the document changes, several
dock
On Thursday 16 September 2010, 15:57:07 Von wrote:
> Hi,Armando thanks for your advice,it seems more complicated.
> I wonder is there a simple way to resolve it?
You might want to try PyInstaller, that has a better dependency resolution.
Pete
___
PyQt m
Hi,Armando thanks for your advice,it seems more complicated.
I wonder is there a simple way to resolve it?
On Thu, Sep 16, 2010 at 9:16 PM, "V. Armando Solé" wrote:
> Hi Von,
>
>
> On 16/09/2010 08:38, Von wrote:
>
>> Hi,
>> Here is my command:
>> cxfreeze --target-dir=AutoOrder gui.py
>> --bas
I did import the rc file in the Main.py and use cxfreeze --include-module
option to include the rc module
I made a gui bundle,so there wasn't any dos output.
On Thu, Sep 16, 2010 at 8:32 PM, Hans-Peter Jansen wrote:
> On Thursday 16 September 2010, 13:30:28 Von wrote:
> > Hi Hans,strange thing h
Hi Von,
On 16/09/2010 08:38, Von wrote:
Hi,
Here is my command:
cxfreeze --target-dir=AutoOrder gui.py
--base-name=D:\Python31\Lib\site-packages\cx_Freeze\bases\Win32GUI.exe
--include-path=. -z icon.jpg
Both app icon and tray icon used icon.jpg
Regards,
I had similar problems in the pas
On Thursday 16 September 2010, 13:30:28 Von wrote:
> Hi Hans,strange thing happens
> I put my icon.jpg file into the qrc file and compile it to py file.when I
> run my Main.py directly I can see the icon show up correctly,but while I
> use cxfreeze to package it,then it can't find the resource at a
Hi Hans,strange thing happens
I put my icon.jpg file into the qrc file and compile it to py file.when I
run my Main.py directly I can see the icon show up correctly,but while I use
cxfreeze to package it,then it can't find the resource at all.Here is my
simple code:
pixmap = QtGui.QPixmap(":/icon.j
On 9/16/2010 4:02 AM, Vincent Vande Vyvre wrote:
If an image is type RAW, (.CR2, .RAF, .3FR, .MRW etc) an image format
.tiff is automatically created
and replace the RAW file. The original file is lost.
Could you give a short test program that reproduces the problem? Sounds
like it only needs
On Thursday 16 September 2010, 10:52:10 HundredsAnd100s wrote:
> I'm new to both PyQt and Qt, so apologies if this is obvious. I'm trying
> to track mouse events with a QGLWidget but it's not working quite like
> expected. I switched to a QWidget to avoid any possible complications but
> the proble
Hi,Hans I join this group today,could you send your example mail to me?
On Thu, Sep 16, 2010 at 6:23 PM, Hans-Peter Jansen wrote:
> On Thursday 16 September 2010, 08:38:00 Von wrote:
> > Hi,
> > Here is my command:
> > cxfreeze --target-dir=AutoOrder gui.py
> > --base-name=D:\Python31\Lib\site-p
On Thursday 16 September 2010, 08:38:00 Von wrote:
> Hi,
> Here is my command:
> cxfreeze --target-dir=AutoOrder gui.py
> --base-name=D:\Python31\Lib\site-packages\cx_Freeze\bases\Win32GUI.exe
> --include-path=. -z icon.jpg
I haven't used cx_freeze, but why don't you wrap them into a python module
I'm new to both PyQt and Qt, so apologies if this is obvious. I'm trying to
track mouse events with a QGLWidget but it's not working quite like
expected. I switched to a QWidget to avoid any possible complications but
the problem remains.
I want to recognize that one or more mouse buttons are bei
Dear all,
I am learning SIP and I made simple source like this:
//spam.cpp
#include "spam.h"
int spam_system(const char *command);
int main(int argc, char **argv )
{
spam_system(argv[1]);
return 0;
}
int spam_system(const char *command)
{
int sts;
sts = system(command);
return sts;
}
spam.h
Hi all,
I'm currently using a subclass of QSortFilterProxyModel to populate a
QComboBox. This is working fine, but I'd like to have a 'fixed' entry
in this combo box. This entry is not present on the proxy model nor on
the source model, it guess it has to be 'invented' by the proxy model
so it's d
Hi,
In an application, i have a function which create a thumbnail for each
image found in a folder.
If an image is type RAW, (.CR2, .RAF, .3FR, .MRW etc) an image format
.tiff is automatically created
and replace the RAW file. The original file is lost.
However, if I check the supported form
27 matches
Mail list logo