forked from QupZilla/qupzilla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draw cursor in locationbar when completion popup is shown.
Closes QupZilla#645
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* ============================================================ | ||
* QupZilla - WebKit based browser | ||
* Copyright (C) 2010-2012 David Rosca <[email protected]> | ||
* Copyright (C) 2010-2013 David Rosca <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -43,6 +43,11 @@ void LocationCompleter::setLocationBar(LocationBar* locationBar) | |
m_locationBar = locationBar; | ||
} | ||
|
||
bool LocationCompleter::isPopupVisible() | ||
{ | ||
return s_view->isVisible(); | ||
} | ||
|
||
void LocationCompleter::closePopup() | ||
{ | ||
s_view->close(); | ||
|
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 @@ | ||
/* ============================================================ | ||
* QupZilla - WebKit based browser | ||
* Copyright (C) 2010-2012 David Rosca <[email protected]> | ||
* Copyright (C) 2010-2013 David Rosca <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -35,6 +35,8 @@ class QT_QUPZILLA_EXPORT LocationCompleter : public QObject | |
explicit LocationCompleter(QObject* parent = 0); | ||
|
||
void setLocationBar(LocationBar* locationBar); | ||
|
||
bool isPopupVisible(); | ||
void closePopup(); | ||
|
||
signals: | ||
|
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