Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QCompleterPrivate Class Reference

#include <qcompleter_p.h>

+ Inheritance diagram for QCompleterPrivate:
+ Collaboration diagram for QCompleterPrivate:

Public Member Functions

 QCompleterPrivate ()
 
 ~QCompleterPrivate ()
 
void init (QAbstractItemModel *model=nullptr)
 
void showPopup (const QRect &)
 
void _q_complete (QModelIndex, bool=false)
 
void _q_completionSelected (const QItemSelection &)
 
void _q_autoResizePopup ()
 
void _q_fileSystemModelDirectoryLoaded (const QString &path)
 
void setCurrentIndex (QModelIndex, bool=true)
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
void setObjectNameWithoutBindings (const QString &name)
 
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
const QMetaObjectdynamicMetaObject () const
 

Static Public Member Functions

static QCompleterPrivateget (QCompleter *o)
 
static const QCompleterPrivateget (const QCompleter *o)
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Public Attributes

QPointer< QWidgetwidget
 
QCompletionModelproxy
 
QAbstractItemViewpopup
 
QCompleter::CompletionMode mode
 
Qt::MatchFlags filterMode
 
QString prefix
 
Qt::CaseSensitivity cs
 
int role
 
int column
 
int maxVisibleItems
 
QCompleter::ModelSorting sorting
 
bool wrap
 
bool eatFocusOut
 
QRect popupRect
 
bool hiddenBecauseNoMatch
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Detailed Description

Definition at line 38 of file qcompleter_p.h.

Constructor & Destructor Documentation

◆ QCompleterPrivate()

QCompleterPrivate::QCompleterPrivate ( )

Definition at line 788 of file qcompleter.cpp.

References column, eatFocusOut, hiddenBecauseNoMatch, maxVisibleItems, popup, proxy, and wrap.

◆ ~QCompleterPrivate()

QCompleterPrivate::~QCompleterPrivate ( )
inline

Definition at line 44 of file qcompleter_p.h.

References popup.

Member Function Documentation

◆ _q_autoResizePopup()

void QCompleterPrivate::_q_autoResizePopup ( )

Definition at line 879 of file qcompleter.cpp.

References popup.

◆ _q_complete()

void QCompleterPrivate::_q_complete ( QModelIndex index,
bool highlighted = false )

Definition at line 847 of file qcompleter.cpp.

References column, proxy, and QCompletionModel::showAll.

◆ _q_completionSelected()

void QCompleterPrivate::_q_completionSelected ( const QItemSelection & selection)

Definition at line 838 of file qcompleter.cpp.

◆ _q_fileSystemModelDirectoryLoaded()

void QCompleterPrivate::_q_fileSystemModelDirectoryLoaded ( const QString & path)

Definition at line 970 of file qcompleter.cpp.

◆ get() [1/2]

static const QCompleterPrivate * QCompleterPrivate::get ( const QCompleter * o)
inlinestatic

Definition at line 73 of file qcompleter_p.h.

◆ get() [2/2]

static QCompleterPrivate * QCompleterPrivate::get ( QCompleter * o)
inlinestatic

Definition at line 72 of file qcompleter_p.h.

◆ init()

void QCompleterPrivate::init ( QAbstractItemModel * model = nullptr)

Definition at line 804 of file qcompleter.cpp.

◆ setCurrentIndex()

void QCompleterPrivate::setCurrentIndex ( QModelIndex index,
bool select = true )

Definition at line 817 of file qcompleter.cpp.

References popup.

◆ showPopup()

void QCompleterPrivate::showPopup ( const QRect & rect)

Definition at line 886 of file qcompleter.cpp.

References maxVisibleItems, and popup.

Member Data Documentation

◆ column

◆ cs

Qt::CaseSensitivity QCompleterPrivate::cs

Definition at line 54 of file qcompleter_p.h.

◆ eatFocusOut

bool QCompleterPrivate::eatFocusOut

Definition at line 61 of file qcompleter_p.h.

Referenced by QCompleterPrivate().

◆ filterMode

Qt::MatchFlags QCompleterPrivate::filterMode

Definition at line 51 of file qcompleter_p.h.

◆ hiddenBecauseNoMatch

bool QCompleterPrivate::hiddenBecauseNoMatch

Definition at line 63 of file qcompleter_p.h.

Referenced by QCompleterPrivate().

◆ maxVisibleItems

int QCompleterPrivate::maxVisibleItems

Definition at line 57 of file qcompleter_p.h.

Referenced by QCompleterPrivate(), and showPopup().

◆ mode

QCompleter::CompletionMode QCompleterPrivate::mode

Definition at line 50 of file qcompleter_p.h.

◆ popup

QAbstractItemView* QCompleterPrivate::popup

◆ popupRect

QRect QCompleterPrivate::popupRect

Definition at line 62 of file qcompleter_p.h.

◆ prefix

QString QCompleterPrivate::prefix

Definition at line 53 of file qcompleter_p.h.

◆ proxy

◆ role

int QCompleterPrivate::role

Definition at line 55 of file qcompleter_p.h.

Referenced by QSortedModelEngine::filter(), and QSortedModelEngine::sortOrder().

◆ sorting

QCompleter::ModelSorting QCompleterPrivate::sorting

Definition at line 58 of file qcompleter_p.h.

◆ widget

QPointer<QWidget> QCompleterPrivate::widget

Definition at line 47 of file qcompleter_p.h.

◆ wrap

bool QCompleterPrivate::wrap

Definition at line 59 of file qcompleter_p.h.

Referenced by QCompleterPrivate().


The documentation for this class was generated from the following files: