Adding a enum for code command
Class QFrame created. This class provides us some methods to manage frames.