Results 1 to 3 of 3

Thread: KDE + Qt --- Questions

  1. #1
    Join Date
    Mar 2006
    Posts
    172
    Thanks
    30
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question KDE + Qt --- Questions

    The Kpanel a.k.a kicker, can be oriented along the four border of the screen and has a given width...how does Qt achieve this configuration??

    - How to align my tool-bar-window (i.e. it's a separate frameless widget window) similarly on the desktop...i.e. It should always be located at the right side (or any side) of the desktop window...Do i need to perform absolute calculations to achieve this by using setGeometry or Do I need to do some Xlib programming for this!!

    -How does the divit, which hides the KDE panel work...I mean how can this effect be achieved in Qt4?

    -What type of a widget is the KDesktop?
    is it something like: QListView+QDirModel????


    Thanks

    Nupul.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: KDE + Qt --- Questions

    Quote Originally Posted by nupul
    The Kpanel a.k.a kicker, can be oriented along the four border of the screen and has a given width...how does Qt achieve this configuration??
    It doesn't KDE does that.

    But seriously I don't see the problem. You can position a top level widget wherever you want using methods such as QWidget::move().

    - How to align my tool-bar-window (i.e. it's a separate frameless widget window) similarly on the desktop...i.e. It should always be located at the right side (or any side) of the desktop window...Do i need to perform absolute calculations to achieve this by using setGeometry or Do I need to do some Xlib programming for this!!
    You can use QDesktopWidget (achievable through QApplication::desktop()) to find out the desktop's dimensions and alter your widget according to your needs.

    -How does the divit, which hides the KDE panel work...I mean how can this effect be achieved in Qt4?
    What exactly? The animation? Use QTimer.

    -What type of a widget is the KDesktop?
    is it something like: QListView+QDirModel????
    It's best to look at its sources and find out yourself. It's probably a completely custom widget.

  3. #3
    Join Date
    Jan 2006
    Location
    Minsk, Brest, Belarus
    Posts
    54
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Exclamation Re: KDE + Qt --- Questions

    Please, learn C++ before trying use QT...

Similar Threads

  1. QTreeView questions about view doubles and more
    By davisjamesf in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2007, 00:39
  2. Memory management questions (im new to Qt)
    By scarvenger in forum Qt Programming
    Replies: 2
    Last Post: 6th May 2007, 07:41
  3. 2 Questions about layouts
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 26th February 2006, 13:54
  4. Qt related questions and thoughts about getting job
    By AlexKiriukha in forum General Discussion
    Replies: 4
    Last Post: 26th January 2006, 12:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.