-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more places to fix unspecified FocusPolicy on Buttons and CB
- Loading branch information
1 parent
9605b68
commit fde6144
Showing
14 changed files
with
34 additions
and
14 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/************************************************************************ | ||
** | ||
** Copyright (C) 2021 Kevin B. Hendricks, Stratford Ontario Canada | ||
** Copyright (C) 2021-2024 Kevin B. Hendricks, Stratford Ontario Canada | ||
** Copyright (C) 2011-2012 John Schember <[email protected]> | ||
** Copyright (C) 2012 Dave Heiland | ||
** Copyright (C) 2009-2011 Strahinja Markovic <[email protected]> | ||
|
@@ -60,6 +60,7 @@ QWidget *MetaEditorItemDelegate::createEditor(QWidget *parent, const QStyleOptio | |
if (!choices.isEmpty()) { | ||
// Create the combobox and populate it | ||
QComboBox *cb = new QComboBox(parent); | ||
cb->setFocusPolicy(Qt::StrongFocus); | ||
foreach(QString opt, choices) { | ||
QStringList parts = opt.split(_GS); | ||
cb->addItem(parts.at(0), QVariant(parts.at(1))); | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/************************************************************************ | ||
** | ||
** Copyright (C) 2018-2021 Kevin B. Hendricks, Stratford, ON Canada | ||
** Copyright (C) 2018-2024 Kevin B. Hendricks, Stratford, ON Canada | ||
** Copyright (C) 2012 John Schember <[email protected]> | ||
** Copyright (C) 2012 Dave Heiland | ||
** | ||
|
@@ -376,6 +376,7 @@ void SelectCharacter::AddGrid(const QStringList &characters, int width) | |
button->setToolTip(entity + " " + description); | ||
button->setText(display_text); | ||
button->setFont(font); | ||
button->setFocusPolicy(Qt::StrongFocus); | ||
connect(button, SIGNAL(clicked()), m_buttonMapper, SLOT(map())); | ||
m_buttonMapper->setMapping(button, insert_text); | ||
grid->addWidget(button, row, col); | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/************************************************************************ | ||
** | ||
** Copyright (C) 2015-2019 Kevin B. Hendricks, Stratford Ontario Canada | ||
** Copyright (C) 2015-2024 Kevin B. Hendricks, Stratford Ontario Canada | ||
** Copyright (C) 2009-2011 Strahinja Markovic <[email protected]> | ||
** | ||
** This file is part of Sigil. | ||
|
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/************************************************************************ | ||
** | ||
** Copyright (C) 2024 Kevin B. Hendricks, Stratford, Ontario Canada | ||
** Copyright (C) 2009-2011 Strahinja Markovic <[email protected]> | ||
** | ||
** This file is part of Sigil. | ||
|
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