MarkerNamespace::MarkerNamespace( const QString& name, Property* parent_property, MarkerDisplay* owner ) : BoolProperty( name, true, "Enable/disable all markers in this namespace.", parent_property ) , owner_( owner ) { // Can't do this connect in chained constructor above because at // that point it doesn't really know that "this" is a // MarkerNamespace*, so the signal doesn't get connected. connect( this, SIGNAL( changed() ), this, SLOT( onEnableChanged() )); }
Display::Display() : context_( 0 ) , scene_node_( NULL ) , status_( 0 ) , initialized_( false ) , visibility_bits_( 0xFFFFFFFF ) , associated_widget_( NULL ) , associated_widget_panel_( NULL ) { // Make the display-enable checkbox show up, and make it unchecked by default. setValue( false ); connect( this, SIGNAL( changed() ), this, SLOT( onEnableChanged() )); }
Display::Display() : context_( 0 ) , scene_node_( NULL ) , status_( 0 ) , initialized_( false ) , visibility_bits_( 0xFFFFFFFF ) , associated_widget_( NULL ) , associated_widget_panel_( NULL ) { // Needed for timeSignal (see header) to work across threads qRegisterMetaType<ros::Time>(); // Make the display-enable checkbox show up, and make it unchecked by default. setValue( false ); connect( this, SIGNAL( changed() ), this, SLOT( onEnableChanged() )); setDisableChildrenIfFalse(true); }