summaryrefslogtreecommitdiffabout
path: root/korganizer
Unidiff
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/filteredit_base.cpp5
-rw-r--r--korganizer/filteredit_base.h5
-rw-r--r--korganizer/filteredit_base.ui10
-rw-r--r--korganizer/korganizer.pro0
4 files changed, 5 insertions, 15 deletions
diff --git a/korganizer/filteredit_base.cpp b/korganizer/filteredit_base.cpp
index e724da4..d61ee67 100644
--- a/korganizer/filteredit_base.cpp
+++ b/korganizer/filteredit_base.cpp
@@ -1,47 +1,46 @@
1/**************************************************************************** 1/****************************************************************************
2** Form implementation generated from reading ui file 'filteredit_base.ui' 2** Form implementation generated from reading ui file 'filteredit_base.ui'
3** 3**
4** Created: So Jan 16 11:23:21 2005 4** Created: So Jan 16 11:40:31 2005
5** by: The User Interface Compiler ($Id$) 5** by: The User Interface Compiler ($Id$)
6** 6**
7** WARNING! All changes made in this file will be lost! 7** WARNING! All changes made in this file will be lost!
8****************************************************************************/ 8****************************************************************************/
9 9
10#include "filteredit_base.h" 10#include "filteredit_base.h"
11 11
12#include <qvariant.h> 12#include <qvariant.h>
13#include <qpushbutton.h> 13#include <qpushbutton.h>
14#include <qframe.h> 14#include <qframe.h>
15#include <qbuttongroup.h> 15#include <qbuttongroup.h>
16#include <qradiobutton.h> 16#include <qradiobutton.h>
17#include <qlistbox.h> 17#include <qlistbox.h>
18#include <qlabel.h> 18#include <qlabel.h>
19#include <qcheckbox.h> 19#include <qcheckbox.h>
20#include <qlayout.h> 20#include <qlayout.h>
21#include <qtooltip.h> 21#include <qtooltip.h>
22#include <qwhatsthis.h> 22#include <qwhatsthis.h>
23#include "filteredit_base.ui.h"
24 23
25/* 24/*
26 * Constructs a FilterEdit_base as a child of 'parent', with the 25 * Constructs a FilterEdit_base as a child of 'parent', with the
27 * name 'name' and widget flags set to 'f'. 26 * name 'name' and widget flags set to 'f'.
28 */ 27 */
29FilterEdit_base::FilterEdit_base( QWidget* parent, const char* name, WFlags fl ) 28FilterEdit_base::FilterEdit_base( QWidget* parent, const char* name, WFlags fl )
30 : QWidget( parent, name, fl ) 29 : QWidget( parent, name, fl )
31{ 30{
32 if ( !name ) 31 if ( !name )
33 setName( "FilterEdit_base" ); 32 setName( "FilterEdit_base" );
34 FilterEdit_baseLayout = new QVBoxLayout( this, 0, 0, "FilterEdit_baseLayout"); 33 FilterEdit_baseLayout = new QVBoxLayout( this, 0, 0, "FilterEdit_baseLayout");
35 34
36 mCriteriaFrame = new QFrame( this, "mCriteriaFrame" ); 35 mCriteriaFrame = new QFrame( this, "mCriteriaFrame" );
37 mCriteriaFrame->setFrameShape( QFrame::StyledPanel ); 36 mCriteriaFrame->setFrameShape( QFrame::StyledPanel );
38 mCriteriaFrame->setFrameShadow( QFrame::Raised ); 37 mCriteriaFrame->setFrameShadow( QFrame::Raised );
39 mCriteriaFrameLayout = new QVBoxLayout( mCriteriaFrame, 3, 2, "mCriteriaFrameLayout"); 38 mCriteriaFrameLayout = new QVBoxLayout( mCriteriaFrame, 3, 2, "mCriteriaFrameLayout");
40 39
41 ButtonGroup1 = new QButtonGroup( mCriteriaFrame, "ButtonGroup1" ); 40 ButtonGroup1 = new QButtonGroup( mCriteriaFrame, "ButtonGroup1" );
42 ButtonGroup1->setColumnLayout(0, Qt::Vertical ); 41 ButtonGroup1->setColumnLayout(0, Qt::Vertical );
43 ButtonGroup1->layout()->setSpacing( 6 ); 42 ButtonGroup1->layout()->setSpacing( 6 );
44 ButtonGroup1->layout()->setMargin( 6 ); 43 ButtonGroup1->layout()->setMargin( 6 );
45 ButtonGroup1Layout = new QGridLayout( ButtonGroup1->layout() ); 44 ButtonGroup1Layout = new QGridLayout( ButtonGroup1->layout() );
46 ButtonGroup1Layout->setAlignment( Qt::AlignTop ); 45 ButtonGroup1Layout->setAlignment( Qt::AlignTop );
47 46
@@ -86,49 +85,49 @@ FilterEdit_base::FilterEdit_base( QWidget* parent, const char* name, WFlags fl )
86 mTodoCheck = new QCheckBox( mCriteriaFrame, "mTodoCheck" ); 85 mTodoCheck = new QCheckBox( mCriteriaFrame, "mTodoCheck" );
87 layout9->addWidget( mTodoCheck ); 86 layout9->addWidget( mTodoCheck );
88 87
89 mJournalCheck = new QCheckBox( mCriteriaFrame, "mJournalCheck" ); 88 mJournalCheck = new QCheckBox( mCriteriaFrame, "mJournalCheck" );
90 layout9->addWidget( mJournalCheck ); 89 layout9->addWidget( mJournalCheck );
91 mCriteriaFrameLayout->addLayout( layout9 ); 90 mCriteriaFrameLayout->addLayout( layout9 );
92 91
93 layout2 = new QHBoxLayout( 0, 0, 0, "layout2"); 92 layout2 = new QHBoxLayout( 0, 0, 0, "layout2");
94 93
95 textLabel2 = new QLabel( mCriteriaFrame, "textLabel2" ); 94 textLabel2 = new QLabel( mCriteriaFrame, "textLabel2" );
96 layout2->addWidget( textLabel2 ); 95 layout2->addWidget( textLabel2 );
97 96
98 mPublicCheck = new QCheckBox( mCriteriaFrame, "mPublicCheck" ); 97 mPublicCheck = new QCheckBox( mCriteriaFrame, "mPublicCheck" );
99 layout2->addWidget( mPublicCheck ); 98 layout2->addWidget( mPublicCheck );
100 99
101 mPrivateCheck = new QCheckBox( mCriteriaFrame, "mPrivateCheck" ); 100 mPrivateCheck = new QCheckBox( mCriteriaFrame, "mPrivateCheck" );
102 layout2->addWidget( mPrivateCheck ); 101 layout2->addWidget( mPrivateCheck );
103 102
104 mConfidentialCheck = new QCheckBox( mCriteriaFrame, "mConfidentialCheck" ); 103 mConfidentialCheck = new QCheckBox( mCriteriaFrame, "mConfidentialCheck" );
105 mConfidentialCheck->setChecked( FALSE ); 104 mConfidentialCheck->setChecked( FALSE );
106 layout2->addWidget( mConfidentialCheck ); 105 layout2->addWidget( mConfidentialCheck );
107 mCriteriaFrameLayout->addLayout( layout2 ); 106 mCriteriaFrameLayout->addLayout( layout2 );
108 FilterEdit_baseLayout->addWidget( mCriteriaFrame ); 107 FilterEdit_baseLayout->addWidget( mCriteriaFrame );
109 languageChange(); 108 languageChange();
110 resize( QSize(351, 275).expandedTo(minimumSizeHint()) ); 109 resize( QSize(324, 281).expandedTo(minimumSizeHint()) );
111 clearWState( WState_Polished ); 110 clearWState( WState_Polished );
112} 111}
113 112
114/* 113/*
115 * Destroys the object and frees any allocated resources 114 * Destroys the object and frees any allocated resources
116 */ 115 */
117FilterEdit_base::~FilterEdit_base() 116FilterEdit_base::~FilterEdit_base()
118{ 117{
119 // no need to delete child widgets, Qt does it all for us 118 // no need to delete child widgets, Qt does it all for us
120} 119}
121 120
122/* 121/*
123 * Sets the strings of the subwidgets using the current 122 * Sets the strings of the subwidgets using the current
124 * language. 123 * language.
125 */ 124 */
126void FilterEdit_base::languageChange() 125void FilterEdit_base::languageChange()
127{ 126{
128 setCaption( tr( "FilterEditor" ) ); 127 setCaption( tr( "FilterEditor" ) );
129 ButtonGroup1->setTitle( tr( "Categories" ) ); 128 ButtonGroup1->setTitle( tr( "Categories" ) );
130 mCatShowCheck->setText( tr( "Include" ) ); 129 mCatShowCheck->setText( tr( "Include" ) );
131 mCatHideCheck->setText( tr( "Exclude" ) ); 130 mCatHideCheck->setText( tr( "Exclude" ) );
132 mCatEditButton->setText( tr( "Edit Selection..." ) ); 131 mCatEditButton->setText( tr( "Edit Selection..." ) );
133 textLabel1->setText( tr( "Exclude" ) ); 132 textLabel1->setText( tr( "Exclude" ) );
134 mRecurringCheck->setText( tr( "recurring events" ) ); 133 mRecurringCheck->setText( tr( "recurring events" ) );
diff --git a/korganizer/filteredit_base.h b/korganizer/filteredit_base.h
index 0c2988a..6d8780e 100644
--- a/korganizer/filteredit_base.h
+++ b/korganizer/filteredit_base.h
@@ -1,28 +1,28 @@
1/**************************************************************************** 1/****************************************************************************
2** Form interface generated from reading ui file 'filteredit_base.ui' 2** Form interface generated from reading ui file 'filteredit_base.ui'
3** 3**
4** Created: So Jan 16 11:23:21 2005 4** Created: So Jan 16 11:40:31 2005
5** by: The User Interface Compiler ($Id$) 5** by: The User Interface Compiler ($Id$)
6** 6**
7** WARNING! All changes made in this file will be lost! 7** WARNING! All changes made in this file will be lost!
8****************************************************************************/ 8****************************************************************************/
9 9
10#ifndef FILTEREDIT_BASE_H 10#ifndef FILTEREDIT_BASE_H
11#define FILTEREDIT_BASE_H 11#define FILTEREDIT_BASE_H
12 12
13#include <qvariant.h> 13#include <qvariant.h>
14#include <qwidget.h> 14#include <qwidget.h>
15 15
16class QVBoxLayout; 16class QVBoxLayout;
17class QHBoxLayout; 17class QHBoxLayout;
18class QGridLayout; 18class QGridLayout;
19class QSpacerItem; 19class QSpacerItem;
20class QFrame; 20class QFrame;
21class QButtonGroup; 21class QButtonGroup;
22class QRadioButton; 22class QRadioButton;
23class QPushButton; 23class QPushButton;
24class QListBox; 24class QListBox;
25class QListBoxItem; 25class QListBoxItem;
26class QLabel; 26class QLabel;
27class QCheckBox; 27class QCheckBox;
28 28
@@ -31,42 +31,39 @@ class FilterEdit_base : public QWidget
31 Q_OBJECT 31 Q_OBJECT
32 32
33public: 33public:
34 FilterEdit_base( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); 34 FilterEdit_base( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
35 ~FilterEdit_base(); 35 ~FilterEdit_base();
36 36
37 QFrame* mCriteriaFrame; 37 QFrame* mCriteriaFrame;
38 QButtonGroup* ButtonGroup1; 38 QButtonGroup* ButtonGroup1;
39 QRadioButton* mCatShowCheck; 39 QRadioButton* mCatShowCheck;
40 QRadioButton* mCatHideCheck; 40 QRadioButton* mCatHideCheck;
41 QPushButton* mCatEditButton; 41 QPushButton* mCatEditButton;
42 QListBox* mCatList; 42 QListBox* mCatList;
43 QLabel* textLabel1; 43 QLabel* textLabel1;
44 QCheckBox* mRecurringCheck; 44 QCheckBox* mRecurringCheck;
45 QCheckBox* mCompletedCheck; 45 QCheckBox* mCompletedCheck;
46 QLabel* textLabel1_2; 46 QLabel* textLabel1_2;
47 QCheckBox* mEventCheck; 47 QCheckBox* mEventCheck;
48 QCheckBox* mTodoCheck; 48 QCheckBox* mTodoCheck;
49 QCheckBox* mJournalCheck; 49 QCheckBox* mJournalCheck;
50 QLabel* textLabel2; 50 QLabel* textLabel2;
51 QCheckBox* mPublicCheck; 51 QCheckBox* mPublicCheck;
52 QCheckBox* mPrivateCheck; 52 QCheckBox* mPrivateCheck;
53 QCheckBox* mConfidentialCheck; 53 QCheckBox* mConfidentialCheck;
54 54
55public slots:
56 virtual void updateFilter();
57
58protected: 55protected:
59 QVBoxLayout* FilterEdit_baseLayout; 56 QVBoxLayout* FilterEdit_baseLayout;
60 QVBoxLayout* mCriteriaFrameLayout; 57 QVBoxLayout* mCriteriaFrameLayout;
61 QGridLayout* ButtonGroup1Layout; 58 QGridLayout* ButtonGroup1Layout;
62 QHBoxLayout* layout4; 59 QHBoxLayout* layout4;
63 QHBoxLayout* layout7; 60 QHBoxLayout* layout7;
64 QHBoxLayout* layout9; 61 QHBoxLayout* layout9;
65 QHBoxLayout* layout2; 62 QHBoxLayout* layout2;
66 63
67protected slots: 64protected slots:
68 virtual void languageChange(); 65 virtual void languageChange();
69 66
70}; 67};
71 68
72#endif // FILTEREDIT_BASE_H 69#endif // FILTEREDIT_BASE_H
diff --git a/korganizer/filteredit_base.ui b/korganizer/filteredit_base.ui
index 2436f57..b093b00 100644
--- a/korganizer/filteredit_base.ui
+++ b/korganizer/filteredit_base.ui
@@ -1,36 +1,36 @@
1<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> 1<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2<class>FilterEdit_base</class> 2<class>FilterEdit_base</class>
3<widget class="QWidget"> 3<widget class="QWidget">
4 <property name="name"> 4 <property name="name">
5 <cstring>FilterEdit_base</cstring> 5 <cstring>FilterEdit_base</cstring>
6 </property> 6 </property>
7 <property name="geometry"> 7 <property name="geometry">
8 <rect> 8 <rect>
9 <x>0</x> 9 <x>0</x>
10 <y>0</y> 10 <y>0</y>
11 <width>351</width> 11 <width>324</width>
12 <height>275</height> 12 <height>281</height>
13 </rect> 13 </rect>
14 </property> 14 </property>
15 <property name="caption"> 15 <property name="caption">
16 <string>FilterEditor</string> 16 <string>FilterEditor</string>
17 </property> 17 </property>
18 <property name="layoutMargin" stdset="0"> 18 <property name="layoutMargin" stdset="0">
19 </property> 19 </property>
20 <property name="layoutSpacing" stdset="0"> 20 <property name="layoutSpacing" stdset="0">
21 </property> 21 </property>
22 <vbox> 22 <vbox>
23 <property name="name"> 23 <property name="name">
24 <cstring>unnamed</cstring> 24 <cstring>unnamed</cstring>
25 </property> 25 </property>
26 <property name="margin"> 26 <property name="margin">
27 <number>0</number> 27 <number>0</number>
28 </property> 28 </property>
29 <property name="spacing"> 29 <property name="spacing">
30 <number>0</number> 30 <number>0</number>
31 </property> 31 </property>
32 <widget class="QFrame"> 32 <widget class="QFrame">
33 <property name="name"> 33 <property name="name">
34 <cstring>mCriteriaFrame</cstring> 34 <cstring>mCriteriaFrame</cstring>
35 </property> 35 </property>
36 <property name="frameShape"> 36 <property name="frameShape">
@@ -219,32 +219,26 @@
219 <property name="name"> 219 <property name="name">
220 <cstring>mPrivateCheck</cstring> 220 <cstring>mPrivateCheck</cstring>
221 </property> 221 </property>
222 <property name="text"> 222 <property name="text">
223 <string>private</string> 223 <string>private</string>
224 </property> 224 </property>
225 </widget> 225 </widget>
226 <widget class="QCheckBox"> 226 <widget class="QCheckBox">
227 <property name="name"> 227 <property name="name">
228 <cstring>mConfidentialCheck</cstring> 228 <cstring>mConfidentialCheck</cstring>
229 </property> 229 </property>
230 <property name="text"> 230 <property name="text">
231 <string>confidential</string> 231 <string>confidential</string>
232 </property> 232 </property>
233 <property name="checked"> 233 <property name="checked">
234 <bool>false</bool> 234 <bool>false</bool>
235 </property> 235 </property>
236 </widget> 236 </widget>
237 </hbox> 237 </hbox>
238 </widget> 238 </widget>
239 </vbox> 239 </vbox>
240 </widget> 240 </widget>
241 </vbox> 241 </vbox>
242</widget> 242</widget>
243<includes>
244 <include location="local" impldecl="in implementation">filteredit_base.ui.h</include>
245</includes>
246<slots>
247 <slot>updateFilter()</slot>
248</slots>
249<layoutdefaults spacing="6" margin="11"/> 243<layoutdefaults spacing="6" margin="11"/>
250</UI> 244</UI>
diff --git a/korganizer/korganizer.pro b/korganizer/korganizer.pro
index 628d84e..c2602b2 100644
--- a/korganizer/korganizer.pro
+++ b/korganizer/korganizer.pro