On Friday 17 February 2012 13:01:36 Marco van Wieringen wrote:
> On 02/17/12 11:59 AM, Silver Salonen wrote:
> > On Friday 17 February 2012 11:34:16 Marco van Wieringen wrote:
> >> On 02/17/12 11:08 AM, Silver Salonen wrote:
> >>> Actually I was talking about pools' view and in there I have felt the
> >>> need to sort volumes by their sizes, by their last written date etc.
> >>> Currently I have to sort them by going to the server and look at the
> >>> files in command line.
> >> Ok both can be done in the media view but if you think you can get it
> >> working by extending the tree view I would
> >> say give it a try. I think it will be quite some work though but indeed
> >> you can borrow some of the stuff from the
> >> other widget class for sorting.
> >
> > OK, so back to my original request :)
> >
> > Is there anyone who could assist me with the Qt issue?
> >
> What is your "QT issue", you link to a thread about sorting which is solved
> in the current version of BAT. If you have an issue with sorting the
> tree items I guess you should just clone the approach used for
> the tablewidget class. As far as I can see the QTreeWidget is
> a standard qt class so you either need to overload it with an
> own class or look in the default class on how to sort things
> there.
The issue is not solved - it's written in there: "I suppose there is a way to
have QT sort properly, but at this time I haven't found one, so perhaps the
best solution is to disable column sorting."
And when I look at the code then the overloading code is implemented for
QTableWidget, but not for QTreeWidget and this is what I would need help with.
I tried to do it, but I didn't manage.
So what I'd like to ask someone is that why isn't the custom sorting code
implemented for QTreeWidget as well.
> I think there are next to no developers doing things on BAT other
> then people working for Bacula Systems. So unless they want to help
> out I think you have guessed by the enormous response up until now
> it is not a very active area of expertise found in the community.
So I should write directly to Bacula Systems then?
--
Silver
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel