You can edit the code in your QNX Photon Appbuilder project using both PhAB and the IDE.
Using PhAB, you can control the widgets and the overall layout of your program; using either
PhAB or the IDE, you can edit the code that PhAB generates and specify the behavior of your
callbacks.
To use PhAB to edit the code in a QNX Photon Appbuilder project:
-
In the Project Explorer view, select a QNX Photon Appbuilder project.
-
Click the Open Appbuilder button in the toolbar (). PhAB starts, then opens your project.
Note: If for some reason the
Open Appbuilder button isn't in the C/C++
perspective's toolbar:
- From the main menu, select .
- Select the Commands tab.
- Check Photon Appbuilder Actions.
- Click OK. The Open Appbuilder button
appears in the toolbar.
To use the IDE to edit the code in a QNX Photon Appbuilder project:
- In the Project Explorer view, double-click the file you want to edit. The file opens in an
editor.
If a file that you created with PhAB doesn't appear in the Project Explorer view, right-click
your project and select Refresh.
Note: Editing files using two applications can increase the risk of accidentally overwriting
your changes. To minimize this risk, close the file in one application before editing the
file in the other.