Mercurial > minori
comparison src/gui/window.cc @ 366:886f66775f31
animone: add preliminary AT-SPI stuff
anime_list: finish the regular singular right click menu
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sun, 17 Nov 2024 19:56:01 -0500 |
| parents | a0aa8c8c4307 |
| children | 47c9f8502269 |
comparison
equal
deleted
inserted
replaced
| 365:f81bed4e04ac | 366:886f66775f31 |
|---|---|
| 138 | 138 |
| 139 void MainWindow::SetStatusMessage(const std::string& message) { | 139 void MainWindow::SetStatusMessage(const std::string& message) { |
| 140 statusBar()->showMessage(Strings::ToQString(message), 2000); | 140 statusBar()->showMessage(Strings::ToQString(message), 2000); |
| 141 } | 141 } |
| 142 | 142 |
| 143 /* Does the main part of what Qt's generic "RetranslateUI" function would do */ | 143 /* FIXME: |
| 144 * ALL of the pages need to have a retranslate function. This would require | |
| 145 * huge amounts of refactoring hence why it hasn't been done yet. */ | |
| 144 void MainWindow::AddMainWidgets() { | 146 void MainWindow::AddMainWidgets() { |
| 145 int page = sidebar_.GetCurrentItem(); | 147 int page = sidebar_.GetCurrentItem(); |
| 146 | 148 |
| 147 sidebar_.clear(); | 149 sidebar_.clear(); |
| 148 | 150 |
