Re: [Interest] Inline Searchable combbox

2013-02-03 Thread Felix morack
url works fine, attaching pic anyways. Good question, tbw. <>___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Bounties on Qt features

2013-05-21 Thread Felix morack
doesnt the QDock system implement all that already? (except for docking hints...) 2013/5/11 Donald Carr > So very fucking cool; thank you for funding features/development with > this level of granularity :) > > On Fri, May 10, 2013 at 3:59 PM, Dirk Groeneveld > wrote: > > Currently, bountysour

[Interest] QDockWidgets and ambiguous QShortcuts

2016-05-29 Thread Felix morack
Hi, I'm facing the following problem with Shotcuts (QShortcut) and docking widgets (QDockWidget). I have a custom widget that is contained in a QDockWidget, in its ctor I register some keyboard shortcuts. As long as I have only one docking widget of this type all is fine, but when I have two or m

[Interest] why does Qt prefer to return QList over QVector?

2015-01-26 Thread Felix morack
hello, i recently gained a small, but considerable performance boost by switching out QList for QVector in some legacy code. This is hindered by the fact that Qt itself often returns QList, eg with QMap::values(). Is there a reason for this? Why arent QVectors used? A somewhat related questio

Re: [Interest] why does Qt prefer to return QList over QVector?

2015-01-27 Thread Felix morack
yes, in fact especially then, probably due to caching. 2015-01-27 9:47 GMT+01:00 Daniel França : > is QVector faster even for sequential access? > On Tue 27 Jan 2015 at 09:42 Mark Gaiser wrote: > >> On Tue, Jan 27, 2015 at 8:56 AM, Felix morack >> wrote: >> >&g

[Interest] Qt container size()

2015-01-29 Thread Felix morack
Hi, Qt containers use 'int' to refer to their size thus limiting their size to INT_MAX. Is there any reason for this? Why dont they use size_t like the STL and the rest of the world? It's 2015, people will increasingly bump into this limitation - i just did. I very much prefer QTL over STL for

Re: [Interest] Qt container size()

2015-01-29 Thread Felix morack
you can always use -1 as an error - even if signedness was an issue there is still qint64. 2015-01-29 14:36 GMT+01:00 Tomasz Siekierda : > On 29 January 2015 at 14:32, Felix morack wrote: > > Hi, > > > > > > Qt containers use 'int' to refer to the

[Interest] QT API wrapper around std:: containers?

2015-01-29 Thread Felix morack
Hi, In light of the size limitations of Qt containers, a collegue suggested writing an API wrapper around a std:: container. His idea was to template-derive from a std::vector or std::map and implement the Qt API as a wrapper around the std:: API. Has this been attempted before?

Re: [Interest] QT API wrapper around std:: containers?

2015-01-29 Thread Felix morack
Macieira : > On Thursday 29 January 2015 21:05:33 Felix morack wrote: > > Hi, > > > > In light of the size limitations of Qt containers, a collegue suggested > > writing an API wrapper around a std:: container. His idea was to > > template-derive from a std::vector

Re: [Interest] QT API wrapper around std:: containers?

2015-01-30 Thread Felix morack
or a short time. Which really isnt much of an issue if you have the memory. Of course me now telling the guy "we dont like how your format your data" isnt going to fly so well with him. And the limit just isnt necessary. 2015-01-30 9:14 GMT+01:00 André Somers : > Felix morack s

Re: [Interest] QT API wrapper around std:: containers?

