Re: [Interest] working with external stylesheet in Qt Designer

2013-04-08 Thread Alejandro Exojo
tl;dr: is there any way to edit/preview forms in Qt Designer with stylesheet loaded from an external file? Yes. :) 1. Qt Stylesheets don't support CSS's @include (QTBUG-2047 proposes it) 2. In Designer's settings you can set up a preview with a stylesheet, but you have to specify the text

[Interest] QtSingleApplication Fix for Windows

2013-04-08 Thread Nils Jeisecke
Hi List, some time ago I've submitted a fix for a QtSingleApplication problem. The current implementation does not reliably prevent starting multiple instances on Windows . There does not seem to be a maintainer for Qt Solutions. So I'd welcome anyone interested in reviewing this one line

Re: [Interest] Compile Qt for windows 32-bit using mingw-w64

2013-04-08 Thread Konrad Rosenbaum
On Monday 25 March 2013 13:58:38 Koehne Kai wrote: adding -m32 should work, but I haven't tested it since a while. The 'official' and bullet-proof method is to just install a native 32 bit toolchain (mingw-w64 based compilers usually can be downloaded as 32 bit or 64 bit). I recommend the

[Interest] A simple, changing list: QListWidget or QListView?

2013-04-08 Thread Alejandro Exojo
Hi. I have to display a moderately simple list (6-8 rows at most, not directly editable). I've done it quite simply with a class derived form QListWidget, and a custom QListWidgetItem that creates new widgets (one or two QLabels, nothing fancy), and places them in the list with setItemWidget().

Re: [Interest] A simple, changing list: QListWidget or QListView?

2013-04-08 Thread Constantin Makshin
Hello, Alejandro. I suggest switching to QListView with a model derived from QAbstractListModel. In your case this method should be quite similar to QListWidget-based one in terms of code complexity, but is somewhat more flexible and, probably, a bit faster because of removing an abstraction

Re: [Interest] Report designer for Qt

2013-04-08 Thread zdenko podobny
Check out http://sourceforge.net/projects/libqt4report/ Zdenko On Mon, Apr 8, 2013 at 4:28 PM, Muhammad Bashir Al-Noimi mbno...@gmail.comwrote: On 04/04/2013 12:19 PM, André Somers wrote: No, and I think it is out of scope. There are 3rd party solutions available (in varying stages of

Re: [Interest] Report designer for Qt

2013-04-08 Thread BogDan
[...] http://qt-apps.org/content/show.php/eXaro?content=78870 [qt-apps.org] Dead project! [...] Hi, I'm the author of eXaro project and I really didn't know that is dead ! :)  Yes, I know that I didn't touch it for years, but AFAIK it just works and  is used on a few ERPs out there. A few

Re: [Interest] Report designer for Qt

2013-04-08 Thread Muhammad Bashir Al-Noimi
On 04/04/2013 04:33 PM, Bo Thorsen wrote: There are literally thousands of different types of components that could be useful in some projects. It's impossible for Qt to try and deliver all of them. That's the reason it won't happen. As I said to André before, Report designer is an important

Re: [Interest] Report designer for Qt

2013-04-08 Thread Ilya Diallo
Hi Muhammad, Feel free to ask me if you have questions about OpenRPT (code or usage). The docs are a little bit outdated, some features are not listed. And please tell me if you start a Qt 5 port, i was planning to work on it too. Ilya. 2013/4/8 Muhammad Bashir Al-Noimi mbno...@gmail.com On

Re: [Interest] single application

2013-04-08 Thread Christian Dähn
Hi Duane, currently I use QtSingleApplication for years under different Windows and Linux platforms - even with Qt5 there should be no reason, why this approach shouldn't work. The buggy behaviour with starting the app by an app from desktop and console is new to me - so this bug should be

Re: [Interest] single application

