You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
3.5 KiB
97 lines
3.5 KiB
/****************************************************************************
|
|
** Form implementation generated from reading ui file './ksobjecttreedlginterf.ui'
|
|
**
|
|
** Created: śro mar 20 18:53:21 2002
|
|
** by: The User Interface Compiler (uic)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
****************************************************************************/
|
|
#include "ksobjecttreedlginterf.h"
|
|
|
|
#include <qvariant.h>
|
|
#include <qheader.h>
|
|
#include <qlistview.h>
|
|
#include <qpushbutton.h>
|
|
#include <qlayout.h>
|
|
#include <qtooltip.h>
|
|
#include <qwhatsthis.h>
|
|
|
|
/*
|
|
* Constructs a KSObjectTreePanelInterf which is a child of 'parent', with the
|
|
* name 'name' and widget flags set to 'f'.
|
|
*/
|
|
KSObjectTreePanelInterf::KSObjectTreePanelInterf( QWidget* parent, const char* name, WFlags fl )
|
|
: QWidget( parent, name, fl )
|
|
{
|
|
if ( !name )
|
|
setName( "KSObjectTreePanelInterf" );
|
|
resize( 201, 367 );
|
|
setCaption( trUtf8( "Object tree" ) );
|
|
KSObjectTreePanelInterfLayout = new QVBoxLayout( this, 1, 2, "KSObjectTreePanelInterfLayout");
|
|
|
|
objectView = new QListView( this, "objectView" );
|
|
objectView->addColumn( trUtf8( "Objects " ) );
|
|
objectView->setResizePolicy( QListView::AutoOneFit );
|
|
objectView->setVScrollBarMode( QListView::Auto );
|
|
objectView->setHScrollBarMode( QListView::AlwaysOff );
|
|
objectView->setSelectionMode( QListView::Extended );
|
|
objectView->setAllColumnsShowFocus( TRUE );
|
|
objectView->setRootIsDecorated( TRUE );
|
|
KSObjectTreePanelInterfLayout->addWidget( objectView );
|
|
|
|
Layout2 = new QHBoxLayout( 0, 0, 21, "Layout2");
|
|
|
|
buttonLower = new QPushButton( this, "buttonLower" );
|
|
QFont buttonLower_font( buttonLower->font() );
|
|
buttonLower_font.setPointSize( 9 );
|
|
buttonLower->setFont( buttonLower_font );
|
|
buttonLower->setText( trUtf8( "< Lower" ) );
|
|
buttonLower->setFlat( TRUE );
|
|
Layout2->addWidget( buttonLower );
|
|
|
|
buttonRaise = new QPushButton( this, "buttonRaise" );
|
|
QFont buttonRaise_font( buttonRaise->font() );
|
|
buttonRaise_font.setPointSize( 9 );
|
|
buttonRaise->setFont( buttonRaise_font );
|
|
buttonRaise->setText( trUtf8( "Raise >" ) );
|
|
buttonRaise->setFlat( TRUE );
|
|
Layout2->addWidget( buttonRaise );
|
|
KSObjectTreePanelInterfLayout->addLayout( Layout2 );
|
|
|
|
// signals and slots connections
|
|
connect( buttonLower, SIGNAL( clicked() ), this, SLOT( slotLower() ) );
|
|
connect( buttonRaise, SIGNAL( clicked() ), this, SLOT( slotRaise() ) );
|
|
connect( objectView, SIGNAL( rightButtonPressed(QListViewItem*,const QPoint&,int) ), this, SLOT( slotShowMenu(QListViewItem*,const QPoint&,int) ) );
|
|
connect( objectView, SIGNAL( selectionChanged() ), this, SLOT( slotObjectViewSelectionChanged() ) );
|
|
}
|
|
|
|
/*
|
|
* Destroys the object and frees any allocated resources
|
|
*/
|
|
KSObjectTreePanelInterf::~KSObjectTreePanelInterf()
|
|
{
|
|
// no need to delete child widgets, Qt does it all for us
|
|
}
|
|
|
|
void KSObjectTreePanelInterf::slotShowMenu( QListViewItem *, const QPoint&, int )
|
|
{
|
|
qWarning( "KSObjectTreePanelInterf::slotShowMenu( QListViewItem *, const QPoint&, int ): Not implemented yet!" );
|
|
}
|
|
|
|
void KSObjectTreePanelInterf::slotLower()
|
|
{
|
|
qWarning( "KSObjectTreePanelInterf::slotLower(): Not implemented yet!" );
|
|
}
|
|
|
|
void KSObjectTreePanelInterf::slotObjectViewSelectionChanged()
|
|
{
|
|
qWarning( "KSObjectTreePanelInterf::slotObjectViewSelectionChanged(): Not implemented yet!" );
|
|
}
|
|
|
|
void KSObjectTreePanelInterf::slotRaise()
|
|
{
|
|
qWarning( "KSObjectTreePanelInterf::slotRaise(): Not implemented yet!" );
|
|
}
|
|
|
|
#include "ksobjecttreedlginterf.moc"
|