lozsrame::MainWindow Class Reference

#include <mainwindow.hh>

List of all members.


Detailed Description

The main application window class.

Definition at line 39 of file mainwindow.hh.


Public Member Functions

 MainWindow ()
 Creates a new MainWindow.

Protected Member Functions

void closeEvent (QCloseEvent *event)
 Called when the window is being closed.
void dragEnterEvent (QDragEnterEvent *event)
 Called when something is dragged over the window.
void dropEvent (QDropEvent *event)
 Called when something is dropped on the window.
void showEvent (QShowEvent *)
 Called when the window is shown.

Private Slots

void on_checkBait_clicked (bool checked)
 Called when the bait is (de)selected.
void on_checkBook_clicked (bool checked)
 Called when the book is (de)selected.
void on_checkBoomerang_clicked (bool checked)
 Called when the boomerang is (de)selected.
void on_checkBow_clicked (bool checked)
 Called when the bow is (de)selected.
void on_checkCompass1_clicked (bool checked)
 Called when the level 1 compass is (de)selected.
void on_checkCompass2_clicked (bool checked)
 Called when the level 2 compass is (de)selected.
void on_checkCompass3_clicked (bool checked)
 Called when the level 3 compass is (de)selected.
void on_checkCompass4_clicked (bool checked)
 Called when the level 4 compass is (de)selected.
void on_checkCompass5_clicked (bool checked)
 Called when the level 5 compass is (de)selected.
void on_checkCompass6_clicked (bool checked)
 Called when the level 6 compass is (de)selected.
void on_checkCompass7_clicked (bool checked)
 Called when the level 7 compass is (de)selected.
void on_checkCompass8_clicked (bool checked)
 Called when the level 8 compass is (de)selected.
void on_checkCompass9_clicked (bool checked)
 Called when the level 9 compass is (de)selected.
void on_checkLadder_clicked (bool checked)
 Called when the ladder is (de)selected.
void on_checkMap1_clicked (bool checked)
 Called when the level 1 map is (de)selected.
void on_checkMap2_clicked (bool checked)
 Called when the level 2 map is (de)selected.
void on_checkMap3_clicked (bool checked)
 Called when the level 3 map is (de)selected.
void on_checkMap4_clicked (bool checked)
 Called when the level 4 map is (de)selected.
void on_checkMap5_clicked (bool checked)
 Called when the level 5 map is (de)selected.
void on_checkMap6_clicked (bool checked)
 Called when the level 6 map is (de)selected.
void on_checkMap7_clicked (bool checked)
 Called when the level 7 map is (de)selected.
void on_checkMap8_clicked (bool checked)
 Called when the level 8 map is (de)selected.
void on_checkMap9_clicked (bool checked)
 Called when the level 9 map is (de)selected.
void on_checkMagicBoomerang_clicked (bool checked)
 Called when the magic boomerang is (de)selected.
void on_checkMagicKey_clicked (bool checked)
 Called when the magic key is (de)selected.
void on_checkMagicShield_clicked (bool checked)
 Called when the magic shield is (de)selected.
void on_checkPowerBracelet_clicked (bool checked)
 Called when the power bracelet is (de)selected.
void on_checkRaft_clicked (bool checked)
 Called when the raft is (de)selected.
void on_checkTriforce1_clicked (bool checked)
 Called when triforce piece 1 is (de)selected.
void on_checkTriforce2_clicked (bool checked)
 Called when triforce piece 2 is (de)selected.
void on_checkTriforce3_clicked (bool checked)
 Called when triforce piece 3 is (de)selected.
void on_checkTriforce4_clicked (bool checked)
 Called when triforce piece 4 is (de)selected.
void on_checkTriforce5_clicked (bool checked)
 Called when triforce piece 5 is (de)selected.
void on_checkTriforce6_clicked (bool checked)
 Called when triforce piece 6 is (de)selected.
void on_checkTriforce7_clicked (bool checked)
 Called when triforce piece 7 is (de)selected.
void on_checkTriforce8_clicked (bool checked)
 Called when triforce piece 8 is (de)selected.
void on_checkWand_clicked (bool checked)
 Called when the wand is (de)selected.
void on_checkWhistle_clicked (bool checked)
 Called when the whistle is (de)selected.
