Changeset View
Changeset View
Standalone View
Standalone View
keditfiletype/filetypedetails.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | FileTypeDetails::FileTypeDetails( QWidget * parent ) | 48 | FileTypeDetails::FileTypeDetails( QWidget * parent ) | ||
49 | : QWidget( parent ), m_mimeTypeData(nullptr), m_item(nullptr) | 49 | : QWidget( parent ), m_mimeTypeData(nullptr), m_item(nullptr) | ||
50 | { | 50 | { | ||
51 | 51 | | |||
52 | QVBoxLayout* topLayout = new QVBoxLayout(this); | 52 | QVBoxLayout* topLayout = new QVBoxLayout(this); | ||
53 | topLayout->setContentsMargins(0, 0, 0, 0); | 53 | topLayout->setContentsMargins(0, 0, 0, 0); | ||
54 | 54 | | |||
55 | m_mimeTypeLabel = new QLabel(this); | 55 | m_mimeTypeLabel = new QLabel(this); | ||
56 | m_mimeTypeLabel->setTextInteractionFlags(Qt::TextSelectableByMouse); | ||||
56 | topLayout->addWidget(m_mimeTypeLabel, 0, Qt::AlignCenter); | 57 | topLayout->addWidget(m_mimeTypeLabel, 0, Qt::AlignCenter); | ||
57 | 58 | | |||
58 | m_tabWidget = new QTabWidget(this); | 59 | m_tabWidget = new QTabWidget(this); | ||
59 | topLayout->addWidget(m_tabWidget); | 60 | topLayout->addWidget(m_tabWidget); | ||
60 | 61 | | |||
61 | QString wtstr; | 62 | QString wtstr; | ||
62 | // First tab - General | 63 | // First tab - General | ||
63 | QWidget * firstWidget = new QWidget(m_tabWidget); | 64 | QWidget * firstWidget = new QWidget(m_tabWidget); | ||
▲ Show 20 Lines • Show All 302 Lines • Show Last 20 Lines |