2013-04-08 Thread Nils Jeisecke
Hi Duane, To prevent multiple instances, we are using QSingleApplication. On Windows, if the app is started from the desktop this works fine but if it's started from a console a second instance can be started. please try to apply the patch from

Re: [Interest] QtSingleApplication Fix for Windows

2013-04-08 Thread Duane
On 4/8/2013 11:31 AM, Christian Dähn wrote: Hi Nils, I reviewed it and am currently running tests under Win XP + 7 and different Linux versions. All tests should be finished till tomorrow - then the behaviour is checked for up to date Windows ans Linux versions (fresh installs with

Re: [Interest] single application

2013-04-08 Thread Duane
On 4/8/2013 12:37 PM, Nils Jeisecke wrote: Hi Duane, To prevent multiple instances, we are using QSingleApplication. On Windows, if the app is started from the desktop this works fine but if it's started from a console a second instance can be started. please try to apply the patch from

Re: [Interest] QSqlTableModel - table name issue in Postresql

2013-04-08 Thread Muhammad Bashir Al-Noimi
On 04/08/2013 03:00 AM, Tony Rietwyk wrote: Hi Muhammad, I don't know Postgresql at all. I believe it is based on Oracle. Oops!! you don't know Postgresql!!! It's not related to Oracle https://en.wikipedia.org/wiki/Postgresql Your problem sounds like the table name was quoted in the

Re: [Interest] Report designer for Qt

2013-04-08 Thread Muhammad Bashir Al-Noimi
On 04/08/2013 04:36 PM, zdenko podobny wrote: Check out http://sourceforge.net/projects/libqt4report/ I didn't find before but it seems a report engine without GUI designer just like kd-reports. Does any one tested it before? -- Best Regards,

Re: [Interest] Report designer for Qt

2013-04-08 Thread Muhammad Bashir Al-Noimi
On 04/08/2013 04:39 PM, BogDan wrote: Hi, I'm the author of eXaro project and I really didn't know that is dead ! :) Yes, I know that I didn't touch it for years, but AFAIK it just works and is used on a few ERPs out there. A few weeks ago a got a mail from somebody thanking me for it ... so

[Interest] focus indicator

2013-04-08 Thread John Weeks
On Macintosh, I can set an attribute on my custom widget: setAttribute(Qt::WA_MacShowFocusRect); Now, when the custom widget gets focus, the fuzzy blue focus ring appears around my widget. Is there anything like that on Windows? Do I have to use a QFocusFrame with my widget? Or maybe

Re: [Interest] Report designer for Qt

2013-04-08 Thread Luis Valdés
Hi Muhammad Bashir Al-Noimi, I am interested in report solutions as you, I tryied all the solutions you listed, you can try CuteReport from sourceforge as well. If BogDan can create a linux binary will be very helpful, BogDan you did a very good job, I did not take the time to send you an email

Re: [Interest] Report designer for Qt

2013-04-08 Thread Muhammad Bashir Al-Noimi
On 04/09/2013 01:40 AM, Luis Valdés wrote: Hi Muhammad Bashir Al-Noimi, I am interested in report solutions as you, I tryied all the solutions you listed, you can try CuteReport from sourceforge as well. Thanks Luis, I read the description and saw the screenshot, it seems awesome specially

Re: [Interest] Report designer for Qt

2013-04-08 Thread Luis Valdés
Hi Muhammad, Well, to be honest I wasn't able to make CuteReport work, not in linux neither windows, but it looked very cool. I debugged CuteReport and I saw that one plugin was not loaded and I told that to the creator, I did not have an answer. I think that BogDan is very bussy with android and

[Interest] Qt-Builds

2013-04-08 Thread Алексей Павлов
Hi! I just build Qt-5.1.0 Alpha with MinGW-w64 toolchain GCC-4.8.0-dwarf-rev1http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-posix/dwarf/x32-4.8.0-release-posix-dwarf-rev1.7z/download. Also my build contain QtCreator-2.7.0 and QBS from git. To relocate