-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a regression - Qt events did not work at all. Also restored the…
… ability to handle them. Signed-off-by: Dimitar Dobrev <[email protected]>
- Loading branch information
Showing
6 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace QtCore | ||
{ | ||
public partial class QEvent | ||
{ | ||
/// <summary> | ||
/// Set to true in order to stop propagating the event to other widgets. | ||
/// </summary> | ||
/// <remarks> | ||
/// It's different to <see cref="Accepted"/> because it's guaranteed to be false by default and | ||
/// because setting it on ensures the base event handler is not called. | ||
/// See https://doc.qt.io/qt-5.6/eventsandfilters.html#event-handlers and https://doc.qt.io/archives/qq/qq11-events.html#acceptorignore. | ||
/// </remarks> | ||
public bool Handled { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters