Skip to content

Commit

Permalink
Progress on various property editor features
Browse files Browse the repository at this point in the history
* Added support for editing top-level custom properties (excluding support
  for classes and enums for now).

* Added support for collapsing the property groups, based on a new
  GroupProperty which creates nested VariantEditor instances.

* Removed QVariant based getter/setter from Property, since it doesn't
  appear to be useful.

* Added Property::DisplayMode, which is used to tell apart group
  properties and separators from regular properties.

* VariantEditor is no longer a scroll area itself, to enable nesting.
  • Loading branch information
bjorn committed Sep 12, 2024
1 parent a8f2e31 commit fa195b2
Show file tree
Hide file tree
Showing 8 changed files with 459 additions and 173 deletions.
2 changes: 1 addition & 1 deletion src/tiled/fileedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ FileEdit::FileEdit(QWidget *parent)
mOkTextColor = mLineEdit->palette().color(QPalette::Active, QPalette::Text);

QToolButton *button = new QToolButton(this);
button->setText(QLatin1String("..."));
button->setText(QStringLiteral(""));
button->setAutoRaise(true);
button->setToolTip(tr("Choose"));
layout->addWidget(mLineEdit);
Expand Down
Loading

0 comments on commit fa195b2

Please sign in to comment.