void on_fileClose_triggered (bool)
 Called when close from the file menu is selected.
void on_fileExit_triggered (bool)
 Called when exit from the file menu is selected.
void on_fileOpen_triggered (bool)
 Called when open from the file menu is selected.
void on_fileSave_triggered (bool)
 Called when save from the file menu is selected.
void on_fileSaveAs_triggered (bool)
 Called when save as from the file menu is selected.
void on_helpAbout_triggered (bool)
 Called when about from the help menu is selected.
void on_lineHerosName_textEdited (const QString &text)
 Called when the hero's name is edited.
void on_radioArrowsNone_clicked (bool)
 Called when the arrows are removed.
void on_radioArrowsSilver_clicked (bool)
 Called when the silver arrows are selected.
void on_radioArrowsWooden_clicked (bool)
 Called when the wooden arrows are selected.
void on_radioCandleBlue_clicked (bool)
 Called when the blue candle is selected.
void on_radioCandleNone_clicked (bool)
 Called when the candle is removed.
void on_radioCandleRed_clicked (bool)
 Called when the red candle is selected.
void on_radioNoteLink_clicked (bool)
 Called when the note is set to Link.
void on_radioNoteOldMan_clicked (bool)
 Called when the note is set to the old man.
void on_radioNoteOldWoman_clicked (bool)
 Called when the note is set to the old woman.
void on_radioQuestFirst_clicked (bool)
 Called when the first quest is selected.
void on_radioQuestSecond_clicked (bool)
 Called when the second quest is selected.
void on_radioPotionBlue_clicked (bool)
 Called when the blue potion is selected.
void on_radioPotionNone_clicked (bool)
 Called when the potion is removed.
void on_radioPotionRed_clicked (bool)
 Called when the red potion is selected.
void on_radioRingBlue_clicked (bool)
 Called when the blue ring is selected.
void on_radioRingNone_clicked (bool)
 Called when the ring is removed.
void on_radioRingRed_clicked (bool)
 Called when the red ring is selected.
void on_radioSwordMaster_clicked (bool)
 Called when the master sword is selected.
void on_radioSwordNone_clicked (bool)
 Called when the sword is removed.
void on_radioSwordWhite_clicked (bool)
 Called when the white sword is selected.
void on_radioSwordWooden_clicked (bool)
 Called when the wooden sword is selected.
void on_spinBombsCarrying_valueChanged (int value)
 Called when the bomb count is changed.
void on_spinBombsCapacity_valueChanged (int value)
 Called when the bomb capacity is changed.
void on_spinHeartContainers_valueChanged (int value)
 Called when the heart containers are changed.
void on_spinKeys_valueChanged (int value)
 Called when the keys are changed.
void on_spinPlayCount_valueChanged (int value)
 Called when the play count is changed.
void on_spinRupees_valueChanged (int value)
 Called when the rupee count is changed.
void selectGame (int game)
 Selects which save slot to edit.

Private Member Functions

bool closeSRAM ()
 Closes the current SRAM file.
void loadSRAMData ()
 Loads the SRAM data into the controls.
void openSRAM (const QString &filename)
 Opens an SRAM file for editing.
void updateUI ()
 Updates the UI based on the status of the program.
void selectArrows (enum sf_arrow arrows)
 Selects one of the arrow types.
void selectCandle (enum sf_candle candle)
 Selects one of the candle types.
void selectCompass (int level, bool give)
 (De)selects one of the level compasses.
void selectItem (enum sf_item item, bool give)
 (De)selects one of the items.
void selectMap (int level, bool give)
 (De)selects one of the level maps.
void selectNote (enum sf_note note)
 Selects one of the note locations.
void selectPotion (enum sf_potion potion)
 Selects one of the potions.
void selectQuest (enum sf_quest quest)
 Selects one of the quests.
void selectRing (enum sf_ring ring)
 Selects one of the rings.
void selectSword (enum sf_sword sword)
 Selects one of the swords.
void selectTriforce (int level, bool give)
 (De)selects one of the triforce pieces.

Private Attributes

QString sramFile
QCheckBox * compassChecks [9]
QCheckBox * mapChecks [9]
QCheckBox * triforceChecks [8]
Ui::MainWindow ui
SRAMFilesram
bool ignoreSignals
bool open

Constructor & Destructor Documentation

