Re: [Interest] Build a Photos(Mac) copy with Qt Widgets

2016-01-20 Thread Hualet Wang
) on QListView. With such settings list > view will be displayed as table. And you can play with scroll bars... > > On 20.01.2016 17:52, Hualet Wang wrote: > >> Really ? That’s quite good enough for me if it’s true. Thank you for you >> suggestion, I’ll check >> it out. :D >>

Re: [Interest] Build a Photos(Mac) copy with Qt Widgets

2016-01-20 Thread Hualet Wang
Really ? That’s quite good enough for me if it’s true. Thank you for you suggestion, I’ll check it out. :D > 在 2016年1月20日,下午10:48,Igor Mironchik <igor.mironc...@gmail.com> 写道: > > Hi, > > On 20.01.2016 17:09, Hualet Wang wrote: >>> And one more, what about QTable

Re: [Interest] Build a Photos(Mac) copy with Qt Widgets

2016-01-20 Thread Hualet Wang
> And one more, what about QTableWidget with icons? And why you decided > that QTableView will not do the trick? Because I’m not sure if QTableView is capable of re-layouting the items after I delete one or more cells from it. And that’s the whole point of my question. > And QtMWidgets is for

[Interest] Build a Photos(Mac) copy with Qt Widgets

2016-01-19 Thread Hualet Wang
Hi friends. I’m trying to build a Photos like application with Qt Widgets. The main view should be able to display the photos, delete items on demand. I’m not sure if QTableView is sufficient to accomplish the task. Any ideas or any suggested project that I can refer to ?

Re: [Interest] Wired result trying to change the brightness of a QPixmap

2015-07-23 Thread hualet
Sorry, I didn’t intend to bother everyone, just forgot to fill the Subject line. I’m really sorry. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QML Text Item: how can I style a ul tag ?

2015-04-08 Thread hualet
Hi Gianluca I suggest that you just forget about it, and create a custom component in QML, it’ll be simpler and easier ;) -- Regards, Hualet ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Is it possible to translate the command line helpversion description

2015-03-13 Thread hualet
I’ve tried installing a translator, it did work either, maybe it just loaded the wrong translation files. The second method is really straight forward, thanks Koehne ;) hualet @ Deepin Inc. mr.asianw...@gmail.com 在 2015年3月14日,上午5:19,Koehne Kai kai.koe...@theqtcompany.com 写道: Like what

Re: [Interest] Does removing 'private slots' from .h files have any advantages? Disadvantages?

2015-03-09 Thread hualet
This official post may help http://qt-project.org/wiki/New_Signal_Slot_Syntax ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QML innershadow

2014-12-17 Thread hualet
Hi Buti, maybe the proper way to achieve the same effect is like this: import QtQuick 2.0 import QtGraphicalEffects 1.0 Item { id: root width: 300 height: 300 Item { id: src anchors.fill: parent Rectangle { id: myRectangle

Re: [Interest] QtQuick: how to connect the signal of an object that was created dynamically?

2014-11-29 Thread hualet
myNewObj.toto.connect(myHandlerDynamicObj); -- myNewObj.toto.connect(function() { myHandlerDynamicObj(myNewObj); }); function myHandlerDynamicObj(myObj) {} You can also use the disconnect the same way On Fri, Nov 28, 2014 at 12:22 AM, hualet mr.asianw...@gmail.com mailto:mr.asianw

[Interest] QtQuick: how to connect the signal of an object that was created dynamically?

2014-11-27 Thread hualet
Hi, dear list, like what I said in the title, is there a way to connect the signal of an object that was created dynamically? thanks ;) ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Listview Highlight Paint Speed

2014-11-07 Thread hualet
It has nothing to do with paint speed, it’s just an animation effect applied when the highlight item changes, you should try to set the highlightResizeDuration and highlightResizeVelecity property. ___ Interest mailing list Interest@qt-project.org

[Interest] Dealing with clipboard under linux

2014-10-10 Thread hualet
I’m using Qt with python under linux, and want to copy some text into clipboard with Clipboard, it works quit well when the program is running, but every time the program’s down, it seems that Qt erase all the text in the clipboard, just don’t know why, any solutions?

[Interest] Is is possible to feed the QFileDialog a default file name?

2014-09-16 Thread hualet
I want to supply a default file name showing the QFileDialog to save some data. is that possible? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [interest] Is is possible to feed the QFileDialog a default file name?

2014-09-16 Thread hualet
Thanks Karl, it works. ;) ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Moving a frameless QQuickWindow to negative position under linux

2014-08-12 Thread hualet
Hi, all There’s a frameless QQuickWindow which contains my actual qml content stuff in my application, and I just used the setX() and setY() method of that window to simulate moving, but it’s not able to move that window to an negative position, such as (-100, -100), please help, thanks.