/**************************************************************************** ** Form implementation generated from reading ui file 'propertyeditorreport.ui' ** ** Created: Mi Jan 25 19:10:36 2006 ** by: The User Interface Compiler ($Id: hk_kdereportpropertybase.cpp,v 1.32 2006/01/25 18:44:33 knorr Exp $) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "hk_kdereportpropertybase.h" #include #include #include #include #include #include #include #include #include #include #include #include /* * Constructs a hk_kdereportpropertybase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ hk_kdereportpropertybase::hk_kdereportpropertybase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "hk_kdereportpropertybase" ); setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); setMinimumSize( QSize( 310, 0 ) ); setBackgroundOrigin( QWidget::WidgetOrigin ); hk_kdereportpropertybaseLayout = new QGridLayout( this, 1, 1, 0, 0, "hk_kdereportpropertybaseLayout"); tab = new QTabWidget( this, "tab" ); tab->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, tab->sizePolicy().hasHeightForWidth() ) ); tab->setMinimumSize( QSize( 0, 0 ) ); datatab = new QWidget( tab, "datatab" ); datatabLayout = new QGridLayout( datatab, 1, 1, 11, 6, "datatabLayout"); Spacer3 = new QSpacerItem( 20, 80, QSizePolicy::Minimum, QSizePolicy::Expanding ); datatabLayout->addItem( Spacer3, 8, 0 ); Spacer4 = new QSpacerItem( 20, 80, QSizePolicy::Minimum, QSizePolicy::Expanding ); datatabLayout->addItem( Spacer4, 8, 1 ); subreportlabel = new QLabel( datatab, "subreportlabel" ); datatabLayout->addWidget( subreportlabel, 7, 0 ); identifierfield = new QLineEdit( datatab, "identifierfield" ); datatabLayout->addWidget( identifierfield, 2, 1 ); datasourcebutton = new QToolButton( datatab, "datasourcebutton" ); datasourcebutton->setMinimumSize( QSize( 20, 21 ) ); datasourcebutton->setMaximumSize( QSize( 20, 21 ) ); datatabLayout->addWidget( datasourcebutton, 1, 2 ); runningcountfield = new QComboBox( FALSE, datatab, "runningcountfield" ); datatabLayout->addWidget( runningcountfield, 6, 1 ); columnlabel = new QLabel( datatab, "columnlabel" ); datatabLayout->addWidget( columnlabel, 4, 0 ); sortingfield = new QComboBox( FALSE, datatab, "sortingfield" ); datatabLayout->addWidget( sortingfield, 3, 1 ); subreportbutton = new QPushButton( datatab, "subreportbutton" ); datatabLayout->addWidget( subreportbutton, 7, 1 ); valuefield = new QLineEdit( datatab, "valuefield" ); datatabLayout->addWidget( valuefield, 5, 1 ); identifierlabel = new QLabel( datatab, "identifierlabel" ); datatabLayout->addWidget( identifierlabel, 2, 0 ); datasourcefield = new QComboBox( FALSE, datatab, "datasourcefield" ); datasourcefield->setMinimumSize( QSize( 120, 0 ) ); datatabLayout->addWidget( datasourcefield, 1, 1 ); runningcountlabel = new QLabel( datatab, "runningcountlabel" ); datatabLayout->addWidget( runningcountlabel, 6, 0 ); valuelabel = new QLabel( datatab, "valuelabel" ); datatabLayout->addWidget( valuelabel, 5, 0 ); sortinglabel = new QLabel( datatab, "sortinglabel" ); datatabLayout->addWidget( sortinglabel, 3, 0 ); columnfield = new QComboBox( FALSE, datatab, "columnfield" ); columnfield->setEditable( TRUE ); columnfield->setAutoCompletion( TRUE ); columnfield->setDuplicatesEnabled( FALSE ); datatabLayout->addWidget( columnfield, 4, 1 ); datasourcelabel = new QLabel( datatab, "datasourcelabel" ); datatabLayout->addWidget( datasourcelabel, 1, 0 ); Idlabel = new QLabel( datatab, "Idlabel" ); Idlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, Idlabel->sizePolicy().hasHeightForWidth() ) ); datatabLayout->addWidget( Idlabel, 0, 0 ); idfield = new QLineEdit( datatab, "idfield" ); idfield->setEnabled( FALSE ); datatabLayout->addWidget( idfield, 0, 1 ); tab->insertTab( datatab, QString::fromLatin1("") ); formattab = new QWidget( tab, "formattab" ); formattabLayout = new QGridLayout( formattab, 1, 1, 11, 6, "formattabLayout"); widthlabel = new QLabel( formattab, "widthlabel" ); widthlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, widthlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( widthlabel, 3, 0 ); fontlabel = new QLabel( formattab, "fontlabel" ); fontlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, fontlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( fontlabel, 5, 0 ); fontfield = new QComboBox( FALSE, formattab, "fontfield" ); fontfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, fontfield->sizePolicy().hasHeightForWidth() ) ); fontfield->setEditable( TRUE ); fontfield->setAutoCompletion( TRUE ); fontfield->setDuplicatesEnabled( FALSE ); formattabLayout->addWidget( fontfield, 5, 1 ); fontsizefield = new QSpinBox( formattab, "fontsizefield" ); fontsizefield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, fontsizefield->sizePolicy().hasHeightForWidth() ) ); fontsizefield->setValue( 10 ); formattabLayout->addWidget( fontsizefield, 6, 1 ); ylabel = new QLabel( formattab, "ylabel" ); ylabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, ylabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( ylabel, 2, 0 ); fontsizelabel = new QLabel( formattab, "fontsizelabel" ); fontsizelabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, fontsizelabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( fontsizelabel, 6, 0 ); reporttypelabel = new QLabel( formattab, "reporttypelabel" ); reporttypelabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, reporttypelabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( reporttypelabel, 0, 0 ); reporttypefield = new QComboBox( FALSE, formattab, "reporttypefield" ); reporttypefield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, reporttypefield->sizePolicy().hasHeightForWidth() ) ); reporttypefield->setMinimumSize( QSize( 0, 0 ) ); formattabLayout->addWidget( reporttypefield, 0, 1 ); alignmentlabel = new QLabel( formattab, "alignmentlabel" ); alignmentlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, alignmentlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( alignmentlabel, 9, 0 ); alignmentfield = new QComboBox( FALSE, formattab, "alignmentfield" ); alignmentfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, alignmentfield->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( alignmentfield, 9, 1 ); boldlabel = new QLabel( formattab, "boldlabel" ); boldlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, boldlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( boldlabel, 7, 0 ); italiclabel = new QLabel( formattab, "italiclabel" ); italiclabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, italiclabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( italiclabel, 8, 0 ); boldfield = new QComboBox( FALSE, formattab, "boldfield" ); boldfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, boldfield->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( boldfield, 7, 1 ); italicfield = new QComboBox( FALSE, formattab, "italicfield" ); italicfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, italicfield->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( italicfield, 8, 1 ); xlabel = new QLabel( formattab, "xlabel" ); xlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, xlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( xlabel, 1, 0 ); xfield = new hk_kdespinbox( formattab, "xfield" ); xfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, xfield->sizePolicy().hasHeightForWidth() ) ); xfield->setMinimumSize( QSize( 0, 20 ) ); formattabLayout->addWidget( xfield, 1, 1 ); heightlabel = new QLabel( formattab, "heightlabel" ); heightlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, heightlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( heightlabel, 4, 0 ); heightfield = new hk_kdespinbox( formattab, "heightfield" ); heightfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, heightfield->sizePolicy().hasHeightForWidth() ) ); heightfield->setMinimumSize( QSize( 0, 20 ) ); formattabLayout->addWidget( heightfield, 4, 1 ); widthfield = new hk_kdespinbox( formattab, "widthfield" ); widthfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, widthfield->sizePolicy().hasHeightForWidth() ) ); widthfield->setMinimumSize( QSize( 0, 20 ) ); formattabLayout->addWidget( widthfield, 3, 1 ); yfield = new hk_kdespinbox( formattab, "yfield" ); yfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, yfield->sizePolicy().hasHeightForWidth() ) ); yfield->setMinimumSize( QSize( 0, 20 ) ); formattabLayout->addWidget( yfield, 2, 1 ); digitfield = new QSpinBox( formattab, "digitfield" ); digitfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, digitfield->sizePolicy().hasHeightForWidth() ) ); digitfield->setMaxValue( 15 ); formattabLayout->addWidget( digitfield, 12, 1 ); separatorfield = new QComboBox( FALSE, formattab, "separatorfield" ); separatorfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, separatorfield->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( separatorfield, 13, 1 ); digitlabel = new QLabel( formattab, "digitlabel" ); digitlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, digitlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( digitlabel, 12, 0 ); separatorlabel = new QLabel( formattab, "separatorlabel" ); separatorlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, separatorlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( separatorlabel, 13, 0 ); wordbreaklabel = new QLabel( formattab, "wordbreaklabel" ); wordbreaklabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, wordbreaklabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( wordbreaklabel, 10, 0 ); wordbreakfield = new QComboBox( FALSE, formattab, "wordbreakfield" ); wordbreakfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, wordbreakfield->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( wordbreakfield, 10, 1 ); dynamicheightlabel = new QLabel( formattab, "dynamicheightlabel" ); dynamicheightlabel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, dynamicheightlabel->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( dynamicheightlabel, 11, 0 ); dynamicheightfield = new QComboBox( FALSE, formattab, "dynamicheightfield" ); dynamicheightfield->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, dynamicheightfield->sizePolicy().hasHeightForWidth() ) ); formattabLayout->addWidget( dynamicheightfield, 11, 1 ); tab->insertTab( formattab, QString::fromLatin1("") ); frametab = new QWidget( tab, "frametab" ); frametabLayout = new QGridLayout( frametab, 1, 1, 5, 5, "frametabLayout"); toplinefield = new QComboBox( FALSE, frametab, "toplinefield" ); frametabLayout->addWidget( toplinefield, 0, 1 ); bottomlinefield = new QComboBox( FALSE, frametab, "bottomlinefield" ); frametabLayout->addWidget( bottomlinefield, 1, 1 ); leftlinefield = new QComboBox( FALSE, frametab, "leftlinefield" ); frametabLayout->addWidget( leftlinefield, 2, 1 ); rightlinefield = new QComboBox( FALSE, frametab, "rightlinefield" ); frametabLayout->addWidget( rightlinefield, 3, 1 ); diagonallurofield = new QComboBox( FALSE, frametab, "diagonallurofield" ); frametabLayout->addWidget( diagonallurofield, 4, 1 ); diagonallorufield = new QComboBox( FALSE, frametab, "diagonallorufield" ); frametabLayout->addWidget( diagonallorufield, 5, 1 ); toplinelabel = new QLabel( frametab, "toplinelabel" ); frametabLayout->addWidget( toplinelabel, 0, 0 ); bottomlinelabel = new QLabel( frametab, "bottomlinelabel" ); frametabLayout->addWidget( bottomlinelabel, 1, 0 ); leftlinelabel = new QLabel( frametab, "leftlinelabel" ); frametabLayout->addWidget( leftlinelabel, 2, 0 ); rightlinelabel = new QLabel( frametab, "rightlinelabel" ); frametabLayout->addWidget( rightlinelabel, 3, 0 ); diagonallurolabel = new QLabel( frametab, "diagonallurolabel" ); frametabLayout->addWidget( diagonallurolabel, 4, 0 ); diagonallorulabel = new QLabel( frametab, "diagonallorulabel" ); frametabLayout->addWidget( diagonallorulabel, 5, 0 ); bordertopfield = new hk_kdespinbox( frametab, "bordertopfield" ); frametabLayout->addWidget( bordertopfield, 6, 1 ); borderbottomfield = new hk_kdespinbox( frametab, "borderbottomfield" ); frametabLayout->addWidget( borderbottomfield, 7, 1 ); borderleftfield = new hk_kdespinbox( frametab, "borderleftfield" ); frametabLayout->addWidget( borderleftfield, 8, 1 ); borderrightfield = new hk_kdespinbox( frametab, "borderrightfield" ); frametabLayout->addWidget( borderrightfield, 9, 1 ); Spacer1_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); frametabLayout->addItem( Spacer1_2, 10, 0 ); Spacer2_2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); frametabLayout->addItem( Spacer2_2, 10, 1 ); borderrightlabel = new QLabel( frametab, "borderrightlabel" ); frametabLayout->addWidget( borderrightlabel, 9, 0 ); borderleftlabel = new QLabel( frametab, "borderleftlabel" ); frametabLayout->addWidget( borderleftlabel, 8, 0 ); borderbottomlabel = new QLabel( frametab, "borderbottomlabel" ); frametabLayout->addWidget( borderbottomlabel, 7, 0 ); bordertoplabel = new QLabel( frametab, "bordertoplabel" ); frametabLayout->addWidget( bordertoplabel, 6, 0 ); tab->insertTab( frametab, QString::fromLatin1("") ); actiontab = new QWidget( tab, "actiontab" ); actiontabLayout = new QGridLayout( actiontab, 1, 1, 11, 6, "actiontabLayout"); onprintlabel = new QLabel( actiontab, "onprintlabel" ); actiontabLayout->addWidget( onprintlabel, 0, 0 ); onprintaction = new QPushButton( actiontab, "onprintaction" ); actiontabLayout->addWidget( onprintaction, 0, 1 ); afterrowchangelabel_3 = new QLabel( actiontab, "afterrowchangelabel_3" ); actiontabLayout->addWidget( afterrowchangelabel_3, 5, 0 ); beforerowchangelabel_3 = new QLabel( actiontab, "beforerowchangelabel_3" ); actiontabLayout->addWidget( beforerowchangelabel_3, 4, 0 ); afterrowchangeaction = new QPushButton( actiontab, "afterrowchangeaction" ); actiontabLayout->addWidget( afterrowchangeaction, 5, 1 ); openactionlabel = new QLabel( actiontab, "openactionlabel" ); actiontabLayout->addWidget( openactionlabel, 2, 0 ); closeactionlabel = new QLabel( actiontab, "closeactionlabel" ); actiontabLayout->addWidget( closeactionlabel, 3, 0 ); onnewpagelabel = new QLabel( actiontab, "onnewpagelabel" ); actiontabLayout->addWidget( onnewpagelabel, 1, 0 ); onnewpageaction = new QPushButton( actiontab, "onnewpageaction" ); actiontabLayout->addWidget( onnewpageaction, 1, 1 ); onopenactionbutton = new QPushButton( actiontab, "onopenactionbutton" ); actiontabLayout->addWidget( onopenactionbutton, 2, 1 ); oncloseactionbutton = new QPushButton( actiontab, "oncloseactionbutton" ); actiontabLayout->addWidget( oncloseactionbutton, 3, 1 ); beforerowchangeaction = new QPushButton( actiontab, "beforerowchangeaction" ); actiontabLayout->addWidget( beforerowchangeaction, 4, 1 ); spacer23 = new QSpacerItem( 20, 140, QSizePolicy::Minimum, QSizePolicy::Expanding ); actiontabLayout->addItem( spacer23, 6, 0 ); spacer24 = new QSpacerItem( 20, 140, QSizePolicy::Minimum, QSizePolicy::Expanding ); actiontabLayout->addItem( spacer24, 6, 1 ); tab->insertTab( actiontab, QString::fromLatin1("") ); hk_kdereportpropertybaseLayout->addWidget( tab, 0, 0 ); languageChange(); resize( QSize(508, 578).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); // signals and slots connections connect( afterrowchangeaction, SIGNAL( clicked() ), this, SLOT( afterrowchange_action_clicked() ) ); connect( alignmentfield, SIGNAL( activated(const QString&) ), this, SLOT( format_changes() ) ); connect( alignmentfield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( beforerowchangeaction, SIGNAL( clicked() ), this, SLOT( beforerowchange_action_clicked() ) ); connect( boldfield, SIGNAL( activated(int) ), this, SLOT( font_changes() ) ); connect( borderbottomfield, SIGNAL( valueChanged(int) ), this, SLOT( data_changes() ) ); connect( borderleftfield, SIGNAL( valueChanged(int) ), this, SLOT( data_changes() ) ); connect( borderrightfield, SIGNAL( valueChanged(int) ), this, SLOT( data_changes() ) ); connect( bordertopfield, SIGNAL( valueChanged(int) ), this, SLOT( data_changes() ) ); connect( bottomlinefield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( bottomlinefield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( columnfield, SIGNAL( activated(const QString&) ), this, SLOT( data_changes() ) ); connect( columnfield, SIGNAL( textChanged(const QString&) ), this, SLOT( data_changes() ) ); connect( datasourcebutton, SIGNAL( clicked() ), this, SLOT( datasourcebutton_clicked() ) ); connect( datasourcefield, SIGNAL( textChanged(const QString&) ), this, SLOT( datasource_selected() ) ); connect( datasourcefield, SIGNAL( activated(int) ), this, SLOT( datasource_selected() ) ); connect( datasourcefield, SIGNAL( activated(const QString&) ), this, SLOT( data_changes() ) ); connect( diagonallorufield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( diagonallorufield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( diagonallurofield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( diagonallurofield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( digitfield, SIGNAL( valueChanged(int) ), this, SLOT( format_changes() ) ); connect( fontfield, SIGNAL( textChanged(const QString&) ), this, SLOT( font_changes() ) ); connect( fontsizefield, SIGNAL( valueChanged(int) ), this, SLOT( font_changes() ) ); connect( heightfield, SIGNAL( valueChanged(int) ), this, SLOT( size_changes() ) ); connect( identifierfield, SIGNAL( returnPressed() ), this, SLOT( identifier_changed() ) ); connect( identifierfield, SIGNAL( lostFocus() ), this, SLOT( identifier_changed() ) ); connect( italicfield, SIGNAL( activated(int) ), this, SLOT( font_changes() ) ); connect( leftlinefield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( leftlinefield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( oncloseactionbutton, SIGNAL( clicked() ), this, SLOT( closeactionbutton_clicked() ) ); connect( onnewpageaction, SIGNAL( clicked() ), this, SLOT( onprintnewpage_action_clicked() ) ); connect( onopenactionbutton, SIGNAL( clicked() ), this, SLOT( openactionbutton_clicked() ) ); connect( onprintaction, SIGNAL( clicked() ), this, SLOT( onprint_action_clicked() ) ); connect( rightlinefield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( rightlinefield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( runningcountfield, SIGNAL( activated(const QString&) ), this, SLOT( data_changes() ) ); connect( separatorfield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( sortingfield, SIGNAL( activated(int) ), this, SLOT( data_changes() ) ); connect( subreportbutton, SIGNAL( clicked() ), this, SLOT( subreportbutton_clicked() ) ); connect( toplinefield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( toplinefield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( valuefield, SIGNAL( textChanged(const QString&) ), this, SLOT( data_changes() ) ); connect( widthfield, SIGNAL( valueChanged(int) ), this, SLOT( size_changes() ) ); connect( wordbreakfield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( wordbreakfield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); connect( xfield, SIGNAL( valueChanged(int) ), this, SLOT( position_changes() ) ); connect( yfield, SIGNAL( valueChanged(int) ), this, SLOT( position_changes() ) ); connect( dynamicheightfield, SIGNAL( activated(int) ), this, SLOT( format_changes() ) ); connect( dynamicheightfield, SIGNAL( textChanged(const QString&) ), this, SLOT( format_changes() ) ); } /* * Destroys the object and frees any allocated resources */ hk_kdereportpropertybase::~hk_kdereportpropertybase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void hk_kdereportpropertybase::languageChange() { setCaption( tr( "Property Editor" ) ); subreportlabel->setText( tr( "Subreport:" ) ); datasourcebutton->setText( tr( "..." ) ); columnlabel->setText( tr( "Column:" ) ); subreportbutton->setText( QString::null ); identifierlabel->setText( tr( "Identifier:" ) ); runningcountlabel->setText( tr( "RunningCount:" ) ); valuelabel->setText( tr( "Value:" ) ); sortinglabel->setText( tr( "Sorting:" ) ); datasourcelabel->setText( tr( "Datasource:" ) ); Idlabel->setText( tr( "Id:" ) ); tab->changeTab( datatab, tr( "&Data" ) ); widthlabel->setText( tr( "Width:" ) ); fontlabel->setText( tr( "Font:" ) ); ylabel->setText( tr( "Y:" ) ); fontsizelabel->setText( tr( "Fontsize:" ) ); reporttypelabel->setText( tr( "Reporttype:" ) ); alignmentlabel->setText( tr( "Alignment:" ) ); boldlabel->setText( tr( "Bold:" ) ); italiclabel->setText( tr( "Italic:" ) ); xlabel->setText( tr( "X:" ) ); heightlabel->setText( tr( "Height:" ) ); digitlabel->setText( tr( "TextLabel1" ) ); separatorlabel->setText( tr( "TextLabel2" ) ); wordbreaklabel->setText( tr( "Linebreak:" ) ); dynamicheightlabel->setText( tr( "Dynamic height:" ) ); tab->changeTab( formattab, tr( "&Format" ) ); toplinelabel->setText( tr( "TopLine:" ) ); bottomlinelabel->setText( tr( "BottomLine:" ) ); leftlinelabel->setText( tr( "LeftLine:" ) ); rightlinelabel->setText( tr( "RightLine:" ) ); diagonallurolabel->setText( tr( "DiagonalLURO:" ) ); diagonallorulabel->setText( tr( "DiagonalLORU:" ) ); borderrightlabel->setText( tr( "Border Right:" ) ); borderleftlabel->setText( tr( "Border Left:" ) ); borderbottomlabel->setText( tr( "Border Bottom:" ) ); bordertoplabel->setText( tr( "Border Top:" ) ); tab->changeTab( frametab, tr( "F&rame" ) ); onprintlabel->setText( tr( "On print:" ) ); onprintaction->setText( QString::null ); afterrowchangelabel_3->setText( tr( "After row change:" ) ); beforerowchangelabel_3->setText( tr( "Before row change:" ) ); afterrowchangeaction->setText( QString::null ); openactionlabel->setText( tr( "On open:" ) ); closeactionlabel->setText( tr( "On close:" ) ); onnewpagelabel->setText( tr( "On new page:" ) ); onnewpageaction->setText( QString::null ); onopenactionbutton->setText( QString::null ); oncloseactionbutton->setText( QString::null ); beforerowchangeaction->setText( QString::null ); tab->changeTab( actiontab, tr( "&Action" ) ); } void hk_kdereportpropertybase::identifier_changed() { qWarning( "hk_kdereportpropertybase::identifier_changed(): Not implemented yet" ); } void hk_kdereportpropertybase::actionobject_changes() { qWarning( "hk_kdereportpropertybase::actionobject_changes(): Not implemented yet" ); } void hk_kdereportpropertybase::add_propertydatasource() { qWarning( "hk_kdereportpropertybase::add_propertydatasource(): Not implemented yet" ); } void hk_kdereportpropertybase::data_changes() { qWarning( "hk_kdereportpropertybase::data_changes(): Not implemented yet" ); } void hk_kdereportpropertybase::datasource_selected() { qWarning( "hk_kdereportpropertybase::datasource_selected(): Not implemented yet" ); } void hk_kdereportpropertybase::datasourcebutton_clicked() { qWarning( "hk_kdereportpropertybase::datasourcebutton_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::format_changes() { qWarning( "hk_kdereportpropertybase::format_changes(): Not implemented yet" ); } void hk_kdereportpropertybase::subreportbutton_clicked() { qWarning( "hk_kdereportpropertybase::subreportbutton_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::set_object(hk_visible*) { qWarning( "hk_kdereportpropertybase::set_object(hk_visible*): Not implemented yet" ); } void hk_kdereportpropertybase::onprint_action_clicked() { qWarning( "hk_kdereportpropertybase::onprint_action_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::beforerowchange_action_clicked() { qWarning( "hk_kdereportpropertybase::beforerowchange_action_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::afterrowchange_action_clicked() { qWarning( "hk_kdereportpropertybase::afterrowchange_action_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::onprintnewpage_action_clicked() { qWarning( "hk_kdereportpropertybase::onprintnewpage_action_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::closeactionbutton_clicked() { qWarning( "hk_kdereportpropertybase::closeactionbutton_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::openactionbutton_clicked() { qWarning( "hk_kdereportpropertybase::openactionbutton_clicked(): Not implemented yet" ); } void hk_kdereportpropertybase::font_changes() { qWarning( "hk_kdereportpropertybase::font_changes(): Not implemented yet" ); } void hk_kdereportpropertybase::position_changes() { qWarning( "hk_kdereportpropertybase::position_changes(): Not implemented yet" ); } void hk_kdereportpropertybase::size_changes() { qWarning( "hk_kdereportpropertybase::size_changes(): Not implemented yet" ); }