summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-10-05 08:34:05 (UTC)
committer harlekin <harlekin>2002-10-05 08:34:05 (UTC)
commit1c4ff9de7fffc613fcb137440234c695a7939d4e (patch) (side-by-side diff)
tree3efccf40020f3195f953c3007888c5be39ec151e
parent3d179c07f9321c80dfce8b8e9fe8a5cb8251e3b3 (diff)
downloadopie-1c4ff9de7fffc613fcb137440234c695a7939d4e.zip
opie-1c4ff9de7fffc613fcb137440234c695a7939d4e.tar.gz
opie-1c4ff9de7fffc613fcb137440234c695a7939d4e.tar.bz2
type fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumwidget.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc
index 9ce024e..f9cac8b 100644
--- a/noncore/settings/mediummount/mediumwidget.cc
+++ b/noncore/settings/mediummount/mediumwidget.cc
@@ -26,67 +26,67 @@ MediumMountWidget::MediumMountWidget(const QString &path,
QWidget *parent,
const char *name )
: QWidget( parent, name )
{
if(parent == 0){
resize(QApplication::desktop()->width(), QApplication::desktop()->height() );
}else{
resize(parent->width(), parent->height() );
}
m_path = path;
initGUI();
m_label->setPixmap(pix );
m_config = 0;
readConfig();
}
// now we fire up the GUI
// if I would know what I'm doing ;)
void MediumMountWidget::initGUI()
{
//main layout
m_box = new QVBoxLayout( this , 5, 5 );
m_box->setSpacing( 5 );
//m_box->addStretch( -1 );
// picture + text
m_infoBox = new QHBox(this, "infobox" );
m_infoBox->setSpacing( 4 );
m_label = new QLabel(m_infoBox );
m_desc = new QLabel(m_infoBox );
m_desc->setTextFormat( Qt::RichText );
m_desc->setText("Configure this medium. The changes will"
- "go into effect when the application get's"
- "closed. To update the Document Tab you need"
- "to removeand insert this medium." );
+ " go into effect when the application get's"
+ " closed. To update the Document Tab you need"
+ " to removeand insert this medium." );
m_box->addWidget( m_infoBox ); // add the widget to the layout
// groupbox
m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" );
m_checks = new QGridLayout( m_group, 4, 3 );
m_checks->setMargin( 12 );
QSpacerItem *item2 = new QSpacerItem(5, 8,
QSizePolicy::Fixed,
QSizePolicy::Fixed);
m_box->addItem( item2 );
m_audio = new QCheckBox( tr("Audio"), m_group );
m_all = new QCheckBox( tr("All") , m_group );
m_image = new QCheckBox( tr("Image"), m_group );
m_text = new QCheckBox( tr("Text") , m_group );
m_video = new QCheckBox( tr("Video"), m_group );
QSpacerItem *iti1b = new QSpacerItem(2, 10, QSizePolicy::Fixed,
QSizePolicy::Fixed );
m_checks->addItem( iti1b, 0, 0 );
m_checks->addWidget(m_audio, 1, 0 );
m_checks->addWidget(m_image, 2, 0 );
m_checks->addWidget(m_all , 3, 0 );
m_checks->addWidget(m_text, 1, 2 );
m_checks->addWidget(m_video, 2, 2 );