DtkWidget
DTK Widget module
|
Public 成员函数 | |
DTitlebarCustomWidget (DTitlebarSettingsImpl *settings, QWidget *parent=nullptr) | |
bool | editMode () const |
void | setEditMode (bool isEditMode) |
QWidget * | widget (const int index) const |
void | addWidget (const QString &key, int index) Q_DECL_OVERRIDE |
void | appendDefaultWidget (const QString &toolId) |
void | insertPlaceHolder (int index, const QSize &size) |
Public 成员函数 继承自 Dtk::Widget::DCollapseWidget | |
DCollapseWidget (DTitlebarSettingsImpl *settings, QWidget *parent=nullptr) | |
void | removeAll () |
void | reloadWidgets () |
void | removePlaceHolder () |
void | removeWidget (int index) |
Protected 成员函数 | |
void | resizeEvent (QResizeEvent *event) Q_DECL_OVERRIDE |
Protected 成员函数 继承自 Dtk::Widget::DCollapseWidget | |
void | resizeEvent (QResizeEvent *event) Q_DECL_OVERRIDE |
void | collapse () |
void | expand () |
void | updateMinimumValue () |
void | initExpandButton () |
额外继承的成员函数 | |
Protected 属性 继承自 Dtk::Widget::DCollapseWidget | |
DTitlebarSettingsImpl * | m_settingsImpl = nullptr |
QHBoxLayout * | m_mainHLayout |
QVector< QPair< QString, QWidget * > > | m_viewsInMenu |
DIconButton * | m_expandButton = nullptr |
QPointer< QWidget > | m_placeHolder = nullptr |
|
virtual |