diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-07-04 18:58:02 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-07-04 18:58:02 (GMT) |
commit | 285d9c6265b673238b1a97bb7da5ea48aff16beb (patch) | |
tree | 664f7eba133cf2b4d4e8add25229777806fc9b8c /addon/doxywizard/inputstrlist.cpp | |
parent | d3c3bbd02543280d12a763d82aa5b54ce516c57f (diff) | |
download | Doxygen-285d9c6265b673238b1a97bb7da5ea48aff16beb.zip Doxygen-285d9c6265b673238b1a97bb7da5ea48aff16beb.tar.gz Doxygen-285d9c6265b673238b1a97bb7da5ea48aff16beb.tar.bz2 |
Release-1.3.7-20040704
Diffstat (limited to 'addon/doxywizard/inputstrlist.cpp')
-rw-r--r-- | addon/doxywizard/inputstrlist.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/addon/doxywizard/inputstrlist.cpp b/addon/doxywizard/inputstrlist.cpp index 25d3ca3..f8e4888 100644 --- a/addon/doxywizard/inputstrlist.cpp +++ b/addon/doxywizard/inputstrlist.cpp @@ -13,8 +13,7 @@ */ #include "inputstrlist.h" -#include "pagewidget.h" -#include "pixmaps.h" +//#include "pixmaps.h" #include <qlabel.h> #include <qlayout.h> @@ -27,8 +26,8 @@ #include <qtooltip.h> InputStrList::InputStrList( const QString & label, - PageWidget *parent, QStrList &sl, ListMode lm) - : QWidget(parent->getLayout()), strList(sl) + QWidget *parent, QStrList &sl, ListMode lm) + : QWidget(parent), strList(sl) { QGridLayout *layout = new QGridLayout( this, 2, 2, 5 ); lab = new QLabel( label, this ); @@ -42,19 +41,22 @@ InputStrList::InputStrList( const QString & label, boxlayout->addWidget( le, 1 ); add = new QPushButton( dw ); - add->setPixmap( QPixmap( add_xpm )); + //add->setPixmap( QPixmap( add_xpm )); + add->setText( "+" ); add->setMinimumSize( add->sizeHint() ); QToolTip::add(add,"Add item"); boxlayout->addWidget( add ); del = new QPushButton( dw ); - del->setPixmap( QPixmap( del_xpm )); + //del->setPixmap( QPixmap( del_xpm )); + del->setText( "-" ); del->setMinimumSize( del->sizeHint() ); QToolTip::add(del,"Delete selected item"); boxlayout->addWidget( del ); upd = new QPushButton( dw ); - upd->setPixmap( QPixmap( update_xpm )); + //upd->setPixmap( QPixmap( update_xpm )); + upd->setText( "*" ); upd->setMinimumSize( upd->sizeHint() ); QToolTip::add(upd,"Update selected item"); boxlayout->addWidget( upd ); @@ -72,7 +74,8 @@ InputStrList::InputStrList( const QString & label, if (lm&ListFile) { brFile = new QPushButton(dw); - brFile->setPixmap( QPixmap(file_xpm) ); + //brFile->setPixmap( QPixmap(file_xpm) ); + brFile->setText("Select..."); brFile->setMinimumSize(brFile->sizeHint()); QToolTip::add(brFile,"Browse to a file"); boxlayout->addWidget( brFile ); @@ -80,7 +83,8 @@ InputStrList::InputStrList( const QString & label, if (lm&ListDir) { brDir = new QPushButton(dw); - brDir->setPixmap( QPixmap(folder_xpm) ); + //brDir->setPixmap( QPixmap(folder_xpm) ); + brDir->setText("Select..."); brDir->setMinimumSize(brDir->sizeHint()); QToolTip::add(brDir,"Browse to a folder"); boxlayout->addWidget( brDir ); @@ -111,10 +115,6 @@ InputStrList::InputStrList( const QString & label, } connect(lb, SIGNAL(selected(const QString &)), this, SLOT(selectText(const QString &))); - - parent->addWidget(this); - - strList=sl; } void InputStrList::addString() |