Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qlineedit_p.cpp File Reference

(76845e1d31a61735a0f0261fbc15ed7ea5ff71dc)

#include "qlineedit.h"
#include "qlineedit_p.h"
#include "qvariant.h"
#include "qclipboard.h"
#include "qinputmethod.h"
#include "qlist.h"
#include <qpainter.h>
#include <qstylehints.h>
#include <qvalidator.h>
#include "moc_qlineedit_p.cpp"
+ Include dependency graph for qlineedit_p.cpp:

Go to the source code of this file.

Functions

static int effectiveTextMargin (int defaultMargin, const QLineEditPrivate::SideWidgetEntryList &widgets, const QLineEditPrivate::SideWidgetParameters &parameters)
 

Function Documentation

◆ effectiveTextMargin()

static int effectiveTextMargin ( int defaultMargin,
const QLineEditPrivate::SideWidgetEntryList & widgets,
const QLineEditPrivate::SideWidgetParameters & parameters )
static

Definition at line 667 of file qlineedit_p.cpp.

References QList< T >::begin(), QList< T >::empty(), QList< T >::end(), QLineEditPrivate::SideWidgetParameters::margin, widgets, and QLineEditPrivate::SideWidgetParameters::widgetWidth.

Referenced by QLineEditPrivate::effectiveTextMargins().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: