umbrello  2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Member Functions | Protected Attributes | List of all members
ComboBoxWidgetBase Class Reference

#include <comboboxwidgetbase.h>

Inheritance diagram for ComboBoxWidgetBase:
Collaboration diagram for ComboBoxWidgetBase:

Public Member Functions

 ComboBoxWidgetBase (const QString &title, const QString &postLabel=QString(), QWidget *parent=nullptr)
 
void addToLayout (QGridLayout *layout, int row, int startColumn=0)
 
KComboBox * editField ()
 

Protected Attributes

QLabel * m_label
 
QLabel * m_postLabel
 
KComboBox * m_editField
 

Constructor & Destructor Documentation

ComboBoxWidgetBase::ComboBoxWidgetBase ( const QString &  title,
const QString &  postLabel = QString(),
QWidget *  parent = nullptr 
)
explicit

Member Function Documentation

void ComboBoxWidgetBase::addToLayout ( QGridLayout *  layout,
int  row,
int  startColumn = 0 
)

Add this widget to a given grid layout. Umbrello dialogs place labels in column 0 and the editable field in column 1.

Parameters
layoutThe layout to which the widget should be added
rowThe row in the grid layout where the widget should be placed
startColumnThe first column in the grid layout where the widget should be placed
KComboBox * ComboBoxWidgetBase::editField ( )

Return pointer to the KComboBox edit field.

Member Data Documentation

KComboBox* ComboBoxWidgetBase::m_editField
protected
QLabel* ComboBoxWidgetBase::m_label
protected
QLabel* ComboBoxWidgetBase::m_postLabel
protected

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