Developing UIs is a complex business. State machines can make your life easier when properly used. The Qt toolkit provides a simple State Machine Framework which neatly integrates with Qt widgets, signals and slots and the property system. However, it lacks support of naming states and the state machine and that’s not so nice when in need of debugging a state machine. So, in that post I’ll introduce you to my NamedStateMachine and NamedState as well as a NamedStateMachineInspector that you can use in unit tests or wherever you like. . . . → Read More: A Named QStateMachine
For most of the types in the Variables view you can see a reasonable toString() output below the variables list. However, many types don’t have a type specific implementation of toString(). That’s why the variables view prints you some meaningless default text with a hashcode for such variables. But did you know that you can change that by defining a custom toString() implementation that’s used by the variables view at runtime? Read on! . . . → Read More: Eclipse Tips & Tricks: Detail Formatter
Dresden, Jun. 21st 2011 – There have been some really nice presentations at the democamp in Dresden again.
Jan Köhnlein from itemis AG started with a demonstration of Xtext 2.0. Xtext is a language development framework that you can use to create your own programming language or domain-specific language (DSL). It generates an editor . . . → Read More: Eclipse Democamp Dresden Summary