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
QDataWidgetMapperPrivate Class Reference
+ Inheritance diagram for QDataWidgetMapperPrivate:
+ Collaboration diagram for QDataWidgetMapperPrivate:

Classes

struct  WidgetMapper
 

Public Member Functions

 QDataWidgetMapperPrivate ()
 
int itemCount ()
 
int currentIdx () const
 
QModelIndex indexAt (int itemPos)
 
void flipEventFilters (QAbstractItemDelegate *oldDelegate, QAbstractItemDelegate *newDelegate) const
 
void populate ()
 
void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList< int > &)
 
void commitData (QWidget *)
 
void closeEditor (QWidget *, QAbstractItemDelegate::EndEditHint)
 
void modelDestroyed ()
 
void disconnectModel ()
 
void disconnectDelegate ()
 
void populate (WidgetMapper &m)
 
int findWidget (QWidget *w) const
 
bool commit (const WidgetMapper &m)
 
 QDataWidgetMapperPrivate ()
 
int itemCount ()
 
int currentIdx () const
 
QModelIndex indexAt (int itemPos)
 
void flipEventFilters (QAbstractItemDelegate *oldDelegate, QAbstractItemDelegate *newDelegate) const
 
void populate ()
 
void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList< int > &)
 
void commitData (QWidget *)
 
void closeEditor (QWidget *, QAbstractItemDelegate::EndEditHint)
 
void modelDestroyed ()
 
void disconnectModel ()
 
void disconnectDelegate ()
 
void populate (WidgetMapper &m)
 
int findWidget (QWidget *w) const
 
bool commit (const WidgetMapper &m)
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
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
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QAbstractItemModelmodel
 
QAbstractItemDelegatedelegate
 
Qt::Orientation orientation
 
QDataWidgetMapper::SubmitPolicy submitPolicy
 
QPersistentModelIndex rootIndex
 
QPersistentModelIndex currentTopLeft
 
std::vector< WidgetMapperwidgetMap
 
std::array< QMetaObject::Connection, 2 > modelConnections
 
std::array< QMetaObject::Connection, 2 > delegateConnections
 
- 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>
 
- 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)
 

Detailed Description

Definition at line 20 of file qdatawidgetmapper.cpp.

Constructor & Destructor Documentation

◆ QDataWidgetMapperPrivate() [1/2]

QDataWidgetMapperPrivate::QDataWidgetMapperPrivate ( )
inline

Definition at line 25 of file qdatawidgetmapper.cpp.

◆ QDataWidgetMapperPrivate() [2/2]

QDataWidgetMapperPrivate::QDataWidgetMapperPrivate ( )
inline

Definition at line 25 of file qdatawidgetmapper.cpp.

Member Function Documentation

◆ closeEditor() [1/2]

void QDataWidgetMapperPrivate::closeEditor ( QWidget * w,
QAbstractItemDelegate::EndEditHint hint )

Definition at line 184 of file qdatawidgetmapper.cpp.

◆ closeEditor() [2/2]

void QDataWidgetMapperPrivate::closeEditor ( QWidget * ,
QAbstractItemDelegate::EndEditHint  )

◆ commit() [1/2]

bool QDataWidgetMapperPrivate::commit ( const WidgetMapper & m)

Definition at line 117 of file qdatawidgetmapper.cpp.

◆ commit() [2/2]

bool QDataWidgetMapperPrivate::commit ( const WidgetMapper & m)

◆ commitData() [1/2]

void QDataWidgetMapperPrivate::commitData ( QWidget * w)

Definition at line 172 of file qdatawidgetmapper.cpp.

◆ commitData() [2/2]

void QDataWidgetMapperPrivate::commitData ( QWidget * )

◆ currentIdx() [1/2]

int QDataWidgetMapperPrivate::currentIdx ( ) const
inline

Definition at line 45 of file qdatawidgetmapper.cpp.

◆ currentIdx() [2/2]

int QDataWidgetMapperPrivate::currentIdx ( ) const
inline

Definition at line 45 of file qdatawidgetmapper.cpp.

◆ dataChanged() [1/2]

void QDataWidgetMapperPrivate::dataChanged ( const QModelIndex & topLeft,
const QModelIndex & bottomRight,
const QList< int > &  )

Definition at line 160 of file qdatawidgetmapper.cpp.

◆ dataChanged() [2/2]

void QDataWidgetMapperPrivate::dataChanged ( const QModelIndex & topLeft,
const QModelIndex & bottomRight,
const QList< int > &  )

◆ disconnectDelegate() [1/2]

void QDataWidgetMapperPrivate::disconnectDelegate ( )
inline

