Results 1 to 10 of 10

Thread: QTableView Splitter and pictures

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: QTableView Splitter and pictures

    If you have a QMainWindow in your application then you should use, in one of the main window's members:
    Qt Code:
    1. setCentralWidget(splitter);
    To copy to clipboard, switch view to plain text mode 
    You should browse through the Qt examples. You can find a lot of useful stuff there, including splitters and main windows.

  2. #2
    Join Date
    Dec 2007
    Location
    Groningen Netherlands
    Posts
    182
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16
    Thanked 2 Times in 1 Post

    Default Re: QTableView Splitter and pictures

    He Marcel,

    I gave up on the splitter for now, as this is my first linux/qt project I thought i'd better start with something more modest, also because I want to learn the designer.

    Thanks for the help,.

  3. #3
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: QTableView Splitter and pictures

    Quote Originally Posted by JeanC View Post
    I gave up on the splitter for now, as this is my first linux/qt project I thought i'd better start with something more modest, also because I want to learn the designer.
    Designer is just a tool. There is nothing you can do in Designer that you can't do in code.
    So my suggestion is to start browsing the examples and look at their sources. This is the only way you can learn.
    Playing with designer now will lead you nowhere.

  4. #4
    Join Date
    Dec 2007
    Location
    Groningen Netherlands
    Posts
    182
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    16
    Thanked 2 Times in 1 Post

    Default Re: QTableView Splitter and pictures

    I understand and you are probably right in terms of learning proces. Still I like to play with designer a bit, call me pigheaded if you like, but I want to be able to use that tool for quick design.

    I have located the examples and I am still seeing things for the first time but I am learning and I will probably be on my way in a few days.

    Thanks.

    Quote Originally Posted by marcel View Post
    Designer is just a tool. There is nothing you can do in Designer that you can't do in code.
    So my suggestion is to start browsing the examples and look at their sources. This is the only way you can learn.
    Playing with designer now will lead you nowhere.

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
  •  
Qt is a trademark of The Qt Company.