diff --git a/src/skeletonpartlistwidget.cpp b/src/skeletonpartlistwidget.cpp index c46c78fa..8f749f9b 100644 --- a/src/skeletonpartlistwidget.cpp +++ b/src/skeletonpartlistwidget.cpp @@ -9,17 +9,29 @@ SkeletonPartWidget::SkeletonPartWidget(const SkeletonDocument *document, QUuid p m_partId(partId) { m_visibleButton = new QPushButton(QChar(fa::eye)); - m_visibleButton->setStyleSheet("QPushButton {border: none; background: none; color: #cccccc;}"); + m_visibleButton->setStyleSheet("QPushButton {border: none; background: none; color: #252525;}"); m_visibleButton->setFont(Theme::awesome()->font(Theme::miniIconFontSize)); m_visibleButton->setFixedSize(Theme::miniIconSize, Theme::miniIconSize); + m_lockButton = new QPushButton(QChar(fa::unlock)); + m_lockButton->setStyleSheet("QPushButton {border: none; background: none; color: #252525;}"); + m_lockButton->setFont(Theme::awesome()->font(Theme::miniIconFontSize)); + m_lockButton->setFixedSize(Theme::miniIconSize, Theme::miniIconSize); + + m_subdivButton = new QPushButton(QChar(fa::cube)); + m_subdivButton->setStyleSheet("QPushButton {border: none; background: none; color: #252525;}"); + m_subdivButton->setFont(Theme::awesome()->font(Theme::miniIconFontSize)); + m_subdivButton->setFixedSize(Theme::miniIconSize, Theme::miniIconSize); + m_previewLabel = new QLabel; QHBoxLayout *miniToolLayout = new QHBoxLayout; miniToolLayout->setSpacing(0); miniToolLayout->setContentsMargins(0, 0, 0, 0); - miniToolLayout->addSpacing(3); + miniToolLayout->addSpacing(5); miniToolLayout->addWidget(m_visibleButton); + miniToolLayout->addWidget(m_lockButton); + miniToolLayout->addWidget(m_subdivButton); miniToolLayout->addStretch(); QVBoxLayout *mainLayout = new QVBoxLayout; diff --git a/src/skeletonpartlistwidget.h b/src/skeletonpartlistwidget.h index 385d40d4..edf64f7d 100644 --- a/src/skeletonpartlistwidget.h +++ b/src/skeletonpartlistwidget.h @@ -18,6 +18,8 @@ private: QUuid m_partId; QLabel *m_previewLabel; QPushButton *m_visibleButton; + QPushButton *m_lockButton; + QPushButton *m_subdivButton; QLabel *m_nameLabel; };