Results 1 to 11 of 11

Thread: Reducing width of maintoolbar

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2013
    Location
    Chandigarh, India
    Posts
    62
    Thanks
    8
    Thanked 11 Times in 7 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Reducing width of maintoolbar

    I want to reduce the width of maintoolbar in my gui app and I have tried something like this..

    Qt Code:
    1. ui->mainToolBar->setFixedWidth(400);
    To copy to clipboard, switch view to plain text mode 

    But still the entire toolbox is visible on the main window. Here is its image.


    img1.jpg


    I wish to do something like this...

    img2.jpg

    Can anyone help me out ??
    Last edited by aaditya190; 18th December 2013 at 11:02.

  2. The following user says thank you to aaditya190 for this useful post:


Similar Threads

  1. How to hide the mainToolBar automatically?
    By drunknight in forum Qt Programming
    Replies: 7
    Last Post: 3rd December 2013, 13:30
  2. Reducing CPU Usage
    By Kapil in forum Qt Programming
    Replies: 8
    Last Post: 3rd April 2011, 14:43
  3. Replies: 3
    Last Post: 5th August 2009, 21:15
  4. Reducing deployment size
    By zoharl in forum Installation and Deployment
    Replies: 3
    Last Post: 11th March 2008, 20:16
  5. Reducing latency in mouse moves
    By PhilFM in forum Qt Programming
    Replies: 4
    Last Post: 6th September 2007, 09:38

Tags for this Thread

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.