Menu

#13 Moving TABs

open
nobody
None
5
2007-04-24
2007-04-24
Centurion
No

I wonder if it's possible to move TABs and sort it as user wants. It's possibile in Opera which is also using QT so I guess it should work with wxDCGUI.

Discussion

  • Edward Sheldrake

    Logged In: YES
    user_id=1639740
    Originator: NO

    Unfortunately I don't see anything in http://doc.trolltech.com/3.3/qtabwidget.html to allow this. So it would take a lot of work (make a new class to extend QTabWidget and add the requested functionality).

     
  • AlleyJazz

    AlleyJazz - 2008-06-29

    Logged In: YES
    user_id=1888221
    Originator: NO

    an idea which would come close to the requested feature: find a way to adjust the order of the auto-connected hubs on startup.

    Right now, they get opened in alphabetical order. So if there was a way to get them opened in the same way as they are arranged in the Bookmarks, and then find a way to arrange the order in the bookmarks (maybe with up/down buttons) it would help a lot.
    Also hubs aren't opened or closed as frequently as homepages in a browser usually.

    A totally different approach would be to have more than one line for the tabs to avoid having to scroll right or left to reach the hub you want. The number of these lines could be settable for users who want to see more of the chat instead.

    AlleyJazz

     
  • Edward Sheldrake

    Logged In: YES
    user_id=1639740
    Originator: NO

    Unfortunately bookmarks are stored in dclib, accessible either by hubname or by hubhost. But ordering the bookmarks is fairly easy, and it doesn't really matter how it's done because the list of them is small.

    Multiple lines of tabs or moveable tabs is more difficult, neither are supported even in QT 4.4, although there might be some KDE code that could be imported, I didn't check before.

     
  • Edward Sheldrake

    Logged In: YES
    user_id=1639740
    Originator: NO

    Yes using code based on KDE looks good for movable tabs. Although I don't want to end up including half of KDE with valknut, I need to cut out only the bits actually needed.

     
  • Edward Sheldrake

    Logged In: YES
    user_id=1639740
    Originator: NO

    Attempting to make manual ordering of the bookmarks co-exist with being able to sort them by clicking the column header is being ridiculously difficult.

    Also, this is the kind of feature that gets written once and then I never use it again.

     
  • Edward Sheldrake

    Logged In: YES
    user_id=1639740
    Originator: NO

    The final, hopefully working properly, version of the bookmark order adjusting code has been committed to svn.

    There is a save button, but it should never actually be needed since bookmarks are automatically saved when necessary.

    Also, keep a copy of your dcbookhub.cfg just in case, I managed to lose some bookmarks while testing the numerous broken versions, mainly because editing a bookmark or profile involves deleting it then adding the new one.

     

Log in to post a comment.

Auth0 Logo