Changeset View
Changeset View
Standalone View
Standalone View
Viewer/CategoryImageConfig.cpp
| Show All 38 Lines | |||||
| 39 | 39 | | |||
| 40 | using Utilities::StringSet; | 40 | using Utilities::StringSet; | ||
| 41 | 41 | | |||
| 42 | Viewer::CategoryImageConfig* Viewer::CategoryImageConfig::s_instance = nullptr; | 42 | Viewer::CategoryImageConfig* Viewer::CategoryImageConfig::s_instance = nullptr; | ||
| 43 | 43 | | |||
| 44 | Viewer::CategoryImageConfig::CategoryImageConfig() | 44 | Viewer::CategoryImageConfig::CategoryImageConfig() | ||
| 45 | : m_image( QImage() ) | 45 | : m_image( QImage() ) | ||
| 46 | { | 46 | { | ||
| 47 | setWindowTitle( i18nc("@title:window","Configure Category Image") ); | 47 | setWindowTitle(i18nc("@title:window", "Configure Category Image")); | ||
| 48 | QWidget* top = new QWidget; | 48 | QWidget* top = new QWidget; | ||
| 49 | 49 | | |||
| 50 | QVBoxLayout* lay1 = new QVBoxLayout( top ); | 50 | QVBoxLayout* lay1 = new QVBoxLayout( top ); | ||
| 51 | setLayout(lay1); | 51 | setLayout(lay1); | ||
| 52 | QGridLayout* lay2 = new QGridLayout; | 52 | QGridLayout* lay2 = new QGridLayout; | ||
| 53 | lay1->addLayout( lay2 ); | 53 | lay1->addLayout( lay2 ); | ||
| 54 | 54 | | |||
| 55 | // Group | 55 | // Group | ||
| ▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines | |||||