This file contains hidden or 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
| # | |
| # An example hook script to verify what is about to be committed. | |
| # Called by "git commit" with no arguments. The hook should | |
| # exit with non-zero status after issuing an appropriate message if | |
| # it wants to stop the commit. | |
| # | |
| # To enable this hook, rename this file to "pre-commit". | |
| if git rev-parse --verify HEAD >/dev/null 2>&1 | |
| then |
This file contains hidden or 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
| // Initialise the combobox for the edge selection | |
| // listmodel stores the actual data. This will be populated when we get a map update | |
| edgeIDModel = new QStringListModel(); | |
| // Set the model for the combobox as the base stringlist model. If we use the same filter model for both the | |
| // combobox and the completer, there will be weird behaviour, probably because the two objects are fighting | |
| // to define what is in the list of strings. | |
| actionComboBox->setModel(edgeIDModel); | |
| // Need a completer so that the combobox pops up with possible options given typed text | |
| edgeIDCompleter = new QCompleter(); | |
| edgeIDCompleter->setParent(parent); |
OlderNewer