propgrid/propgridpagestate.h

Clase wxPropertyGridPageState

Contiene información básica de la página de propiedades (propiedades, anchos de columna, etc.) de un único objeto wxPropertyGrid o wxPropertyGridPage.

Jerarquía:

Jerarquía de wxPropertyGridPageState

Por lo general, no se debe utilizar esta clase directamente, sino las funciones de miembro de wxPropertyGridInterface, wxPropertyGrid, wxPropertyGridPage y wxPropertyGridManager.

Observaciones

Actualmente, esta clase no está implementada en wxPython.

Funciones miembro

wxPropertyGridPageState()

wxPropertyGridPageState::wxPropertyGridPageState()

Constructor predeterminado.

~wxPropertyGridPageState()

virtual wxPropertyGridPageState::~wxPropertyGridPageState()

Destructor.

CheckColumnWidths()

void wxPropertyGridPageState::CheckColumnWidths(int widthChange = 0)

Se asegura de que todas las columnas tengan un ancho mínimo.

DoDelete()

virtual void wxPropertyGridPageState::DoDelete( wxPGProperty * item, bool doDelete = true )

Sobrescribir esta función miembro para añadir un comportamiento personalizado al eliminar una propiedad.

DoInsert()

virtual wxPGProperty* wxPropertyGridPageState::DoInsert( wxPGProperty * parent, int index, wxPGProperty * property )

Sobrescribir esta función miembro para añadir un comportamiento personalizado al insertar una propiedad.

DoSetSplitter()

virtual void wxPropertyGridPageState::DoSetSplitter( int pos, int splitterColumn = 0, wxPGSplitterPositionFlags flags = wxPGSplitterPositionFlags::Null )

Es necesario sobrescribir esta configuración en la cuadrícula utilizada por el gestor para que los cambios en el separador se apliquen a otras páginas.

EnableCategories()

bool wxPropertyGridPageState::EnableCategories(bool enable)

EnsureVirtualHeight()

void wxPropertyGridPageState::EnsureVirtualHeight()

Asegura que la cota virtual esté actualizada.

GetActualVirtualHeight()

unsigned int wxPropertyGridPageState::GetActualVirtualHeight() const

Devuelve la altura real de las propiedades visibles que contiene.

Observaciones

Se utiliza principalmente con fines de diagnóstico interno.

GetColumnCount()

unsigned int wxPropertyGridPageState::GetColumnCount() const

GetColumnFullWidth()

int wxPropertyGridPageState::GetColumnFullWidth( wxPGProperty * p, unsigned int col ) const

GetColumnMinWidth()

int wxPropertyGridPageState::GetColumnMinWidth(int column) const

GetColumnWidth()

int wxPropertyGridPageState::GetColumnWidth(unsigned int column) const

GetGrid()

wxPropertyGrid* wxPropertyGridPageState::GetGrid() const

GetLastItem()

wxPGProperty* wxPropertyGridPageState::GetLastItem(int flags = wxPG_ITERATE_DEFAULT)

Devuelve el último elemento que se puede recorrer utilizando los indicadores especificados.

Parámetros
flags
Indicadores de wxPropertyGridIterator
GetLastItem()

const wxPGProperty* wxPropertyGridPageState::GetLastItem(int flags = wxPG_ITERATE_DEFAULT) const

GetPropertyCategory()

wxPropertyCategory* wxPropertyGridPageState::GetPropertyCategory(const wxPGProperty * p) const

GetSelection()

wxPGProperty* wxPropertyGridPageState::GetSelection() const

Devuelve la propiedad seleccionada actualmente.

GetVirtualHeight()

unsigned int wxPropertyGridPageState::GetVirtualHeight()

Devuelve la altura (precalculada) de las propiedades visibles que contiene.

GetVirtualHeight()

unsigned int wxPropertyGridPageState::GetVirtualHeight() const

Devuelve la altura (precalculada) de las propiedades visibles que contiene.

GetVirtualWidth()

int wxPropertyGridPageState::GetVirtualWidth() const

Devuelve la anchura total del margen y de todas las columnas.

HitTest()

wxPropertyGridHitTestResult wxPropertyGridPageState::HitTest(const wxPoint & pt) const

Devuelve información sobre una posición arbitraria en la cuadrícula.

Parámetros
pt
Coordenadas lógicas en el espacio virtual de la cuadrícula. Utilizar wxScrolled<T>::CalcUnscrolledPosition() si se necesitas convertir una posición desplazada en una posición lógica.
IsDisplayed()

bool wxPropertyGridPageState::IsDisplayed() const

Devuelve true si la página se muestra en pantalla.

IsInNonCatMode()

bool wxPropertyGridPageState::IsInNonCatMode() const

VirtualHeightChanged()

void wxPropertyGridPageState::VirtualHeightChanged()

Llamada después de que la altura virtual tenga que volver a ser calcularla.

Clases amigas

wxFlagsProperty

friend class wxFlagsProperty

wxPGProperty

friend class wxPGProperty

wxPropertyGrid

friend class wxPropertyGrid

wxPropertyGridInterface
wxPropertyGridIteratorBase
wxPropertyGridManager

friend class wxPropertyGridManager

wxPropertyGridPage

friend class wxPropertyGridPage