MainWindow::MainWindow (  ) 

Creates a new MainWindow.

Definition at line 37 of file mainwindow.cc.


Member Function Documentation

bool MainWindow::closeSRAM (  )  [private]

Closes the current SRAM file.

Returns:
true if closed; false otherwise.

Definition at line 141 of file mainwindow.cc.

void MainWindow::loadSRAMData (  )  [private]

Loads the SRAM data into the controls.

Definition at line 167 of file mainwindow.cc.

void MainWindow::openSRAM ( const QString &  filename  )  [private]

Opens an SRAM file for editing.

Parameters:
filename The SRAM filename.

Definition at line 261 of file mainwindow.cc.

void MainWindow::updateUI (  )  [private]

Updates the UI based on the status of the program.

Definition at line 365 of file mainwindow.cc.

void MainWindow::selectArrows ( enum sf_arrow  arrows  )  [private]

Selects one of the arrow types.

Parameters:
arrows The new arrow type.

Definition at line 285 of file mainwindow.cc.

void MainWindow::selectCandle ( enum sf_candle  candle  )  [private]

Selects one of the candle types.

Parameters:
candle The new candle type.

Definition at line 292 of file mainwindow.cc.

void MainWindow::selectCompass ( int  level,
bool  give 
) [private]

(De)selects one of the level compasses.

Parameters:
level The level.
give true to give; false to take away.

Definition at line 299 of file mainwindow.cc.

void MainWindow::selectItem ( enum sf_item  item,
bool  give 
) [private]

(De)selects one of the items.

Parameters:
item The item.
give true to give; false to take away.

Definition at line 307 of file mainwindow.cc.

void MainWindow::selectMap ( int  level,
bool  give 
) [private]

(De)selects one of the level maps.

Parameters:
level The level.
give true to give; false to take away.

Definition at line 314 of file mainwindow.cc.

void MainWindow::selectNote ( enum sf_note  note  )  [private]

Selects one of the note locations.

Parameters:
note The new note position.

Definition at line 322 of file mainwindow.cc.

void MainWindow::selectPotion ( enum sf_potion  potion  )  [private]

Selects one of the potions.

Parameters:
potion The new potion.

Definition at line 336 of file mainwindow.cc.

void MainWindow::selectQuest ( enum sf_quest  quest  )  [private]

Selects one of the quests.

Parameters:
quest The new quest.

Definition at line 329 of file mainwindow.cc.

void MainWindow::selectRing ( enum sf_ring  ring  )  [private]

Selects one of the rings.

Parameters:
ring The new ring.

Definition at line 343 of file mainwindow.cc.

void MainWindow::selectSword ( enum sf_sword  sword  )  [private]

Selects one of the swords.

Parameters:
sword The new sword.

Definition at line 350 of file mainwindow.cc.

void MainWindow::selectTriforce ( int  level,
bool  give 
) [private]

(De)selects one of the triforce pieces.

Parameters:
level The level.
give true to give; false to take away.

Definition at line 357 of file mainwindow.cc.

void lozsrame::MainWindow::on_checkBait_clicked ( bool  checked  )  [inline, private, slot]

Called when the bait is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 646 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkBook_clicked ( bool  checked  )  [inline, private, slot]

Called when the book is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 649 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkBoomerang_clicked ( bool  checked  )  [inline, private, slot]

Called when the boomerang is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 652 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkBow_clicked ( bool  checked  )  [inline, private, slot]

Called when the bow is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 655 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass1_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 1 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 658 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass2_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 2 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 661 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass3_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 3 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 664 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass4_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 4 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 667 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass5_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 5 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 670 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass6_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 6 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 673 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass7_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 7 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 676 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass8_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 8 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 679 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkCompass9_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 9 compass is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 682 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkLadder_clicked ( bool  checked  )  [inline, private, slot]

Called when the ladder is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 685 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap1_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 1 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 688 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap2_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 2 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 691 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap3_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 3 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 694 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap4_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 4 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 697 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap5_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 5 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 700 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap6_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 6 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 703 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap7_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 7 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 706 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap8_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 8 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 709 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMap9_clicked ( bool  checked  )  [inline, private, slot]

Called when the level 9 map is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 712 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMagicBoomerang_clicked ( bool  checked  )  [inline, private, slot]

