summaryrefslogtreecommitdiff
path: root/noncore
authordrw <drw>2002-10-26 19:12:24 (UTC)
committer drw <drw>2002-10-26 19:12:24 (UTC)
commitff2c581b50252714fb4621d088cbf0961ed23f2b (patch) (side-by-side diff)
treeeeae9967322a8ec4aa6b86d044c4b7ac0c700785 /noncore
parent0929d2489a2ae219fc6ab02f5fe0678a21f50190 (diff)
downloadopie-ff2c581b50252714fb4621d088cbf0961ed23f2b.zip
opie-ff2c581b50252714fb4621d088cbf0961ed23f2b.tar.gz
opie-ff2c581b50252714fb4621d088cbf0961ed23f2b.tar.bz2
Use new pics for checkbook
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/checkbook/checkbook.cpp8
-rw-r--r--noncore/apps/checkbook/opie-checkbook.control4
2 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/checkbook/checkbook.cpp b/noncore/apps/checkbook/checkbook.cpp
index ee65784..4b81c6d 100644
--- a/noncore/apps/checkbook/checkbook.cpp
+++ b/noncore/apps/checkbook/checkbook.cpp
@@ -64,27 +64,27 @@ Checkbook::Checkbook( QWidget *parent, const QString &n, const QString &fd, char
setCaption( tr( "New checkbook" ) );
}
// Setup layout to make everything pretty
QVBoxLayout *layout = new QVBoxLayout( this );
layout->setMargin( 2 );
layout->setSpacing( 4 );
// Setup tabs for all info
mainWidget = new OTabWidget( this );
layout->addWidget( mainWidget );
- mainWidget->addTab( initInfo(), "help_icon", tr( "Info" ) );
- mainWidget->addTab( initTransactions(), "Spreadsheet", tr( "Transactions" ) );
- mainWidget->addTab( initCharts(), "DocumentTypePowerPoint", tr( "Charts" ) );
+ mainWidget->addTab( initInfo(), "checkbook/infotab", tr( "Info" ) );
+ mainWidget->addTab( initTransactions(), "checkbook/trantab", tr( "Transactions" ) );
+ mainWidget->addTab( initCharts(), "checkbook/charttab", tr( "Charts" ) );
mainWidget->setCurrentTab( tr( "Info" ) );
// Load checkbook information
loadCheckbook();
}
Checkbook::~Checkbook()
{
}
const QString &Checkbook::getName()
{
@@ -238,25 +238,25 @@ QWidget *Checkbook::initCharts()
graphList = new QComboBox( control );
graphList->insertItem( tr( "By category" ) );
graphList->insertItem( tr( "..." ) );
graphList->insertItem( tr( "..." ) );
layout->addWidget( graphList, 0, 1 );
*/
QWidget *graphWidget = new QWidget( control );
QWhatsThis::add( graphWidget, tr( "Graph not implemented yet." ) );
layout->addMultiCellWidget( graphWidget, 0, 0, 0, 1 );
graphWidget->setBackgroundMode( QWidget::PaletteBase );
- QPushButton *btn = new QPushButton( Resource::loadPixmap( "edit" ), tr( "Draw" ), control );
+ QPushButton *btn = new QPushButton( Resource::loadPixmap( "checkbook/drawbtn" ), tr( "Draw" ), control );
QWhatsThis::add( btn, tr( "Click here to draw the graph." ) );
connect( btn, SIGNAL( clicked() ), this, SLOT( slotDrawGraph() ) );
layout->addWidget( btn, 1, 1 );
return control;
}
void Checkbook::loadCheckbook()
{
transactions.clear();
Config config(filename, Config::File);
diff --git a/noncore/apps/checkbook/opie-checkbook.control b/noncore/apps/checkbook/opie-checkbook.control
index f8e14ca..7bde1db 100644
--- a/noncore/apps/checkbook/opie-checkbook.control
+++ b/noncore/apps/checkbook/opie-checkbook.control
@@ -1,9 +1,9 @@
-Files: bin/checkbook apps/Applications/checkbook.desktop pics/checkbook/checkbook.png
+Files: bin/checkbook apps/Applications/checkbook.desktop pics/checkbook
Priority: optional
Section: applications
-Maintainer: drw <drw@handhelds.org>
+Maintainer: Dan Williams <williamsdr@acm.org>
Architecture: arm
Version: $QPE_VERSION-$SUB_VERSION
Depends: opie-base ($QPE_VERSION), libopie ($QPE_VERSION)
Description: Checkbook keeping program.
The checkbook accounting program for the Opie environment.