Panel Windows
This records the window’s width, symbol sorting, and symbol type filtering and uses those parameters as the new default for new windows created from now on.
Panel Windows
Panel windows are tool windows that can float in front of the main application window, and they can be docked to various places along the main window. By dragging a floating window to an edge of the main window, you can dock it to the main window. Panel windows can float outside the application window, or even on another monitor.
Below is an example of the Snippet Window floating in front of the main application window. The
Snippet Window is an example of a floating window that stays in front of the main Source Insight window. You can also dock it to the edge of the program window.
A floating panel window
Panel windows have a sticky behavior when you move them close to each other, or the edge of the Source
Insight application window. They will snap to the edge of a neighboring window, and they will automatically resize if an adjacent panel window is resized.
The docked and floating layout of all the panel windows is saved in a layout file. You can quickly load different panel layouts by selecting View > Load Layout..., or clicking one of the A-D layout buttons in Layout toolbar:
Source Insight 4 User Guide 29
Panel Windows
The panel windows are:
•
Project Symbol List
- shows all functions, classes, and other symbols in the project.
•
Project Files List
- shows all files in the project.
•
Project File Type List
- shows all project files, organized by type.
•
Project Folder Browser
- shows the disk and directory structure of a project.
•
Project Symbol Categories
- shows all symbols, organized by symbol type.
•
Context window
- a context sensitive information window.
•
Clips Window
- shows clipboard-like clips for easy copying and pasting.
•
Bookmark Window
- shows a list of bookmarked places.
•
Relation Windows
- shows call trees, class trees, and other relationships.
•
Snippet Window
- manages all code snippets.
•
Window List
- shows all the open file buffer windows.
•
FTP Browser
- connects to FTP servers.
•
File Compare
- shows differences between two files.
•
Directory Compare
- shows differences between two directories.
Docking Panel Windows
Panel windows can be docked to any edge of the main application window. They can be stacked horizontally or vertically. This example shows several panels docked at the side and bottom.
To dock a panel window:
1.
Drag it to the edge of the application window, or to the edge of an existing panel window.
2.
You can also drag it over an existing panel window to split the panel area in half.
30 Source Insight 4 User Guide
Panel Windows
Note:
To get a floating window to dock where you want it, drag it so that the mouse cursor itself is near the edge where you want to dock the window.
A docked panel will be split if you drag another panel over it.
Drag a panel over an existing docked panel to split it in half. Release the mouse button to drop and dock the panel.
Figure 2.1 Dragging a panel over another docked panel to dock it.
Docking Positions
You can dock a panel window in any of the following locations:
•
Any outer edge of the main application window
•
Any inner edge of the main window inside other docked panels.
•
A split point inside another docked panel. Dragging over a docked panel will show a potential docking position that is half the size of the existing panel.
•
You can also leave the panel floating in front or outside of the main window, or on another monitor.
Source Insight 4 User Guide 31
Panel Windows
In the example below, the possible docking positions are highlighted:
Panel Window Controls
Each panel window has a set of window-control buttons in the upper right of its frame. A floating panel can be maximized, or minimized to the Tab Tray area at the bottom of the main window.
Click and drag title bar to move panel.
Double-click to toggle maximize & normal size.
Adjust transparency
Minimize to Tab Tray
Close Panel
The transparency control is only shown if the panel is floating and the "Enable transparent panels" option is enabled inside the Options > Preferences: Display.
32 Source Insight 4 User Guide
Panel Windows
Grouping Panel Windows
Panel windows can be grouped together into a single, tabbed window. In the picture below, the Clips panel is floating by itself on the left, and three other panels are grouped together into a tabbed panel on the right.
Panel Windows Grouped Panel Windows - each has a tab
Minimize
Tab Tray appears at the bottom when you minimize a panel window
To group a panel with another panel:
1.
Click on the source panel’s title bar and drag and drop it in the tab area of another panel window.
To group two non-grouped panels:
1.
Drag the source panel so it hovers over the title bar area of the destination panel. A ghost tab will appear. Release the mouse button to group the panels.
Source Insight 4 User Guide 33
Panel Windows
Un-Grouping Panel Windows
To un-group a panel:
1.
Click and drag on its tab at the top.
2.
Drag it out onto the desktop or other area. The panel will be placed into its own floating panel window.
Using Semi-Transparent Panel Windows
Panel window can be semi-transparent when they are floating. This makes the panel windows a little like a
HUD (Head Up Display) in a game.
Panel transparency is only available if the panel is floating and the "Enable transparent panels" option is
enabled inside the Options > Preferences: Display. See “Display Options” on page 189.
When a panel window is transparent, you can click through it to the text below it, as long as you are not clicking inside an object within the floating window.
34 Source Insight 4 User Guide