28.10.2014 Views

CSCI 102

CSCI 102

CSCI 102

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Proper Toolbar with Qt<br />

‣ Create a new class that inherits from QToolBar<br />

‣ Put your actions in this class<br />

‣ Put the connect statements for each action in this<br />

class<br />

‣ Put the methods for each connect statement in<br />

this class<br />

‣ For PA4, you need 3 buttons – start game, quit<br />

game, run A*. That can be 3 QAction objects with<br />

3 connect statements, and 3 methods for handling<br />

the actions.<br />

© Copyright 2013 Brent Nash & Mark Redekopp, All Rights Reserved<br />

10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!