Called when the magic boomerang is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 715 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMagicKey_clicked ( bool  checked  )  [inline, private, slot]

Called when the magic key is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 718 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkMagicShield_clicked ( bool  checked  )  [inline, private, slot]

Called when the magic shield is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 721 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkPowerBracelet_clicked ( bool  checked  )  [inline, private, slot]

Called when the power bracelet is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 724 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkRaft_clicked ( bool  checked  )  [inline, private, slot]

Called when the raft is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 727 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce1_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 1 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 730 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce2_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 2 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 733 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce3_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 3 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 736 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce4_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 4 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 739 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce5_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 5 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 742 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce6_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 6 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 745 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce7_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 7 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 748 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkTriforce8_clicked ( bool  checked  )  [inline, private, slot]

Called when triforce piece 8 is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 751 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkWand_clicked ( bool  checked  )  [inline, private, slot]

Called when the wand is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 754 of file mainwindow.hh.

void lozsrame::MainWindow::on_checkWhistle_clicked ( bool  checked  )  [inline, private, slot]

Called when the whistle is (de)selected.

Parameters:
checked true if selected; false if deselected.

Definition at line 757 of file mainwindow.hh.

void MainWindow::on_fileClose_triggered ( bool   )  [private, slot]

Called when close from the file menu is selected.

Definition at line 419 of file mainwindow.cc.

void lozsrame::MainWindow::on_fileExit_triggered ( bool   )  [inline, private, slot]

Called when exit from the file menu is selected.

Definition at line 760 of file mainwindow.hh.

void MainWindow::on_fileOpen_triggered ( bool   )  [private, slot]

Called when open from the file menu is selected.

Definition at line 427 of file mainwindow.cc.

void MainWindow::on_fileSave_triggered ( bool   )  [private, slot]

Called when save from the file menu is selected.

Definition at line 442 of file mainwindow.cc.

void MainWindow::on_fileSaveAs_triggered ( bool   )  [private, slot]

Called when save as from the file menu is selected.

Definition at line 454 of file mainwindow.cc.

void MainWindow::on_helpAbout_triggered ( bool   )  [private, slot]

Called when about from the help menu is selected.

Definition at line 469 of file mainwindow.cc.

void MainWindow::on_lineHerosName_textEdited ( const QString &  text  )  [private, slot]

Called when the hero's name is edited.

Parameters:
text The new name.

Definition at line 476 of file mainwindow.cc.

void lozsrame::MainWindow::on_radioArrowsNone_clicked ( bool   )  [inline, private, slot]

Called when the arrows are removed.

Definition at line 763 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioArrowsSilver_clicked ( bool   )  [inline, private, slot]

Called when the silver arrows are selected.

Definition at line 766 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioArrowsWooden_clicked ( bool   )  [inline, private, slot]

Called when the wooden arrows are selected.

Definition at line 769 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioCandleBlue_clicked ( bool   )  [inline, private, slot]

Called when the blue candle is selected.

Definition at line 772 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioCandleNone_clicked ( bool   )  [inline, private, slot]

Called when the candle is removed.

Definition at line 775 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioCandleRed_clicked ( bool   )  [inline, private, slot]

Called when the red candle is selected.

Definition at line 778 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioNoteLink_clicked ( bool   )  [inline, private, slot]

Called when the note is set to Link.

Definition at line 781 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioNoteOldMan_clicked ( bool   )  [inline, private, slot]

Called when the note is set to the old man.

Definition at line 784 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioNoteOldWoman_clicked ( bool   )  [inline, private, slot]

Called when the note is set to the old woman.

Definition at line 787 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioQuestFirst_clicked ( bool   )  [inline, private, slot]

Called when the first quest is selected.

Definition at line 790 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioQuestSecond_clicked ( bool   )  [inline, private, slot]

Called when the second quest is selected.

Definition at line 793 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioPotionBlue_clicked ( bool   )  [inline, private, slot]

Called when the blue potion is selected.

Definition at line 796 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioPotionNone_clicked ( bool   )  [inline, private, slot]

Called when the potion is removed.

Definition at line 799 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioPotionRed_clicked ( bool   )  [inline, private, slot]

Called when the red potion is selected.

