head 1.17; access; symbols AS_AFTER_RESTRUCTURING:1.7 OSSP_REL:1.1.1.1 OSSP_VEN:1.1.1; locks; strict; comment @// @; 1.17 date 2004.05.27.21.48.41; author ms; state Exp; branches; next 1.16; 1.16 date 2004.05.27.21.42.26; author ms; state Exp; branches; next 1.15; 1.15 date 2003.11.20.11.31.20; author ms; state Exp; branches; next 1.14; 1.14 date 2003.02.14.19.27.03; author ms; state Exp; branches; next 1.13; 1.13 date 2003.01.29.17.05.31; author ms; state Exp; branches; next 1.12; 1.12 date 2003.01.28.16.41.16; author ms; state Exp; branches; next 1.11; 1.11 date 2002.12.19.20.46.26; author ms; state Exp; branches; next 1.10; 1.10 date 2002.12.12.12.19.48; author ms; state Exp; branches; next 1.9; 1.9 date 2002.12.10.00.00.57; author ms; state Exp; branches; next 1.8; 1.8 date 2002.12.02.13.25.36; author ms; state Exp; branches; next 1.7; 1.7 date 2002.11.28.20.44.36; author ms; state Exp; branches; next 1.6; 1.6 date 2002.11.24.20.39.31; author ms; state Exp; branches; next 1.5; 1.5 date 2002.11.13.12.38.25; author ms; state Exp; branches; next 1.4; 1.4 date 2002.11.11.21.39.08; author ms; state Exp; branches; next 1.3; 1.3 date 2002.11.08.12.21.34; author ms; state Exp; branches; next 1.2; 1.2 date 2002.10.21.16.52.22; author ms; state Exp; branches; next 1.1; 1.1 date 2002.10.21.15.19.37; author ms; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.21.15.19.37; author ms; state Exp; branches; next ; desc @@ 1.17 log @Modernize copyright text in source and graphic headers. @ text @// // OSSP asgui - Accounting system graphical user interface // Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) // Copyright (c) 2002-2004 Ralf S. Engelschall // Copyright (c) 2002-2004 Michael Schloh von Bennewitz // Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH // // This file is part of OSSP asgui, an accounting system graphical user // interface which can be found at http://www.ossp.org/pkg/tool/asgui/. // // Permission to use, copy, modify, and distribute this software for // any purpose with or without fee is hereby granted, provided that // the above copyright notice and this permission notice appear in all // copies. // // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. // IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF // USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND // ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT // OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // SUCH DAMAGE. // // as_main.cpp: ISO C++ implementation // #include #include "as_gui.h" int main(int argc, char **argv) { QApplication App(argc, argv, QApplication::GuiClient); Titraqform Mainform; // Main app window App.setMainWidget(&Mainform); Mainform.show(); // Finally start the show Mainform.loadInit(); // Start with initial data return App.exec(); } @ 1.16 log @Correct file names in source headers. @ text @d3 4 a6 4 // Copyright (c) 2002-2003 The OSSP Project (http://www.ossp.org/) // Copyright (c) 2002-2003 Ralf S. Engelschall // Copyright (c) 2002-2003 Michael Schloh von Bennewitz // Copyright (c) 2002-2003 Cable & Wireless Telecommunications Services GmbH @ 1.15 log @Handle the time consuming bureaucracy of changing a company name. @ text @d29 1 a29 1 // main.cpp: ISO C++ implementation @ 1.14 log @Added logic to include prefs pixmap in both menu and toolbar, removed optional 'this' parameter from all calls to connect(), ripped out more header includes from monolithic interface header, made call of prefs panel an instance of class QAction, changed .bak file message text in class Prefpanel, and renamed default RPC hosts to show what a proper format is. @ text @a3 1 // Copyright (c) 2002-2003 Cable & Wireless Deutschland (http://www.cw.com/de/) d6 1 @ 1.13 log @Fixed the scroll before show bug, causing a bad data screen position. @ text @d32 2 @ 1.12 log @Implemented initial file loading by shell argument, and cleaned up some other small problems. @ text @d42 1 @ 1.11 log @Added full close document and disable handling, added new dimmed icons for showing disabled state, fixed status edit control pixmap redraw, fixed remaining edit pixmap on old data, fixed get/set empy Rowdata for cut/copy/paste ops, fixed member filename corruption and data loss problem, optimized addRow and pasteRow graphic drawing, added better file name handling by accessors, and streamlined widget enablement logic in slots. @ text @d37 1 a37 1 QApplication App(argc, argv); @ 1.10 log @Load column view preferences on init, and save them on exit. @ text @a41 2 App.connect(&App, SIGNAL(lastWindowClosed()), &App, SLOT(quit())); App.connect(&App, SIGNAL(aboutToQuit()), &Mainform, SLOT(savePrefs())); @ 1.9 log @Changed key bindings and exit without save logic, removed error messages on new document generation. @ text @d43 1 @ 1.8 log @Logic changes to correct the buildconf after CVS restructure. @ text @d42 1 @ 1.7 log @Massive build configuration preparation, added boilerplate header text, and cleaned up whitespace. @ text @d32 1 a32 1 #include "titraq.h" @ 1.6 log @Improve new preference object handling. @ text @d1 31 d33 1 @ 1.5 log @Introduce prototypes, correct variable naming, and other cleanups. @ text @a0 2 #include d7 3 a9 6 // The main Titraq application window Titraqform *pMainform = new Titraqform; App.setMainWidget(pMainform); App.setStyle(new QCDEStyle); // Change style to CDE pMainform->show(); // Finally start the show @ 1.4 log @Flush changes ending in a more complete application frame. @ text @a0 1 #include @ 1.3 log @Abandonment of all karm sources, and total reworking of project titraq. @ text @d2 1 a2 4 #include #include #include #include a5 7 // OSSP logo: static const char *ossplogo_xpm[] #include "gfx/ossplogo.xpm" // Table size const int numRows = 10; const int numCols = 6; d8 1 a8 25 QApplication App(argc, argv); QTable table(numRows, numCols); QHeader *header = table.horizontalHeader(); header->setLabel(0, QObject::tr("Klein"), 40); header->setLabel(1, QObject::tr("Krasse Checkung")); header->setLabel(5, QObject::tr("Combo Buxen")); header->setMovingEnabled(TRUE); QImage img(ossplogo_xpm); QPixmap pix = img.scaleHeight(table.rowHeight(3)); table.setPixmap(3, 2, pix); table.setText(3, 2, "OSSP"); QStringList comboEntries; comboEntries << "uno" << "dos" << "tres" << "quatro"; for (int i = 0; i < numRows; ++i){ QComboTableItem * item = new QComboTableItem(&table, comboEntries, FALSE); item->setCurrentItem(i % 4); table.setItem(i, 5, item); } for (int j = 0; j < numRows; ++j) table.setItem(j, 1, new QCheckTableItem(&table, "Checkung")); d10 5 a14 3 // Titraqform *pMainform = new Titraqform; // App.setMainWidget(pMainform); // pMainform->show(); a15 2 App.setMainWidget(&table); table.show(); @ 1.2 log @First KDE strips, and limited documentation changes. @ text @d2 4 a5 2 #include "version.h" #include "top.h" d7 10 a16 1 int main(int argc, char *argv[]) d18 17 a34 1 QApplication App(argc, argv); d36 7 a42 1 KarmWindow *karm = new KarmWindow; d44 3 a46 2 App.setMainWidget(karm); karm->show(); d48 2 @ 1.1 log @Initial revision @ text @d3 1 a3 1 //#include "top.h" @ 1.1.1.1 log @Birth of OSSP titraq GUI for Cable & Wireless Muenchen accounting system. @ text @@