addContentDialog
0
0
642
593
Content Item
true
-
-
Content type:
-
-
Macro
-
Preference Pack
-
Workbench
-
If this is the only thing in the Addon, all other metadata can be inherited from the top level, and does not need to be specified here.
This is the only item in the Addon
true
-
Qt::Horizontal
40
20
-
0
-
Main macro file
-
The file with the macro's metadata in it
-
Browse...
-
Preference Pack Name
-
-
Workbench class name
-
Class that defines "Icon" data member
-
-
Subdirectory
-
-
Optional, defaults to name of content item
-
Browse...
-
Icon
-
-
actualIcon
-
Optional, defaults to inheriting from top-level Addon
-
Browse...
-
-
Tags...
-
Dependencies...
-
FreeCAD Versions...
-
Qt::Horizontal
40
20
-
Qt::Vertical
QSizePolicy::Fixed
20
20
-
Other Metadata
-
Displayed in the Addon Manager's list of Addons. Should not include the word "FreeCAD".
-
true
-
Version
-
Description
Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop
-
-
Semantic (1.2.3-beta) or CalVer (2022.08.30) styles supported
-
Set to today (CalVer style)
-
Display Name
-
-
50
true
false
Any fields left blank are inherited from the top-level Addon metadata, so technically they are all optional. For Addons with multiple content items, each item should provide a unique Display Name and Description.
true
-
Qt::Horizontal
QDialogButtonBox::Cancel|QDialogButtonBox::Ok
buttonBox
accepted()
addContentDialog
accept()
248
254
157
274
buttonBox
rejected()
addContentDialog
reject()
316
260
286
274
addonKindComboBox
currentIndexChanged(int)
stackedWidget
setCurrentIndex(int)
134
19
320
83
singletonCheckBox
toggled(bool)
otherMetadataGroupBox
setHidden(bool)
394
19
320
294