I have more info about UTIL_PushButton class.
First I can create UTIL_PushButton without seg.fault by assigned it a resource id. But It doesn't display resource it still CST button.
Code:
UTIL_PushButton *btn1 = new UTIL_PushButton( "InSet_Picker_Date", this );
And I try another by create UTIL_PushButton with both resource id and text. It still the same as above. Button still CST but have text overlay on it.
Code:
//UTIL_PushButton *normal = new UTIL_PushButton( "MessCe_Msg_Play", "Play", this );
But If I create UTIL_PushButton with text only or with out text and without resource id. It cause a segmentation fault.
Code:
UTIL_PushButton *normal = new UTIL_PushButton( "Test", this ); // seg. fault
or
UTIL_PushButton *normal = new UTIL_PushButton( this, 0 ); // seg. fault
and I found that UTIL_PushButton make QVBoxLayout display a messy statusbar.