After connecting, the main window appears. It holds a ribbon at the top, one or more editor documents in the middle, and a row of dockable panels below.
![[20260809-qt-main-window.png]]
## Ribbon
The ribbon has two tabs. Above them sits a quick access toolbar with "Save".
"General" carries the daily work:
- Actions: "Execute" runs the statement under the cursor, "Execute All" runs every statement in the document.
- Connection: a split button naming the database currently connected as `<group>\<database>`, a menu to choose the [[Invantive UniversalSQL/General/Partitioning|partitions]] to work on, and "Preferences".
- Tools: "Data Cache", "Invantive Data Loader" and "Describe Object".
- Help: "Product Forums" and a split button "Help".
"Editor" carries the text handling of the document:
- Undo: "Undo" and "Redo".
- Clipboard: "Cut", "Copy" and "Paste".
- Edit: "Find", "Replace" and "Select All".
- Goto Line.
- View: "Wrap char", "Wrap word" and "Wrap none", and a list "Language" which sets the syntax highlighting of the document.
## Documents
Statements are written in documents which appear as tabs, starting with `New.sql`. A tab whose name carries an asterisk holds changes which have not been saved. Each tab closes on its own.
## Panels
Below the documents sit the panels, each of which can be docked, hidden or pinned:
- "Available Objects": the tables, views and procedures reachable through the current connection;
- "Results": the rows returned by the last statement, see [[Invantive Query Tool/Results|Results]];
- "History": the statements executed earlier;
- "DBMS Output": the output written by a [[Invantive UniversalSQL/Grammar/Statement Types/PSQL Block|PSQL block]];
- "Explain Plan": how the engine intends to execute a statement;
- "Trace": the technical trace of the execution.