Definition at line 83 of file qdatawidgetmapper.cpp.

◆ disconnectDelegate() [2/2]

void QDataWidgetMapperPrivate::disconnectDelegate ( )
inline

Definition at line 83 of file qdatawidgetmapper.cpp.

◆ disconnectModel() [1/2]

void QDataWidgetMapperPrivate::disconnectModel ( )
inline

Definition at line 78 of file qdatawidgetmapper.cpp.

◆ disconnectModel() [2/2]

void QDataWidgetMapperPrivate::disconnectModel ( )
inline

Definition at line 78 of file qdatawidgetmapper.cpp.

◆ findWidget() [1/2]

int QDataWidgetMapperPrivate::findWidget ( QWidget * w) const

Definition at line 108 of file qdatawidgetmapper.cpp.

◆ findWidget() [2/2]

int QDataWidgetMapperPrivate::findWidget ( QWidget * w) const

◆ flipEventFilters() [1/2]

void QDataWidgetMapperPrivate::flipEventFilters ( QAbstractItemDelegate * oldDelegate,
QAbstractItemDelegate * newDelegate ) const
inline

Definition at line 57 of file qdatawidgetmapper.cpp.

◆ flipEventFilters() [2/2]

void QDataWidgetMapperPrivate::flipEventFilters ( QAbstractItemDelegate * oldDelegate,
QAbstractItemDelegate * newDelegate ) const
inline

Definition at line 57 of file qdatawidgetmapper.cpp.

◆ indexAt() [1/2]

QModelIndex QDataWidgetMapperPrivate::indexAt ( int itemPos)
inline

Definition at line 50 of file qdatawidgetmapper.cpp.

◆ indexAt() [2/2]

QModelIndex QDataWidgetMapperPrivate::indexAt ( int itemPos)
inline

Definition at line 50 of file qdatawidgetmapper.cpp.

◆ itemCount() [1/2]

int QDataWidgetMapperPrivate::itemCount ( )
inline

Definition at line 38 of file qdatawidgetmapper.cpp.

◆ itemCount() [2/2]

int QDataWidgetMapperPrivate::itemCount ( )
inline

Definition at line 38 of file qdatawidgetmapper.cpp.

◆ modelDestroyed() [1/2]

void QDataWidgetMapperPrivate::modelDestroyed ( )

Definition at line 207 of file qdatawidgetmapper.cpp.

◆ modelDestroyed() [2/2]

void QDataWidgetMapperPrivate::modelDestroyed ( )

◆ populate() [1/4]

void QDataWidgetMapperPrivate::populate ( )

Definition at line 147 of file qdatawidgetmapper.cpp.

◆ populate() [2/4]

void QDataWidgetMapperPrivate::populate ( )

◆ populate() [3/4]

void QDataWidgetMapperPrivate::populate ( WidgetMapper & m)

Definition at line 135 of file qdatawidgetmapper.cpp.

◆ populate() [4/4]

void QDataWidgetMapperPrivate::populate ( WidgetMapper & m)

Member Data Documentation

◆ currentTopLeft

QPersistentModelIndex QDataWidgetMapperPrivate::currentTopLeft

Definition at line 36 of file qdatawidgetmapper.cpp.

◆ delegate

QAbstractItemDelegate * QDataWidgetMapperPrivate::delegate

Definition at line 32 of file qdatawidgetmapper.cpp.

◆ delegateConnections

std::array< QMetaObject::Connection, 2 > QDataWidgetMapperPrivate::delegateConnections

Definition at line 104 of file qdatawidgetmapper.cpp.

◆ model

QAbstractItemModel * QDataWidgetMapperPrivate::model

Definition at line 31 of file qdatawidgetmapper.cpp.

◆ modelConnections

std::array< QMetaObject::Connection, 2 > QDataWidgetMapperPrivate::modelConnections

Definition at line 103 of file qdatawidgetmapper.cpp.

◆ orientation

Qt::Orientation QDataWidgetMapperPrivate::orientation

Definition at line 33 of file qdatawidgetmapper.cpp.

◆ rootIndex

QPersistentModelIndex QDataWidgetMapperPrivate::rootIndex

Definition at line 35 of file qdatawidgetmapper.cpp.

◆ submitPolicy

QDataWidgetMapper::SubmitPolicy QDataWidgetMapperPrivate::submitPolicy

Definition at line 34 of file qdatawidgetmapper.cpp.

◆ widgetMap

std::vector< WidgetMapper > QDataWidgetMapperPrivate::widgetMap

Definition at line 102 of file qdatawidgetmapper.cpp.


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