Lua: Remove wizard meta files

We removed the wizard stuff from lua, but I forgot to remove the documentation

Change-Id: I9d96d1d38ed4090c51361ee1e37fedb5a7358870
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-05-31 08:14:38 +02:00
parent b87e3a53db
commit 4bbbf29e7d
3 changed files with 0 additions and 64 deletions

View File

@@ -39,7 +39,6 @@ add_qtc_plugin(Lua
meta/simpletypes.lua
meta/utils.lua
meta/widgets.lua
meta/wizard.lua
# generateqtbindings.cpp # Use this if you need to generate some code.
)
@@ -66,7 +65,6 @@ set(META_FILES
meta/simpletypes.lua
meta/utils.lua
meta/widgets.lua
meta/wizard.lua
)
qtc_copy_to_builddir(copy_lua_meta_files

View File

@@ -68,7 +68,6 @@ QtcPlugin {
"simpletypes.lua",
"utils.lua",
"widgets.lua",
"wizard.lua",
]
qbs.install: true
qbs.installDir: qtc.ide_data_path + "/lua/meta/"

View File

@@ -1,61 +0,0 @@
---@meta Wizard
---@module "Layout"
local Layout = require("Layout")
---@module "Core"
local Core = require("Core")
local wizard = {}
---@class (exact) WizardFactoryOptions
---@field id string
---@field displayName string
---@field description string
---@field category string
---@field displayCategory string
---@field icon? string
---@field iconText? string
---@field factory function A function returning a Wizard
--- Registers a wizard factory.
---@param options WizardFactoryOptions
function wizard.registerFactory(options) end
---@class Wizard
Wizard = {}
---@class (exact) WizardPageOptions
---@field title string
---@field layout LayoutItem
---@field initializePage? function The function called before showing the page
---Add a page to the wizard
---@param options WizardPageOptions
function Wizard:addPage(options) end
---@class SummaryPage
Wizard.SummaryPage = {}
---Set the files to be shown on the summary page
---@param generatedFiles Core.GeneratedFile[]
function Wizard.SummaryPage:setFiles(generatedFiles) end
---@class SummaryPageOptions
---@field title? string
---@field initializePage? function The function called before showing the page
---Add a summary page to the wizard
---@param options SummaryPageOptions
---@return SummaryPage
function Wizard:addSummaryPage(options) end
---@class WizardOptions
---@field fileFactory function A function returning a GeneratedFile[]
---Create a wizard
---@param options WizardOptions
---@return Wizard
function wizard.create(options) end
return wizard