-rw-r--r-- | noncore/settings/mediummount/mediumglobal.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc index 46d3343..75e3839 100644 --- a/noncore/settings/mediummount/mediumglobal.cc +++ b/noncore/settings/mediummount/mediumglobal.cc | |||
@@ -21,17 +21,17 @@ MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name ) | |||
21 | m_config = 0; | 21 | m_config = 0; |
22 | initGUI(); | 22 | initGUI(); |
23 | readConfig(); | 23 | readConfig(); |
24 | 24 | ||
25 | } | 25 | } |
26 | void MediumGlobalWidget::initGUI() | 26 | void MediumGlobalWidget::initGUI() |
27 | { | 27 | { |
28 | m_layout = new QVBoxLayout(this ); | 28 | m_layout = new QVBoxLayout(this ); |
29 | // m_layout->setMargin( 10 ); | 29 | m_layout->setMargin( 4 ); |
30 | // m_layout->setSpacing( 10 ); | 30 | // m_layout->setSpacing( 10 ); |
31 | 31 | ||
32 | 32 | ||
33 | m_label = new QLabel( this ); | 33 | m_label = new QLabel( this ); |
34 | m_label->setTextFormat( Qt::RichText ); | 34 | m_label->setTextFormat( Qt::RichText ); |
35 | m_label->setText( tr("") ); | 35 | m_label->setText( tr("") ); |
36 | QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " | 36 | QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " |
37 | "tries to search the medium for Documents. On " | 37 | "tries to search the medium for Documents. On " |
@@ -56,17 +56,17 @@ void MediumGlobalWidget::initGUI() | |||
56 | m_useglobal = new QCheckBox( tr("Use global settings"), m_frame ); | 56 | m_useglobal = new QCheckBox( tr("Use global settings"), m_frame ); |
57 | connect( m_useglobal, SIGNAL( stateChanged(int) ), | 57 | connect( m_useglobal, SIGNAL( stateChanged(int) ), |
58 | this, SLOT( slotGlobalChanged() ) ); | 58 | this, SLOT( slotGlobalChanged() ) ); |
59 | 59 | ||
60 | m_box->addWidget( m_useglobal ); | 60 | m_box->addWidget( m_useglobal ); |
61 | 61 | ||
62 | m_global = new QGroupBox( tr("Which media files"), m_frame ); | 62 | m_global = new QGroupBox( tr("Which media files"), m_frame ); |
63 | m_frameLay = new QGridLayout(m_global, 4, 3 ); | 63 | m_frameLay = new QGridLayout(m_global, 4, 3 ); |
64 | m_frameLay->setMargin( 6 ); | 64 | m_frameLay->setMargin( 10 ); |
65 | 65 | ||
66 | QSpacerItem *item2 = new QSpacerItem( 5, 8, | 66 | QSpacerItem *item2 = new QSpacerItem( 5, 8, |
67 | QSizePolicy::Fixed, | 67 | QSizePolicy::Fixed, |
68 | QSizePolicy::Fixed ); | 68 | QSizePolicy::Fixed ); |
69 | m_audio = new QCheckBox( tr("Audio"), m_global ); | 69 | m_audio = new QCheckBox( tr("Audio"), m_global ); |
70 | m_all = new QCheckBox( tr("All") , m_global ); | 70 | m_all = new QCheckBox( tr("All") , m_global ); |
71 | m_image = new QCheckBox( tr("Image"), m_global ); | 71 | m_image = new QCheckBox( tr("Image"), m_global ); |
72 | m_text = new QCheckBox( tr("Text") , m_global ); | 72 | m_text = new QCheckBox( tr("Text") , m_global ); |
@@ -79,18 +79,18 @@ void MediumGlobalWidget::initGUI() | |||
79 | 79 | ||
80 | m_frameLay->addWidget( m_audio, 1, 0 ); | 80 | m_frameLay->addWidget( m_audio, 1, 0 ); |
81 | m_frameLay->addWidget( m_image, 2, 0 ); | 81 | m_frameLay->addWidget( m_image, 2, 0 ); |
82 | m_frameLay->addWidget( m_all, 3, 0 ); | 82 | m_frameLay->addWidget( m_all, 3, 0 ); |
83 | 83 | ||
84 | m_frameLay->addWidget( m_text, 1, 2 ); | 84 | m_frameLay->addWidget( m_text, 1, 2 ); |
85 | m_frameLay->addWidget( m_video, 2, 2 ); | 85 | m_frameLay->addWidget( m_video, 2, 2 ); |
86 | 86 | ||
87 | // m_frameLay->addRowSpacing( 0, 8 ); | 87 | m_frameLay->addRowSpacing( 0, 8 ); |
88 | // m_frameLay->addColSpacing( 1, 2 ); | 88 | m_frameLay->addColSpacing( 1, 2 ); |
89 | 89 | ||
90 | m_box->addWidget( m_global ); | 90 | m_box->addWidget( m_global ); |
91 | 91 | ||
92 | 92 | ||
93 | m_layout->addWidget( m_frame ); | 93 | m_layout->addWidget( m_frame ); |
94 | 94 | ||
95 | QSpacerItem *item1 = new QSpacerItem( 1, 24, | 95 | QSpacerItem *item1 = new QSpacerItem( 1, 24, |
96 | QSizePolicy::Fixed, | 96 | QSizePolicy::Fixed, |