![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2011
Device: none
|
![]()
I would like to make the central widget to be larger and want to put the right hand side table of content dockwidget to left.
MainWindow.cpp Code:
m_TableOfContents = new TableOfContents( this ); m_TableOfContents->setObjectName( TABLE_OF_CONTENTS_NAME ); //addDockWidget( Qt::RightDockWidgetArea, m_TableOfContents ); addDockWidget( Qt::LeftDockWidgetArea, m_TableOfContents ); :-1: error: ERROR: file copy failed from "/Developer/Applications/Qt/plugins/accessible/libqtaccessiblewidgets.dylib" :-1: error: ERROR: file copy failed from "/Developer/Applications/Qt/plugins/bearer/libqgenericbearer.dylib" .....30 errors. Then, I deleted the target build and re-run cmake then build, it is ok and no build error. However, the right hand side table of content dockwidget does not place in the left hand side under Book Browser. The layout I want is http://doc.trolltech.com/4.7/mainwin...ckwidgets.html (just put the "Letter" central widget to right hand side) My questions: 1. How should I edit the code addDockWidget( Qt::LeftDockWidgetArea, m_TableOfContents ); 2. How should I rebuild the project after changing code in QT? For a first time build, it takes 20 mins to build all projects. I do not want to build all, just rebuild the changed project. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing default Code on new Item | andymillson | Sigil | 0 | 01-09-2011 04:13 PM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |
Changing font for code view mode | matthewyi | Sigil | 2 | 11-05-2009 02:20 PM |
Build quaility | GA Russell | Which one should I buy? | 13 | 09-15-2009 07:26 AM |
iLiad Trying to build Thunderbird | Adam B. | iRex Developer's Corner | 3 | 04-25-2007 04:33 AM |