Changeset View
Changeset View
Standalone View
Standalone View
infocenter.cpp
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | |||||
47 | #include <QMenuBar> | 47 | #include <QMenuBar> | ||
48 | 48 | | |||
49 | KInfoCenter::KInfoCenter() : KXmlGuiWindow( 0, Qt::WindowContextHelpButtonHint ) | 49 | KInfoCenter::KInfoCenter() : KXmlGuiWindow( 0, Qt::WindowContextHelpButtonHint ) | ||
50 | { | 50 | { | ||
51 | setWindowIcon(QIcon::fromTheme(QStringLiteral("hwinfo"))); | 51 | setWindowIcon(QIcon::fromTheme(QStringLiteral("hwinfo"))); | ||
52 | setWindowTitle(i18nc("Main window title", "KInfocenter")); | 52 | setWindowTitle(i18nc("Main window title", "KInfocenter")); | ||
53 | setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); | 53 | setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); | ||
54 | 54 | | |||
55 | setMinimumWidth(800); | ||||
56 | setMinimumHeight(600); | ||||
57 | | ||||
55 | m_cWidget = new QWidget(this); | 58 | m_cWidget = new QWidget(this); | ||
56 | setCentralWidget(m_cWidget); | 59 | setCentralWidget(m_cWidget); | ||
57 | 60 | | |||
58 | QVBoxLayout *cLayout = new QVBoxLayout(m_cWidget); | 61 | QVBoxLayout *cLayout = new QVBoxLayout(m_cWidget); | ||
59 | 62 | | |||
60 | cLayout->setSpacing(0); | 63 | cLayout->setSpacing(0); | ||
61 | cLayout->setContentsMargins(0, 0, 0, 0); | 64 | cLayout->setContentsMargins(0, 0, 0, 0); | ||
62 | createMainFrame(); | 65 | createMainFrame(); | ||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |