Skip to content

Snippets on top of windows/widgets #62

@mostobriv

Description

@mostobriv

I think it may be more useful to place the Snippets dialog persistently on top of other windows, so even if user would click somewhere else the dialog is still on top of. The cases when it may be useful is that when writing quick snippet users may wants to take a quick look at binary - grab some data values or check the address.

This can be done easily with changing this line:

self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint)

into:

    self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint | Qt.WindowType.WindowStaysOnTopHint)
    self.setFocusPolicy(Qt.StrongFocus)

or may be add Setting to control this behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions