Re: [Interest] Problems when updating view/delegate

2012-02-03 Thread norulez
Hi, I tried to overload the setData() function as followed, but the behavior is the same which means that the view/delegate doesn't get updated: bool ret = QStandardItemModel::setData(index, value, role); emit dataChanged(this->index(0, 0), this->index(rowCount(), columnCount())); return ret; I

Re: [Interest] Problems with Drag and Drop in Windows 7

2012-02-03 Thread norulez
Ok, I found the problem... Under Windows 7 the qt creator was configured to start/run as administrator. After I removed this property it works like expected. The Problem seems to be that the qt creator was running as administrator and the files were dragged with the current logged on user. Than

Re: [Interest] Problems when updating view/delegate

2012-02-03 Thread Bo Thorsen
The way I would do this is to make a custom role for the background and use that to paint the background in the delegate. You have to emit dataChanged() for the cells where the background should be updated as well as the column2 cells for the delegates to be notified about the change. Bo. Den

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Sujan Dasmahapatra
Thanks for your valuable advice Mr Jason, I'll follow your instructions and rest I'll explore. Thanks Sujan On Fri, Feb 3, 2012 at 10:18 PM, Scott Aron Bloom wrote: > You definitely got something right in this…. > > ** ** > > I would tell your client, that you underbid and are simply unquali

Re: [Interest] QFileSystemWatcher malfunctioning

2012-02-03 Thread Scott Aron Bloom
Yes, no, maybe. I didn't write SignalBlocker... As has been stated, keep a MD5 of the file after you write it, and ignore the file change notification if it hasn't changed.. From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@q

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Scott Aron Bloom
You definitely got something right in this I would tell your client, that you underbid and are simply unqualified to perform this project. It is clear you are not qualified for this. From: interest-bounces+scott=onshorecs@qt-project.org [mailto:interest-bounces+scott=onshorecs

Re: [Interest] Window flicker when layout's size constraint is Fixed

2012-02-03 Thread Adam Light
On Thu, Feb 2, 2012 at 11:08 AM, Kimmo Viitanen wrote: > So the size is calculated constantly. I have to, though, that for me > with Qt 4.8.0 on Linux Mint 11, the effect is not nearly as bad as it > shows in your video. It is actually very smooth and quick, so perhaps > this is some platform iss

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Jason H
Forget I even mentioned Qt. It is onlt for an experienced web/Qt developer anyway. Yes it's technically possible but I'd probably not go that route myself. You'd use PHP's GD to create your images. Depending on your level of drawing flexibility, you might be able to use ImageMagick as someone

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Sujan Dasmahapatra
Jason I have some queries. Can I use Qt's QGraphicsView to render PHP gd Library's graphics.??? Can I design shirts using gd libray with diferent colors??...If I am able to use Qt then I can also be able to use openGL right??..Please tell me how I should proceed. I need create images of shirts

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Sujan Dasmahapatra
That's great Jason I am really thankful to you for this information.Thanks > for the tutorial I am going through this, if in this aspect I need some > more help I'll post it, I am worrying it may be out of our Qt discussion. > Anyways Thanks a lot. > > > On Fri, Feb 3, 2012 at 9:01 PM, Jason H wro

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Jason H
If that's all you want to do then don't worry about Qt. If you have PHP, all you need is the GD library for PHP: http://php.net/manual/en/book.image.php Here's a tutorial: http://php.about.com/od/advancedphp/ss/gd_library.htm You could use Qt to use QGraphicsView to generate your images as well

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Sujan Dasmahapatra
My website is PHP based. Can I deploy a webapplication in ASP.NET?? or by PHP itself I can do that ?? I am ignorant. Please advice me. Thanks Sujan On Fri, Feb 3, 2012 at 8:49 PM, Sujan Dasmahapatra < sujan.dasmahapa...@gmail.com> wrote: > Thanks Martina and Jason for your reply > Martin you hav

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Sujan Dasmahapatra
Thanks Martina and Jason for your reply Martin you have given a very informative reply for me. I want to do exactly like that. Some graphics rendering tool that'll generate PNG images on the fly to the web-server based on the input from the client. I am checking the tool ImageMagic I hope this'd

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Martin Holmes
Indeed. Going back through Sujan's messages, he told us that "My website is PHP based. So I think I need to learn PHP and if any other tools like java applet etc I dont know." Now he's apparently using ASP.NET. I don't see how Qt has anything to do with the development of web applications like

Re: [Interest] Design shhirts using Qt OpenGL

2012-02-03 Thread Jason H
I think I speak for everyone where when I say "Um, what?!" Assuming you aren't trolling, what doe OpenGL have to do with anything? From: Sujan Dasmahapatra To: interest@qt-project.org Sent: Friday, February 3, 2012 3:13 AM Subject: [Interest] Design shhirts u

[Interest] assistant deployment problem

2012-02-03 Thread Sujan Dasmahapatra
Dear Friends, In my application I have a custom assistant I have successfully built it in release mode, but while deploying it's not launching the assistant giving a run-time error as below "Error reading collection file 'C:/AirfoilOptGUI_WIN/documentation/simpletextviewer.qhc': Cannot load sql"

[Interest] Problems when updating view/delegate

2012-02-03 Thread norulez
Hello @all, lets say I have a model with 5 columns and 3 rows. The delegate should set the background color for the individual rows depending on which value is in column 2. Now my main problem is that when I change the value of column 2, then only the background of column 2 is changed. How c