Definition at line 802 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioRingBlue_clicked ( bool   )  [inline, private, slot]

Called when the blue ring is selected.

Definition at line 805 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioRingNone_clicked ( bool   )  [inline, private, slot]

Called when the ring is removed.

Definition at line 808 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioRingRed_clicked ( bool   )  [inline, private, slot]

Called when the red ring is selected.

Definition at line 811 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioSwordMaster_clicked ( bool   )  [inline, private, slot]

Called when the master sword is selected.

Definition at line 814 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioSwordNone_clicked ( bool   )  [inline, private, slot]

Called when the sword is removed.

Definition at line 817 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioSwordWhite_clicked ( bool   )  [inline, private, slot]

Called when the white sword is selected.

Definition at line 820 of file mainwindow.hh.

void lozsrame::MainWindow::on_radioSwordWooden_clicked ( bool   )  [inline, private, slot]

Called when the wooden sword is selected.

Definition at line 823 of file mainwindow.hh.

void MainWindow::on_spinBombsCarrying_valueChanged ( int  value  )  [private, slot]

Called when the bomb count is changed.

Parameters:
value The new bomb count.

Definition at line 483 of file mainwindow.cc.

void MainWindow::on_spinBombsCapacity_valueChanged ( int  value  )  [private, slot]

Called when the bomb capacity is changed.

Parameters:
value The new bomb capacity.

Definition at line 492 of file mainwindow.cc.

void MainWindow::on_spinHeartContainers_valueChanged ( int  value  )  [private, slot]

Called when the heart containers are changed.

Parameters:
value The new heart containers.

Definition at line 501 of file mainwindow.cc.

void MainWindow::on_spinKeys_valueChanged ( int  value  )  [private, slot]

Called when the keys are changed.

Parameters:
value The new keys.

Definition at line 510 of file mainwindow.cc.

void MainWindow::on_spinPlayCount_valueChanged ( int  value  )  [private, slot]

Called when the play count is changed.

Parameters:
value The new play count.

Definition at line 519 of file mainwindow.cc.

void MainWindow::on_spinRupees_valueChanged ( int  value  )  [private, slot]

Called when the rupee count is changed.

Parameters:
value The new rupees.

Definition at line 528 of file mainwindow.cc.

void MainWindow::selectGame ( int  game  )  [private, slot]

Selects which save slot to edit.

Parameters:
game The new slot.

Definition at line 537 of file mainwindow.cc.

void MainWindow::closeEvent ( QCloseEvent *  event  )  [protected]

Called when the window is being closed.

Parameters:
event The triggering event.

Definition at line 389 of file mainwindow.cc.

void MainWindow::dragEnterEvent ( QDragEnterEvent *  event  )  [protected]

Called when something is dragged over the window.

Parameters:
event The triggering event.

Definition at line 397 of file mainwindow.cc.

void MainWindow::dropEvent ( QDropEvent *  event  )  [protected]

Called when something is dropped on the window.

Parameters:
event The triggering event.

Definition at line 403 of file mainwindow.cc.

void MainWindow::showEvent ( QShowEvent *   )  [protected]

Called when the window is shown.

Definition at line 545 of file mainwindow.cc.


Member Data Documentation

QString lozsrame::MainWindow::sramFile [private]

Definition at line 43 of file mainwindow.hh.

QCheckBox* lozsrame::MainWindow::compassChecks[9] [private]

Definition at line 44 of file mainwindow.hh.

QCheckBox * lozsrame::MainWindow::mapChecks[9] [private]

Definition at line 44 of file mainwindow.hh.

QCheckBox * lozsrame::MainWindow::triforceChecks[8] [private]

Definition at line 44 of file mainwindow.hh.

Ui::MainWindow lozsrame::MainWindow::ui [private]

Definition at line 45 of file mainwindow.hh.

SRAMFile* lozsrame::MainWindow::sram [private]

Definition at line 46 of file mainwindow.hh.

bool lozsrame::MainWindow::ignoreSignals [private]

Definition at line 47 of file mainwindow.hh.

bool lozsrame::MainWindow::open [private]

Definition at line 47 of file mainwindow.hh.


Generated on Mon Dec 29 00:56:08 2008 for Legend of Zelda SRAM Editor by  doxygen 1.5.4