If you can't read please download the document
Upload
picker-weng
View
1.308
Download
12
Embed Size (px)
DESCRIPTION
C++ GUI Programming with Qt4 - Chap6
Citation preview
2. Absolute Positioning
3. Some text may be truncated
4. Translate into another language The widget might have inappropriate sizes 5. The positions and sizes must be calculated manually 6. resizeEvent
7. Layout Manager
8. QVBoxLayout 9. QGridLayout 10. Margin & Spacing
11. QLayout::setSpacing() 12. QGridLayout
13. columnSpan = 1 addStretch()
14. QSizePolicy 15. Preferred vs. Expanding
16. Preferredwidgets stay at their size hint. 17. MinimumExpanding & Ignored
18. Replaced by
19. ReimplementminimumSizeHint() 20. Stretch Factor
21. QSizePolicy::setVerticalStretch ( uchar stretchFactor ) 22. QStackedLayout
23. Pages The pages are numbered from 0 24. Make a specific child widget visible
25. An Example of Preferences Dialog QListWidget QStackedLayout 26. Splitters
27. Contain other widgets 28. Automatically placed side by side in the order in which they are created 29. An Example of Splitters 30. An Example of The Mail Client's Splitter Layout 31. An Example of The Mail Client's Splitter Layout (cont.)
32. Scrolling Areas
33. Call setWidget() member function 34. setWidgetResizable() 35. ScrollBarPolicy
36. setVerticalScrollBarPolicy() 37. 38. Dock Windows 39. Dock Windows (cont.) 40. Dock Windows (cont.)
41. SetFeatures()
setAllowedAreas() 42. QMainWindow::setCorner() 43. Save the states
44. QMainWindow::restoreState() 45. Dock Windows (cont.) 46. Tool Bar 47. Tool Bar (cont.) 48. Tool Bar (cont.) 49. Multiple Documemt Interface (MDI) 50. MDI (cont.)
51. MDI (cont.) 52. Qt-specific Command-Line Options
font 53. graphicssystem
Arguments
54. Qt-specific Command-Line Options 55. Add a New Sub-window 56. Other Sub-window Operations
57. closeAllSubWindow() 58. tileSubWindow() 59. cascadeSubWindow()