KFile
#include <kurlnavigatorbutton_p.h>
Signals | |
void | clicked (const KUrl &url, Qt::MouseButton button) |
void | finishedTextResolving () |
void | startedTextResolving () |
void | urlsDropped (const KUrl &destination, QDropEvent *event) |
Public Member Functions | |
KUrlNavigatorButton (const KUrl &url, QWidget *parent) | |
virtual | ~KUrlNavigatorButton () |
QString | activeSubDirectory () const |
void | setActiveSubDirectory (const QString &subDir) |
void | setShowMnemonic (bool show) |
void | setText (const QString &text) |
void | setUrl (const KUrl &url) |
bool | showMnemonic () const |
virtual QSize | sizeHint () const |
KUrl | url () const |
Public Member Functions inherited from KDEPrivate::KUrlNavigatorButtonBase | |
KUrlNavigatorButtonBase (QWidget *parent) | |
virtual | ~KUrlNavigatorButtonBase () |
bool | isActive () const |
void | setActive (bool active) |
Protected Member Functions | |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
virtual void | enterEvent (QEvent *event) |
virtual void | keyPressEvent (QKeyEvent *event) |
virtual void | leaveEvent (QEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual void | paintEvent (QPaintEvent *event) |
virtual void | wheelEvent (QWheelEvent *event) |
Protected Member Functions inherited from KDEPrivate::KUrlNavigatorButtonBase | |
void | drawHoverBackground (QPainter *painter) |
virtual void | focusInEvent (QFocusEvent *event) |
virtual void | focusOutEvent (QFocusEvent *event) |
QColor | foregroundColor () const |
bool | isDisplayHintEnabled (DisplayHint hint) const |
void | setDisplayHintEnabled (DisplayHint hint, bool enable) |
Additional Inherited Members | |
Protected Types inherited from KDEPrivate::KUrlNavigatorButtonBase | |
enum | { BorderWidth = 2 } |
enum | DisplayHint { EnteredHint = 1, DraggedHint = 2, PopupActiveHint = 4 } |
Detailed Description
Button of the URL navigator which contains one part of an URL.
It is possible to drop a various number of items to an UrlNavigatorButton. In this case a context menu is opened where the user must select whether he wants to copy, move or link the dropped items to the URL part indicated by the button.
Definition at line 53 of file kurlnavigatorbutton_p.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 43 of file kurlnavigatorbutton.cpp.
|
virtual |
Definition at line 67 of file kurlnavigatorbutton.cpp.
Member Function Documentation
QString KDEPrivate::KUrlNavigatorButton::activeSubDirectory | ( | ) | const |
Definition at line 130 of file kurlnavigatorbutton.cpp.
|
signal |
|
protectedvirtual |
Definition at line 305 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 342 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 315 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 292 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Reimplemented from KDEPrivate::KUrlNavigatorButtonBase.
Definition at line 254 of file kurlnavigatorbutton.cpp.
|
signal |
Is emitted, if the asynchronous resolving of the text has been finished (see startTextResolving()).
KUrlNavigatorButton::text() contains the resolved text.
|
protectedvirtual |
Definition at line 276 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Reimplemented from KDEPrivate::KUrlNavigatorButtonBase.
Definition at line 265 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 371 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 351 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 360 of file kurlnavigatorbutton.cpp.
|
protectedvirtual |
Definition at line 158 of file kurlnavigatorbutton.cpp.
void KDEPrivate::KUrlNavigatorButton::setActiveSubDirectory | ( | const QString & | subDir | ) |
Sets the name of the sub directory that should be marked when opening the sub directories popup.
Definition at line 121 of file kurlnavigatorbutton.cpp.
void KDEPrivate::KUrlNavigatorButton::setShowMnemonic | ( | bool | show | ) |
Definition at line 145 of file kurlnavigatorbutton.cpp.
void KDEPrivate::KUrlNavigatorButton::setText | ( | const QString & | text | ) |
Definition at line 104 of file kurlnavigatorbutton.cpp.
void KDEPrivate::KUrlNavigatorButton::setUrl | ( | const KUrl & | url | ) |
Definition at line 71 of file kurlnavigatorbutton.cpp.
bool KDEPrivate::KUrlNavigatorButton::showMnemonic | ( | ) | const |
Definition at line 153 of file kurlnavigatorbutton.cpp.
|
virtual |
- See also
- QWidget::sizeHint()
Definition at line 135 of file kurlnavigatorbutton.cpp.
|
signal |
Is emitted, if KUrlNavigatorButton::setUrl() cannot resolve the text synchronously and KUrlNavigator::text() will return an empty string in this case.
The signal finishedTextResolving() is emitted, as soon as the text has been resolved.
KUrl KDEPrivate::KUrlNavigatorButton::url | ( | ) | const |
Definition at line 99 of file kurlnavigatorbutton.cpp.
|
signal |
Is emitted if URLs have been dropped to the destination destination.
|
protectedvirtual |
Definition at line 382 of file kurlnavigatorbutton.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:52:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.