19 #ifndef SNARK_GRAPHICS_APPLICATIONS_LABELPOINTS_IDEDIT_H_
20 #define SNARK_GRAPHICS_APPLICATIONS_LABELPOINTS_IDEDIT_H_
22 #include <boost/optional.hpp>
24 #include <qlineedit.h>
28 #include <comma/base/types.h>
30 namespace snark {
namespace graphics {
namespace View {
34 class IdEdit :
public QFrame
39 IdEdit( Viewer* viewer );
42 void valueChanged( comma::uint32 );
45 void setValue( comma::uint32 );
46 void handleReturnPressed();
50 boost::optional< comma::uint32 > m_id;
57 #endif // SNARK_GRAPHICS_APPLICATIONS_LABELPOINTS_IDEDIT_H_