2.1. Pages

In flair each tab corresponds to a specific page and a separate action of the program. The user can configure by drag-n-drop the order of the tabs as well which ones should appear permanently or are accessible under the dynamic tab.

For detail information on each tab and the associate ribbon actions please go to the appropriate section in the manual

  • Flair project related I/O functions (save, load, start from template, etc…) display the project title and project notes.

  • Input Editor editing of the FLUKA input file

  • Geometry Editor interactive 2D and 3D geometry editor

  • Run running, inspecting the output files and data processing

  • Plot tab plot creation

  • Calculator scientific calculator with FLUKA constants and physics functions

  • Compile compilation of FLUKA executable

  • Dicom DICOM importing to Voxel or USRBIN

  • Elements periodic table of elements

  • Materials material database

  • Output output viewer

  • Pet automatic PET geometry creation

  • Viewer file viewer

The Flair window contains the following:
  1. tab bar containing the program tabs, the dynamic or hidden tabs and quick access to the important actions save, undo/redo, help

  2. a dynamic Ribbon with all actions for the selected page

  3. one or many program pages (user configurable)

  4. an auto hide Notification dialog

  5. a Status bar

  6. quick access buttons to the output page and preferences

grab-interface.gif

2.1.1. Ribbon

The ribbon is a combined menu and tool bar. It contains all possible actions for the active page grouped by category and importance (based on frequency of usage).

grab-ribbon-input.gif

Importance

Representation

High

bigger buttons with the text description underneath (e.g. paste)

Normal

standard buttons together with text description on the right side (e.g. cut)

Low

only with the standard button

Lower

under a drop down menu (e.g. Show) visible with the triangle_down.gif icon

Note

  • also the group labels can have a drop down menu (e.g. Filter)

  • the order of commands is arranges logically from left-to-right, with the most important (or execute action) on the right

2.1.1.1. Clipboard

The “Clipboard” group is always present in the ribbon and it acts on the focused item

Clipboard group

Label

Shortcut

Description

paste32.gif Paste

Ctrl-v

Paste current selected item

Shift-Ctrl-v

Special Paste current selected item

cut.gif Cut

Ctrl-X

Cut text, cards, plots

copy.gif Copy

Ctrl-C

Copy text, cards, plots

2.1.2. Notification dialog

The notification dialog appears on the lower-right corner of the program for a limited duration. It displays information, warnings or error messages and prompts the user to go to the output page to visualize them

grab-notification-dialog.gif

Colors:

  • Green: normal message

  • Yellow: warning

  • Red: error

Note

  • The window hides automatically after a certain period.

  • Moves the mouse over the window to restart the time counter.

  • Click anywhere on the window to hide it

  • Click on the button (if shown) to go to the proposed action

  • Ctrl-o toggle opens output from anywhere

2.1.3. Status bar

grab-statusbar.gif

The status bar at the bottom of each flair window display useful information about the present flair project

Inp:

The current input file. A “+” character at the end means that the current input has been modified

Exe:

The default executable to use when running the input

Dir:

The project directory

:

The last field display information according the active frame

2.1.4. Customization

Tabs, windows, layout is fully customizable

2.1.4.1. Mouse actions on tabs

Action

Description

Click

on a tab to display or activate it

Click triangle_down.gif

to display the dynamic tabs

Ctrl-Click

to display and PIN it

Click and Drag
Left-Right

to re-arrange position, or move to/from the dynamic position

Click and Drag
Up-Down

to undock on a separate window

Double Click

to hide/display the ribbon

2.1.4.2. Mouse actions on windows

Action

Description

Click

on the title bar to activate

Click and Drag

on the title bar to move and reposition the window. See Windows tiling

Click and Drag

on the separation lines between windows to resize them

pin_button.gif

pin/unpin selected page. PINning allows multiple pages to be displayed at the same time inside the flair window

max_button.gif

maximize current window

close_button.gif

close current window

2.1.4.3. Windows tiling

Multiple pages can be displayed at the same time. By clicking the pin pin_button.gif on the window title bar or by Ctrl-Clicking the tab.

Warning

only the ribbon of the active window (the one having the focus) will be displayed

Once you have multiple windows you can re-arrange their position by dragging their title bar.

Example: Assume the following window layout

grab-windows.gif

the possible dragging locations are:

  • close to the borders of flair main window (Yellow zones in the following figure), to occupy half of the flair space (half-top, half-bottom, half-right, half-left)

grab-windows1.gif
  • close to the border of another window to occupy half of the space of the other window (Green zones)

grab-windows2.gif
  • in the center of another window to be swapped with the other one (Blue zones)

grab-windows3.gif

2.1.5. Keyboard Shortcuts

The following are a list of keyboard shortcuts without a menu item. For all other shortcuts please look at Ribbon

Everywhere

Shortcut

Description

Ctrl-S save.gif

save project

Ctrl-Z undo.gif

undo last action

Ctrl-Y redo.gif

redo last undo

Ctrl-X cut.gif

cut select items

Ctrl-C copy.gif

copy select items

Ctrl-V paste.gif

paste previously cut/copied items

Ctrl-D clone.gif

clone selected item

Ctrl-O output.gif

Toggle open/close output window

F1 info.gif

open Help for selected item

F2

rename current object

Ctrl-Enter

Execute default command of each frame

Ctrl-Space

Open the popup menu (equivalent to Right-Mouse-Click)

Listbox only

Shortcut

Description

Ctrl-A

Select All

Ctrl-Shift-A

Select None

Ctrl-H

Search and replace text

Ctrl-G

Find next match

Space

Select current item