SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
SC_MainWindow Class Reference
Inheritance diagram for SC_MainWindow:

Public Slots

void enqueueSim ()
 
void saveLog ()
 
void saveResults ()
 
void stopImport ()
 
void stopSim ()
 
void stopAllSim ()
 
void startNewImport (const QString &, const QString &, const QString &, const QString &)
 

Public Member Functions

void startImport (int tab, const QString &url)
 
bool importRunning ()
 
void startSim ()
 
bool simRunning ()
 
std::shared_ptr< sim_tinitSim ()
 
void deleteSim (std::shared_ptr< sim_t > &sim, SC_TextEdit *append_error_message=0)
 
void loadHistory ()
 
void saveHistory ()
 
void createCmdLine ()
 
void createWelcomeTab ()
 
void createImportTab ()
 
void createOptionsTab ()
 
void createSimulateTab ()
 
void createResultsTab ()
 
void createOverridesTab ()
 
void createHelpTab ()
 
void createLogTab ()
 
void createSpellQueryTab ()
 
void createTabShortcuts ()
 
void createCustomTab ()
 
void updateWebView (SC_WebView *)
 
void toggle_pause ()
 
 SC_MainWindow (QWidget *parent=nullptr)
 

Public Attributes

QWidget * customGearTab
 
QWidget * customTalentsTab
 
SC_MainTabmainTab
 
SC_OptionsTaboptionsTab
 
SC_ImportTabimportTab
 
SC_SimulateTabsimulateTab
 
SC_ResultTabresultsTab
 
SC_SpellQueryTabspellQueryTab
 
QTabWidget * createCustomProfileDock
 
BattleNetImportWindownewBattleNetView
 
SC_WebViewhelpView
 
SC_WebViewvisibleWebView
 
SC_TextEditoverridesText
 
SC_TextEditlogText
 
QPushButton * backButton
 
QPushButton * forwardButton
 
SC_MainWindowCommandLinecmdLine
 
QLineEdit * apikey
 
QGroupBox * cmdLineGroupBox
 
QGroupBox * createCustomCharData
 
SC_RecentlyClosedTabItemModelrecentlyClosedTabModel
 
SC_RecentlyClosedTabWidgetrecentlyClosedTabImport
 
QTimer * timer
 
QTimer * soloChar
 
SC_ImportThreadimportThread
 
SC_SimulateThreadsimulateThread
 
QSignalMapper mainTabSignalMapper
 
QList< QShortcut * > shortcuts
 
std::shared_ptr< sim_tsim
 
std::shared_ptr< sim_timport_sim
 
std::string simPhase
 
std::string importSimPhase
 
int simProgress
 
int importSimProgress
 
int soloimport
 
int simResults
 
QString AppDataDir
 
QString ResultsDestDir
 
QString TmpDir
 
QString cmdLineText
 
QString logFileText
 
QString resultsFileText
 
SC_QueueItemModelsimulationQueue
 
int consecutiveSimulationsRun
 

Protected Member Functions

void closeEvent (QCloseEvent *) override