diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/textcommandeditor.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz plus-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/textcommandeditor.cpp')
-rw-r--r-- | src/gui/textcommandeditor.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp index 05ad61a5c..f8db77d6d 100644 --- a/src/gui/textcommandeditor.cpp +++ b/src/gui/textcommandeditor.cpp @@ -170,26 +170,26 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) : mCommand(command), mIsMagic(new RadioButton(_("magic"), "magic", mIsMagicCommand)), mIsOther(new RadioButton(_("other"), "magic", !mIsMagicCommand)), - mSymbolLabel(new Label(_("Symbol:"))), + mSymbolLabel(new Label(this, _("Symbol:"))), mSymbolTextField(new TextField(this)), - mCommandLabel(new Label(_("Command:"))), + mCommandLabel(new Label(this, _("Command:"))), mCommandTextField(new TextField(this)), - mCommentLabel(new Label(_("Comment:"))), + mCommentLabel(new Label(this, _("Comment:"))), mCommentTextField(new TextField(this)), mTargetTypeModel(new TargetTypeModel), - mTypeLabel(new Label(_("Target Type:"))), + mTypeLabel(new Label(this, _("Target Type:"))), mTypeDropDown(new DropDown(this, mTargetTypeModel)), mIconsModal(new IconsModal), - mIconLabel(new Label(_("Icon:"))), + mIconLabel(new Label(this, _("Icon:"))), mIconDropDown(new DropDown(this, mIconsModal)), - mManaLabel(new Label(_("Mana:"))), + mManaLabel(new Label(this, _("Mana:"))), mManaField(new IntTextField(this, 0)), - mMagicLvlLabel(new Label(_("Magic level:"))), + mMagicLvlLabel(new Label(this, _("Magic level:"))), mMagicLvlField(new IntTextField(this, 0)), mMagicSchoolModel(new MagicSchoolModel), - mSchoolLabel(new Label(_("Magic School:"))), + mSchoolLabel(new Label(this, _("Magic School:"))), mSchoolDropDown(new DropDown(this, mMagicSchoolModel)), - mSchoolLvlLabel(new Label(_("School level:"))), + mSchoolLvlLabel(new Label(this, _("School level:"))), mSchoolLvlField(new IntTextField(this, 0)), mCancelButton(new Button(this, _("Cancel"), "cancel", this)), mSaveButton(new Button(this, _("Save"), "save", this)), |