• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KFile

  • KDEPrivate
  • KUrlNavigatorDropDownButton
Public Member Functions | Protected Member Functions | List of all members
KDEPrivate::KUrlNavigatorDropDownButton Class Reference

#include <kurlnavigatordropdownbutton_p.h>

Inheritance diagram for KDEPrivate::KUrlNavigatorDropDownButton:
KDEPrivate::KUrlNavigatorButtonBase QPushButton

Public Member Functions

 KUrlNavigatorDropDownButton (QWidget *parent)
 
virtual ~KUrlNavigatorDropDownButton ()
 
virtual QSize sizeHint () 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 keyPressEvent (QKeyEvent *event)
 
virtual void paintEvent (QPaintEvent *event)
 
- Protected Member Functions inherited from KDEPrivate::KUrlNavigatorButtonBase
void drawHoverBackground (QPainter *painter)
 
virtual void enterEvent (QEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
virtual void focusOutEvent (QFocusEvent *event)
 
QColor foregroundColor () const
 
bool isDisplayHintEnabled (DisplayHint hint) const
 
virtual void leaveEvent (QEvent *event)
 
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 offers a drop down menu of hidden paths.

The button will only be shown if the width of the URL navigator is too small to show the whole path.

Definition at line 35 of file kurlnavigatordropdownbutton_p.h.

Constructor & Destructor Documentation

◆ KUrlNavigatorDropDownButton()

KDEPrivate::KUrlNavigatorDropDownButton::KUrlNavigatorDropDownButton ( QWidget *  parent)
explicit

Definition at line 32 of file kurlnavigatordropdownbutton.cpp.

◆ ~KUrlNavigatorDropDownButton()

KDEPrivate::KUrlNavigatorDropDownButton::~KUrlNavigatorDropDownButton ( )
virtual

Definition at line 37 of file kurlnavigatordropdownbutton.cpp.

Member Function Documentation

◆ keyPressEvent()

void KDEPrivate::KUrlNavigatorDropDownButton::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Definition at line 72 of file kurlnavigatordropdownbutton.cpp.

◆ paintEvent()

void KDEPrivate::KUrlNavigatorDropDownButton::paintEvent ( QPaintEvent *  event)
protectedvirtual

Definition at line 48 of file kurlnavigatordropdownbutton.cpp.

◆ sizeHint()

QSize KDEPrivate::KUrlNavigatorDropDownButton::sizeHint ( ) const
virtual
See also
QWidget::sizeHint()

Definition at line 41 of file kurlnavigatordropdownbutton.cpp.


The documentation for this class was generated from the following files:
  • kurlnavigatordropdownbutton_p.h
  • kurlnavigatordropdownbutton.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KFile

Skip menu "KFile"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal