forked from wireshark/wireshark
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qt: Add a setType function to DisplayFilterEdit for use with ui files
Qt ui files only call a constructor with a QWidget first parameter and can't pass other parameters or call other constructors. Add a function to set the type after initial construction that can be called in the constructors of other widgets after setupUi. This makes it possible to use other DisplayFilterEditTypes in ui files.
- Loading branch information
1 parent
ade0caa
commit fd6004f
Showing
2 changed files
with
49 additions
and
28 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