2015-01-30 Thread Felix morack
the idea was to create a wrapper for all the needed containers individually, like so: class myvec : std::vector < T > { auto append(const auto& v) { push_back(v); } auto append(auto&& v) { push_back(v); } ... 2015-01-30 12:28 GMT+01:00 Konstantin Tokarev : > > > 29.01

Re: [Interest] double-buffering, quality drop

2015-02-03 Thread Felix morack
we had a similar problem. We solved it by having the updatePixamp() function set a flag and doing the actual drawing the in paint() method, ie: void updatePixamp() { dirty = true; repaint(); } void repaint(...) { if(dirty) { //update pixmap } //blit pixamp to screen } 2015-02-03 11:29

Re: [Interest] double-buffering, quality drop

2015-02-04 Thread Felix morack
not sure how the graphicsitem comes into all of this, but no you cant draw on it. you can draw on a QGraphicsWidget or you can derive from QGraphicsItem and draw in its paint() method. 2015-02-03 23:47 GMT+01:00 Alexander Semke : > Am Dienstag, 3. Februar 2015, 11:36:55 schrieb Felix mor

Re: [Interest] Widget Screenshot Question

2015-03-08 Thread Felix morack
I have the same problem... Btw, there is a static method in Qthread to pause execution: Qthreat::sleep(). 2015-03-06 20:47 GMT+01:00 Jason Kretzer : > And to add a little more information, if I take out the “this->show()”, no > image is created at all and this is put in the std out. > > plugins\

Re: [Interest] Kicking out QtScript completely

2015-03-17 Thread Felix morack
I am so glad I am not the only one who feels that way. Nearly fell out of my chair reading the blogpost. 2015-03-18 0:07 GMT+01:00 Thiago Macieira : > On Tuesday 17 March 2015 16:48:39 Philippe wrote: > > >> So am I the only one who cares about QtScript? > > > > This is a wondeful module. It shou

[Interest] porting Qt4 -> 5, QDesktopServices::openUrl() fails

2015-04-08 Thread Felix morack
Hi, I am porting code from Qt4 to Qt5 and the behavior of QDesktopServices::openUrl() seems to have changed. We want to open a folder/path in the default explorer shell, which was done like so: QDesktopServices::openUrl(QUrl::fromLocalFile("c:/testdir/"); Even though it says "from local file"

Re: [Interest] porting Qt4 -> 5, QDesktopServices::openUrl() fails

2015-04-08 Thread Felix morack
up Windows Explorer with that directory. On Qt5.4.1 MSVC > 2010 32bit. > > On Wed, Apr 8, 2015 at 2:51 PM, Felix morack wrote: > >> Hi, >> >> I am porting code from Qt4 to Qt5 and the behavior of >> QDesktopServices::openUrl() seems to have changed. >> &g

[Interest] Move-to-bin API?

2015-04-10 Thread Felix morack
Hi, I was wondering if there are any plans to add an API for moving files/folders to the trash instead of fully deleting them? There was an old bugreprot for this, which was closed with "maybe in a future version". So any plans? Any objections? ___ Int

Re: [Interest] Dockwidgets as non-children

2015-05-15 Thread Felix morack
Can't you just do setParent(0) ? That used to work, but a long time ago. 2015-05-14 19:25 GMT+02:00 John Weeks : > > > On 14 May 2015, at 8:43 am, Scott Aron Bloom wrote: > > > > I have a request from a customer, he loves our docked layout.. However, > there are times when he wants to undock a

[Interest] prebuild packages for windows and pdb

2015-08-14 Thread Felix morack
Hi, In the past the Qt prebuild packages distributed by the online installer correctly included the .pdb file for the debug build. This has stopped for Qt 5.5 which does not ship any pdb files, which is a bug: https://bugreports.qt.io/browse/QTBUG-47080 Is there any assurance so far that pdb

Re: [Interest] visual studio addin

2013-12-12 Thread Felix morack
VS is not able to process .ui files, as .ui files only contain XML data, no real C++ code. You will have to generate the code from the .ui first (uic'ing), and then VS will parse the newly generated code immediately. Thanks to the VSAddin, the build process does the uic'ing for you. 2013/12/12 Mi

[Interest] VS2013

2013-12-12 Thread Felix morack
I think a lot of us windows guys want to move over to VS2013 (optimization bugs in VS2012 and all). Unfortunately, VS2013 wasnt released in time to have full support in Qt 5.2. VS2013 has been around for a while now, and code to update the VSAddon to support VS2013 has been reviewed, approved and

Re: [Interest] VS2013

2013-12-12 Thread Felix morack
Why would you need to drop something else? But yes, i think moving forward is more important than keeping VS2010 support. So what are the current plans? 2013/12/12 Thiago Macieira > On quinta-feira, 12 de dezembro de 2013 21:17:56, Felix morack wrote: > > I think a lot of us win

Re: [Interest] VS2013

2013-12-12 Thread Felix morack
> > >> Would people feel bad if we no longer provided binaries for VS 2010? >> > > Many people are still on VS2010 (in fact, I know a not-negligible amount > of companies still on VS 2008) > > Microsoft is releasing too fast for the mid to large corporation. > Very true. In fact, i work for one

Re: [Interest] VS2013

2013-12-12 Thread Felix morack
Deal! I am sure we can gather enough people for testing a msvc2013 package. I'll subs. to the release slit momentarily. Any ideas when we can expect 5.2.1? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/

[Interest] QtVsAddon disables wchar_t as built-in type -> linker errors

2013-12-15 Thread Felix morack
I just converted a VisualStudio Solution from VS2008+Qt4 to VS2012+Qt5.2. it went quiet smoothly, but when i used the QtVSAddon to convert the project ("convert to QVSAddon Project"), it disabled the "treat wchar_t as built-in type" option. (the option is on by default). This results in linking

[Interest] Qtcreator on ubuntu

2014-07-25 Thread Felix morack
hi, just installed Qt 5.3.1 + QtCreator on my Ubuntu 14.04 x64 machine via the online installer and was surprised by how poorly it works, or rather: not works. The first thing one notices when firing up QtCreator is a wired UI glitch, that i have reported about ten times already - a year ago.

Re: [Interest] Qtcreator on ubuntu

2014-07-25 Thread Felix morack
it appears you are right and this is VBox releated. Wired, i could have sworn i was working on my physical machine when this happenedi will investigate when i get home. thanks for your reply. 2014-07-25 9:46 GMT+02:00 Sze Howe Koh : > Hi Felix, > > On 25 July 2014 15:21, Fel

[Interest] selection in QTableWidget

2014-08-19 Thread Felix morack
hello, the selection (mode: selectitems) in a qtablewidget is by default a square. For many purposes it would be better if the selection included all items in between starting point and end point. This is well illustrated here: https://i.imgur.com/9FBPr5I.png The question is: how to do this? M

Re: [Interest] selection in QTableWidget

2014-08-19 Thread Felix morack
eview fits my purposes pretty perfectly, besides the selection issue. is there no easy way to change the selection behaviour? 2014-08-19 11:02 GMT+02:00 André Somers : > Felix morack schreef op 19-8-2014 09:59: > > hello, > > > > > > the selection (mode: select

[Interest] formatting bug in QTextEdit

2014-08-27 Thread Felix morack
Hi, i am trying to change the background color of a couple of lines of text, the position of the block is given in startlinepos and endlinepos. The best way appears to be to do this via ExtraSelections with the FullWidthSelection property. This works, generally, but the problem is that the last l