Skip to content

Pulled out actions into a mudlet member class variables#1839

Merged
vadi2 merged 2 commits intoMudlet:developmentfrom
vadi2:pull-actions-into-class
Jul 24, 2018
Merged

Pulled out actions into a mudlet member class variables#1839
vadi2 merged 2 commits intoMudlet:developmentfrom
vadi2:pull-actions-into-class

Conversation

@vadi2
Copy link
Copy Markdown
Member

@vadi2 vadi2 commented Jul 21, 2018

Brief overview of PR changes/additions

Pulled out actions into a mudlet member class variables, similar to what #1334 did previously.

Motivation for adding to Mudlet

So they can be addressed directly for i18n.

Other info (issues closed, discussion etc)

I know that enableToolbarButtons can be improved - that can be done later.

@vadi2 vadi2 requested a review from a team as a code owner July 21, 2018 11:28
@vadi2 vadi2 requested a review from a team July 21, 2018 11:28
Copy link
Copy Markdown
Contributor

@Kebap Kebap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't find any ui problems

Copy link
Copy Markdown
Member

@SlySven SlySven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the whole it moves things forward a little...

... and for buttons with tool-tips that are more than around four words I'd recommend converting them to HTML wrapped ones!

src/mudlet.h Outdated
QPointer<QAction> mpActionTimers;
QPointer<QAction> mpActionTriggers;
QPointer<QAction> mpActionVariables;
QPointer<QAction> mpActionStopAllTriggers;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ This one is cruft - it is never shown - and is I think a relic of very old, only one profile at a time code - the stop all triggers code is now a per profile thing and is a button on the main TConsole's bottom tool-bar for the profile.

@vadi2
Copy link
Copy Markdown
Member Author

vadi2 commented Jul 22, 2018

Got rid of the unneeded button. I think the tooltips can stay as-is for now

Copy link
Copy Markdown
Member

@SlySven SlySven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆗 :shipit:

@vadi2 vadi2 merged commit 9007133 into Mudlet:development Jul 24, 2018
@vadi2 vadi2 deleted the pull-actions-into-class branch July 24, 2018 02:33
SlySven added a commit to SlySven/Mudlet that referenced this pull request Aug 2, 2018
# By Vadim Peretokin (81) and others
* development: (162 commits)
  BugFix: set Server Encoding correctly on auto-loading profiles
  Install xz-utils to guarantee xz is available
  Create and upload source tarballs on release
  BugFix: use Alternative OpenSSLBinary for Windows (Mudlet#1850)
  Fix auto-save kicking in and blocking save profile as
  Upgrade a few classes to newer Qt connect style (Mudlet#1846)
  Fix package exporter to work with async save (Mudlet#1832)
  Pulled out actions into a mudlet member class variables (Mudlet#1839)
  Create module zip if it's not already created when syncing (Mudlet#1842)
  i18n-ise GUI label creation (Mudlet#1838)
  Align "no map"message in centre propely (Mudlet#1837)
  New Crowdin translations (Mudlet#1756)
  Delete old version checks (Mudlet#1833)
  Re-set dev.
  3.11.1 bugfix release.
  Fix iterator to actually iterate
  BugFix: fix faulty log options for new profiles or old profile save files
  Big5 support (Mudlet#1808)
  BugFix: include a fail-back icon for the auto-saved profile in Con. Dialog
  Back to development we go!
  ...

Conflicts resolved in:
* src/TTextEdit.cpp
* src/TTextEdit.h

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
SlySven added a commit to SlySven/Mudlet that referenced this pull request Jun 22, 2020
# By Vadim Peretokin (24) and others
# Via keneanung
* development: (52 commits)
  Install xz-utils to guarantee xz is available
  Create and upload source tarballs on release
  BugFix: use Alternative OpenSSLBinary for Windows (Mudlet#1850)
  Fix auto-save kicking in and blocking save profile as
  Upgrade a few classes to newer Qt connect style (Mudlet#1846)
  Fix package exporter to work with async save (Mudlet#1832)
  Pulled out actions into a mudlet member class variables (Mudlet#1839)
  Create module zip if it's not already created when syncing (Mudlet#1842)
  i18n-ise GUI label creation (Mudlet#1838)
  Align "no map"message in centre propely (Mudlet#1837)
  New Crowdin translations (Mudlet#1756)
  Delete old version checks (Mudlet#1833)
  Re-set dev.
  3.11.1 bugfix release.
  Fix iterator to actually iterate
  BugFix: fix faulty log options for new profiles or old profile save files
  Big5 support (Mudlet#1808)
  BugFix: include a fail-back icon for the auto-saved profile in Con. Dialog
  Back to development we go!
  3.11.0 release
  ...

Conflicts resolved in:
* src/dlgProfilePreferences.cpp
* src/mudlet.qrc

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants