 |
Crossfire Resources Editor
|
Go to the documentation of this file.
16 addLabel(tr(
"Filename:"),
"displayName");
18 addWidget(tr(
"License information"),
myLicense =
new QTreeWidget(
this),
false,
nullptr,
nullptr);
20 myLicense->setHeaderLabels(QStringList(tr(
"License field")) << tr(
"Value"));
26 new QTreeWidgetItem(
myLicense, QStringList(license.first.c_str()) << license.second.c_str());
SoundFilePanel(QWidget *parent, AssetModel *model)
SoundFile * myItem
Item to display.
virtual void updateItem()
Called when myItem was updated.
std::vector< LicenseManager::LicenseItem > & license()
AssetUseTree * addAssetUseTree(const QString &label, AssetModel *assets, const char *property)
QLabel * addLabel(const QString &label, const char *property, bool wrapText=false)
Qt model representing all items in CRE, with the exception of experience.
Panel displaying information about an AssetWrapper which is its own wrapped item.
T * addWidget(const QString &label, T *widget, bool sideBySide, const char *property, const char *widgetProperty)