MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / showImWorkingWindow

Method showImWorkingWindow

src/csvapplication.cpp:3386–3400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3384
3385
3386void CsvApplication::showImWorkingWindow(std::string message, bool showAlways) {
3387 int winIndex = getTopWindow();
3388 if( windows[winIndex].table->getNumberRows() > 10000 || showAlways ) {
3389 windows[winIndex].grid->allowEvents(false);
3390 imWorkingWindow->copy_label("Processing");
3391 imWorkingWindow->color(ColorThemes::getColor(app.getTheme(), "win_bg"));
3392 imWorkingButton->copy_label(message.c_str());
3393 imWorkingButton->color(ColorThemes::getColor(app.getTheme(), "win_bg"));
3394 imWorkingButton->labelcolor(ColorThemes::getColor(app.getTheme(), "win_text"));
3395 imWorkingWindow->callback(showImWorkingWindowCB,0);
3396 imWorkingWindow->set_modal();
3397 imWorkingWindow->show();
3398 Fl::check();
3399 }
3400}
3401void CsvApplication::showImWorkingWindowCB(Fl_Widget *, long ) {
3402 // intentionally empty: showImWorkingWindow must not be closed by user
3403}

Callers 6

loadFileMethod · 0.80
undoCBMethod · 0.80
find_substring_CBMethod · 0.80
find_replaceMethod · 0.80
find_replaceAll_CBMethod · 0.80
executeMacroCBMethod · 0.80

Calls 4

checkFunction · 0.85
getNumberRowsMethod · 0.80
allowEventsMethod · 0.80
getThemeMethod · 0.80

Tested by

no test coverage detected