Warning, /utilities/okteta/designer/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMAddQtDesignerPlugin) 0002 0003 set(ByteArrayRowView_CREATE_WIDGET_CODE 0004 " 0005 auto* widget = new Okteta::ByteArrayRowView(parent); 0006 widget->setByteArrayModel(createFillerByteArrayModel(widget)); 0007 return widget; 0008 ") 0009 ecm_qtdesignerplugin_widget(ByteArrayRowView 0010 CLASS_NAME "Okteta::ByteArrayRowView" 0011 TOOLTIP "Row oriented Viewer/Editor for Byte Arrays" 0012 WHATSTHIS "A widget to show and edit byte arrays provided by subclasses of Okteta::AbstractByteArrayModel" 0013 CREATE_WIDGET_CODE_FROM_VARIABLE ByteArrayRowView_CREATE_WIDGET_CODE 0014 ) 0015 0016 set(ByteArrayColumnView_CREATE_WIDGET_CODE 0017 " 0018 auto* widget = new Okteta::ByteArrayColumnView(parent); 0019 widget->setByteArrayModel(createFillerByteArrayModel(widget)); 0020 return widget; 0021 ") 0022 ecm_qtdesignerplugin_widget(Okteta::ByteArrayColumnView 0023 TOOLTIP "Column oriented Viewer/Editor for Byte Arrays" 0024 WHATSTHIS "A widget to show and edit byte arrays provided by subclasses of Okteta::AbstractByteArrayModel" 0025 CREATE_WIDGET_CODE_FROM_VARIABLE ByteArrayColumnView_CREATE_WIDGET_CODE 0026 ) 0027 0028 ecm_add_qtdesignerplugin(oktetadesignerplugin 0029 NAME OktetaWidgets 0030 OUTPUT_NAME oktetawidgets 0031 WIDGETS 0032 ByteArrayRowView 0033 Okteta::ByteArrayColumnView 0034 DEFAULT_GROUP "Okteta" 0035 DEFAULT_HEADER_EXTENSION "hpp" 0036 INCLUDE_FILES "\"fillerbytearraymodel.hpp\"" 0037 SOURCES fillerbytearraymodel.cpp 0038 LINK_LIBRARIES 0039 OktetaGui 0040 OktetaCore 0041 INSTALL_DESTINATION "${KDE_INSTALL_QTPLUGINDIR}/designer" 0042 ) 0043 0044 if( OKTETA_BUILD_EXAMPLES ) 0045 add_subdirectory(examples) 0046 endif()