![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
#include <locationbar.h>
Classes | |
struct | LoadAction |
Public Slots | |
void | setText (const QString &text) |
void | showUrl (const QUrl &url) |
void | loadRequest (const LoadRequest &request) |
![]() | |
void | setLeftMargin (int margin) |
void | updateTextMargins () |
Public Member Functions | |
LocationBar (QWidget *parent=nullptr) | |
BrowserWindow * | browserWindow () const |
void | setBrowserWindow (BrowserWindow *window) |
TabbedWebView * | webView () const |
void | setWebView (TabbedWebView *view) |
![]() | |
LineEdit (QWidget *parent=nullptr) | |
void | addWidget (QWidget *widget, WidgetPosition position) |
void | removeWidget (QWidget *widget) |
void | setWidgetSpacing (int spacing) |
int | widgetSpacing () const |
int | leftMargin () const |
void | setTextFormat (const TextFormat &format) |
void | clearTextFormat () |
int | minHeight () const |
void | setMinHeight (int height) |
QSize | sizeHint () const override |
QAction * | editAction (EditAction action) const |
Static Public Member Functions | |
static QString | convertUrlToText (const QUrl &url) |
static SearchEngine | searchEngine () |
static LoadAction | loadAction (const QString &text) |
Additional Inherited Members | |
![]() | |
enum | WidgetPosition { LeftSide , RightSide } |
enum | EditAction { Undo = 0 , Redo = 1 , Cut = 2 , Copy = 3 , Paste = 4 , PasteAndGo = 5 , Delete = 6 , ClearAll = 7 , SelectAll = 8 } |
using | TextFormat = QList< QTextLayout::FormatRange > |
![]() | |
void | focusInEvent (QFocusEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | mouseDoubleClickEvent (QMouseEvent *event) override |
void | resizeEvent (QResizeEvent *event) override |
bool | event (QEvent *event) override |
QMenu * | createContextMenu () |
![]() | |
QSize | fixedsize |
int | leftMargin |
int | fixedwidth |
int | fixedheight |
int | minHeight |
Definition at line 39 of file locationbar.h.
|
explicit |
Definition at line 46 of file locationbar.cpp.
BrowserWindow * LocationBar::browserWindow | ( | ) | const |
Definition at line 117 of file locationbar.cpp.
|
static |
Definition at line 198 of file locationbar.cpp.
|
static |
Definition at line 226 of file locationbar.cpp.
|
slot |
Definition at line 409 of file locationbar.cpp.
|
static |
Definition at line 215 of file locationbar.cpp.
void LocationBar::setBrowserWindow | ( | BrowserWindow * | window | ) |
Definition at line 122 of file locationbar.cpp.
|
slot |
Definition at line 150 of file locationbar.cpp.
void LocationBar::setWebView | ( | TabbedWebView * | view | ) |
Definition at line 134 of file locationbar.cpp.
|
slot |
Definition at line 386 of file locationbar.cpp.
TabbedWebView * LocationBar::webView | ( | ) | const |
Definition at line 129 of file locationbar.cpp.