examples: Rename minimal_mdi to mdi
There's not much functionality to show, so no point in saying it's minimal
This commit is contained in:
@@ -355,7 +355,7 @@ if(KDDockWidgets_EXAMPLES)
|
||||
if(KDDW_FRONTEND_QTWIDGETS)
|
||||
add_subdirectory(examples/dockwidgets)
|
||||
add_subdirectory(examples/minimal)
|
||||
add_subdirectory(examples/minimal-mdi)
|
||||
add_subdirectory(examples/mdi)
|
||||
add_subdirectory(examples/mdi_with_docking)
|
||||
set_compiler_flags(qtwidgets_dockwidgets)
|
||||
set_compiler_flags(qtwidgets_minimal)
|
||||
|
||||
@@ -50,10 +50,10 @@
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"name": "qtwidgets_minimal_mdi",
|
||||
"name": "qtwidgets_mdi",
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build-dev/bin/examples/qtwidgets_minimal_mdi",
|
||||
"program": "${workspaceFolder}/build-dev/bin/examples/qtwidgets_mdi",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
@@ -104,10 +104,10 @@
|
||||
"externalConsole": false
|
||||
},
|
||||
{
|
||||
"name": "msvc-qtwidgets_minimal_mdi",
|
||||
"name": "msvc-qtwidgets_mdi",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build-dev/bin/examples/qtwidgets_minimal_mdi",
|
||||
"program": "${workspaceFolder}/build-dev/bin/examples/qtwidgets_mdi",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"stopAtEntry": false,
|
||||
@@ -125,4 +125,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,10 +50,10 @@
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
{
|
||||
"name": "qtwidgets_minimal_mdi",
|
||||
"name": "qtwidgets_mdi",
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build-dev6/bin/examples/qtwidgets_minimal_mdi",
|
||||
"program": "${workspaceFolder}/build-dev6/bin/examples/qtwidgets_mdi",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
@@ -104,10 +104,10 @@
|
||||
"externalConsole": false
|
||||
},
|
||||
{
|
||||
"name": "msvc-qtwidgets_minimal_mdi",
|
||||
"name": "msvc-qtwidgets_mdi",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build-dev6/bin/examples/qtwidgets_minimal_mdi",
|
||||
"program": "${workspaceFolder}/build-dev6/bin/examples/qtwidgets_mdi",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"stopAtEntry": false,
|
||||
@@ -125,4 +125,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
|
||||
cmake_minimum_required(VERSION 3.7)
|
||||
project(qtwidgets_minimal_mdi)
|
||||
project(qtwidgets_mdi)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
@@ -24,15 +24,15 @@ endif()
|
||||
|
||||
set(RESOURCES_EXAMPLE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/../dockwidgets/resources_example.qrc)
|
||||
|
||||
add_executable(qtwidgets_minimal_mdi
|
||||
add_executable(qtwidgets_mdi
|
||||
main.cpp
|
||||
../dockwidgets/MyWidget.cpp
|
||||
${RESOURCES_EXAMPLE_SRC}
|
||||
)
|
||||
|
||||
set_target_properties(qtwidgets_minimal_mdi PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples/" )
|
||||
set_target_properties(qtwidgets_mdi PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/examples/" )
|
||||
|
||||
target_link_libraries(qtwidgets_minimal_mdi
|
||||
target_link_libraries(qtwidgets_mdi
|
||||
PRIVATE
|
||||
KDAB::kddockwidgets
|
||||
)
|
||||
Reference in New Issue
Block a user