Next Previous Contents

4. Commands

This section describes the commands which are available on the menu bar.

Some of them are also available on the tool bar.

The edit commands are also available in a popup menu (right click on the mouse).

4.1 File menu

New

Use this command to create a new text.

Shortcut keys : Ctrl+N

Open

Use this command to open an existing file.

Shortcut keys : Ctrl+O

Save

Use this command to save the text of the active window in its file.
When you save a new text, JcQt4develop runs the "Save as" command.

Shortcut keys : Ctrl+S

Save as

Use this command to save the document in the active window under a new name.

Exit

Exit the application.

If you have created a new text (or modified an existing text) without saving it, JcQt4develop asks you if you want to save your work before closing the window and exiting the application.

Shortcut keys : Ctrl+Q

4.2 Edit menu

The commands of this menu concern the editors windows (MDI :

Undo

This command allows you to annul the last modification you did, if possible. It is then possible to retrieve your modifications with the command "Redo".

Shortcut keys : Ctrl+Z

Redo

Annul the last "Undo" operation, if possible.

Shortcut keys : Ctrl+Y

Cut

Cut the current selection's contents and place it in the clipboard.

Shortcut keys : Ctrl+X

Copy

Copy the current selection's contents to the clipboard.

Shortcut keys : Ctrl+C

Paste

Paste the clipboard's contents into the current selection.

Shortcut keys : Ctrl+V

Find

Search for a word or an expression in the active window. A dialog box allows the user to enter the word he wants to find and a check box allows to define if it is case sensitive or not. After clicking Ok, the text is searched from the cursor position.

Shortcut keys : Ctrl+F

Replace

A dialog box allows the user to enter the word he wants to find and the word which will replace it. A check box allows to define if it is case sensitive or not. After clicking Ok, the text is searched from the cursor position. If the text is found, it is replaced.

Shortcut keys : Ctrl+R

Repeat Find/Replace

Repeat the last Find OR Replace action.

Shortcut keys : F3

Go to line

A dialog box allows the user to enter the number of the line he wants to reach. After clicking Ok, the line is displayed with the cursor at its beginning.

Shortcut keys : F5

4.3 Window menu

The commands of this menu concern the editors windows (MDI : Multiple Documents Interface)

Close

Close the activ editor window.

Shortcut keys : Ctrl+F4

Close all

Close all the activ editor windows.

Tile

Tile the editor windows.

Cascade

Cascade the editor windows.

Horizontal Tile

Tile the editor windows horizontaly.

Arrange icons

Arrange the editor windows icons at the bottom of the main MDI window.

File Toolbar

Shows or hides the File toolbar.

Edit Toolbar

Shows or hides the Edit toolbar.

Project Toolbar

Shows or hides the Project toolbar.

Compiler messages

Shows or hides the "compiler messages window".

Next

Give the focus to the next editor window in the list of opened editor windows.

Shortcut keys : Ctrl+F6

Previous

Give the focus to the previous editor window in the list of opened editor windows.

Shortcut keys : Ctrl+Shift+F6

Opened windows list

Displays the list of the opened editor windows.

4.4 Project menu

voir également 3.3 Projects management

Project directory

Selects the directory where are placed the files of the project.
The directory name = the project name.

It is possible to create a directory for a new project (it will be empty) or to choose an existing directory which contains all or a part of the files for th project.

The choosen directory will be used as default directory to open the files in editors.

Project file

Generate the .pro file according to the files in the project directory.
(launch the command : qmake -project)

Makefile

Generate the Makefile files.
(launch the command : qmake)

Build

Build the project, create the executable file.
(launch the command : make)

The compiler messages are displayed on the "compiler messages window" :

The modified source files may be saved before building the project according to the user preferences(see preferences command)

Shortcut keys : F8

Build and Run

Build the project and launch the created executable file.

Shortcut keys : F9

Run

Launch the previously created executable file.

Shortcut keys : F10

Clear messages window

Wears off the text contained in the "compiler messages window".

4.5 Tools menu

Qt Assistant

Launch Qt Assistant

Qt Designer

Launch Qt Designer

Qt Linguist

Launch Qt Linguist

Translations files

Create or update the translations files .ts
(launch the command : lupdate -verbose for the current project)

The translations have to be made the with Qt Linguist, which allows to compile the .ts files to create the .qm corresponding files.

Preferences JcQt4develop

This command allows to define the user preferences :

The preferences are saved :

and read on each JcQt4develop startup.

Configure JcQt4develop (Windows only)

The command Configure JcQt4develop allows the user to configure JcQt4develop. It is mandatory to execute it before the first use of the projects commands.

The user have to give the following informations (see Qt documentation) :

These informations are saved in the file jcqt4develop.cfg placed in the same directory as jcqt4develop.exe and they are read on each startup of JcQt4develop.

4.6 Help menu

Help

Open the current manual.

Shortcut keys : F1

About

Shows the application about box.

About Qt

Shows the Qt library's about box.


Next Previous Contents