A rich8_edit_save
    rich8 edit save program.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@39 74b1f884-b478-11dd-b9ef-63de0a379bfc
A src.pro
A main_window.h
A main.cpp
A main_window.cpp
    qt version for editing rich8 save file.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@40 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    add mac_version_str() and win_version_str() .
    open_file_slot() check select file name is NULL qstring.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@41 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
M rich8_edit_save/main_window.cpp
    use QFILE do file IO.
    because some filename(QString type) convert to char* type will get some error.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@42 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    add win_version_str() content.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@43 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
    rename createFormGroupBox() -> create_form_groupbox()

M rich8_edit_save/main_window.cpp
    change UI, modify player persion and combobox.
    add Q_OS_WIN32 for win_version_str().
    


git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@44 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
M rich8_edit_save/main_window.cpp
    add cash, saving, point, position, direction fields.
    add fill_data function for read save file data and fill to all fileds.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@45 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
M rich8_edit_save/src.pro
M rich8_edit_save/main_window.cpp
    fill_data(): read 1P data.
    add cash and saving filed data.
    change layout, let saving below cash.


git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@46 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
    add backup_file(), but not implement it.
M rich8_edit_save/main_window.cpp
    add empty card field, now can edit emtpy card field.
    add status bar.
    center about dialog, but not very correctly.
    open file: remember opened the directory path.
    open file: fixed fill card data bug, original code will fill 
      wrong card data. 
    save file: use a offset variable to wirte data.


git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@47 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    add card name.
    in save_ (), close the opened file.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@48 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
M rich8_edit_save/main_window.cpp
    add backup file option.
    rewrite open/save/save_as algorithm, because the save file is very small,
        so read it to QByteArray not need many memory and convenient to complement open/save/save_as function.
    fixed when no card (FF FF FF FF), the compare condition will fail (buf[0]==0xff, need use buf[0]=0xffffffff)
    I use u8 to cast the char * data, it look fine.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@49 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/src.pro
    add xml

M rich8_edit_save/main_window.h
M rich8_edit_save/main_window.cpp
    use QMessage::about, QMessageBox::warning for QMessage::exec().
    remove useless code.
    add QDomDocument for save config.
        1. open file path.
	2. font.
	3. backup file or not.
	4. cfg_path. Only for a infomation.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@50 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.h
M rich8_edit_save/main_window.cpp
    add different offset for different save file support,
      because there are different offset in different save files.
      add unknow card data support, this can show a unknow card,
      in normal case, this means read wrong data.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@51 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    fixed saving data.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@52 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    now can modify 1P, 2P, 3P 4P players card data.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@53 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    add modify point, cash, saving function.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@54 74b1f884-b478-11dd-b9ef-63de0a379bfc
AM rich8_edit_save/rich8_edit_save.rc
AM rich8_edit_save/rich8_edit_save.qrc
A  rich8_edit_save/images
AM rich8_edit_save/images/window_icon.png
M  rich8_edit_save/src.pro
AM rich8_edit_save/app_winxp.ico
    add windows application icon.

M  rich8_edit_save/main_window.cpp
    setWindowIcon() add icon in title bar.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@61 74b1f884-b478-11dd-b9ef-63de0a379bfc
AM rich8_icon.png
    for application icon.



git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@63 74b1f884-b478-11dd-b9ef-63de0a379bfc
M rich8_edit_save/main_window.cpp
    fixed win32 char \ -> \\ .


git-svn-id: https://qt-prog.googlecode.com/svn/trunk/rich8_edit_save@66 74b1f884-b478-11dd-b9ef-63de0a379bfc
Merge branch 'master' of ../../rich8_edit_save