summaryrefslogtreecommitdiffabout
path: root/korganizer/kofilterview_base.cpp
blob: 6709630d3cd2cda57c3969472318d229a9d41b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/****************************************************************************
** Form implementation generated from reading ui file 'kofilterview_base.ui'
**
** Created: Sat Jun 26 17:24:07 2004
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "kofilterview_base.h"

#include <qcheckbox.h>
#include <qcombobox.h>
#include <qframe.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/* 
 *  Constructs a KOFilterView_base which is a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f' 
 */
KOFilterView_base::KOFilterView_base( QWidget* parent,  const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "KOFilterView_base" );
    resize( 100, 100 ); 
    setCaption( tr( "Form2" ) );
    KOFilterView_baseLayout = new QVBoxLayout( this ); 
    KOFilterView_baseLayout->setSpacing( 2 );
    KOFilterView_baseLayout->setMargin( 2 );

    Frame11 = new QFrame( this, "Frame11" );
    Frame11->setFrameShadow( QFrame::Raised );
    Frame11->setFrameShape( QFrame::StyledPanel );
    Frame11Layout = new QVBoxLayout( Frame11 ); 
    Frame11Layout->setSpacing( 1 );
    Frame11Layout->setMargin( 2 );

    mEnabledCheck = new QCheckBox( Frame11, "mEnabledCheck" );
    mEnabledCheck->setText( tr( "Filter enabled" ) );
    Frame11Layout->addWidget( mEnabledCheck );

    mSelectionCombo = new QComboBox( FALSE, Frame11, "mSelectionCombo" );
    Frame11Layout->addWidget( mSelectionCombo );
    KOFilterView_baseLayout->addWidget( Frame11 );

    mEditButton = new QPushButton( this, "mEditButton" );
    mEditButton->setText( tr( "Edit Filters" ) );
    KOFilterView_baseLayout->addWidget( mEditButton );
}

/*  
 *  Destroys the object and frees any allocated resources
 */
KOFilterView_base::~KOFilterView_base()
{
    // no need to delete child widgets, Qt does it all for us
}