![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <deck_editor_settings_page.h>
Public Member Functions | |
| DeckEditorSettingsPage () | |
| void | retranslateUi () override |
| QString | getLastUpdateTime () |
| Public Member Functions inherited from AbstractSettingsPage | |
| virtual QList< SettingsSearchEntry > | getSearchEntries () |
| QList< SettingsPageSection > | getSections () |
| Sections of this page for sub-page navigation, in display order. | |
Private Slots | |
| void | storeSettings () |
| void | urlListChanged (const QModelIndex &, int, int, const QModelIndex &, int) |
| void | setSpoilersEnabled (bool) |
| void | spoilerPathButtonClicked () |
| void | updateSpoilers () |
| void | unlockSettings () |
| void | actAddURL () |
| void | actRemoveURL () |
| void | actEditURL () |
| void | actAdjustRateLimit () |
| void | resetDownloadedURLsButtonClicked () |
Private Member Functions | |
| QListWidgetItem * | addUrlItem (const QString &url) |
| Adds a list item for the given URL, storing the raw URL alongside its displayed label. | |
| QString | urlForItem (const QListWidgetItem *item) const |
| Returns the raw URL stored on a list item. | |
| QString | urlLabel (const QString &url) const |
| Returns the display label for a URL, including its current effective rate limit. | |
| void | refreshUrlItems () |
| Refreshes the displayed label of every URL item after limits or settings change. | |
Private Attributes | |
| QPushButton | resetDownloadURLs |
| QLabel | urlLinkLabel |
| QCheckBox | picDownloadCheckBox |
| QListWidget * | urlList |
| QAction * | aAdd |
| QAction * | aEdit |
| QAction * | aRemove |
| QAction * | aRateLimit |
| QCheckBox | mcDownloadSpoilersCheckBox |
| QLabel | msDownloadSpoilersLabel |
| QGroupBox * | mpGeneralGroupBox |
| QGroupBox * | mpSpoilerGroupBox |
| QLineEdit * | mpSpoilerSavePathLineEdit |
| QLabel | mcSpoilerSaveLabel |
| QLabel | lastUpdatedLabel |
| QLabel | infoOnSpoilersLabel |
| QPushButton * | mpSpoilerPathButton |
| QPushButton * | updateNowButton |
Additional Inherited Members | |
| Static Protected Member Functions inherited from AbstractSettingsPage | |
| static QList< SettingsSearchEntry > | autoDetectSearchEntries (QWidget *page, int pageIndex) |
| DeckEditorSettingsPage::DeckEditorSettingsPage | ( | ) |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
Adds a list item for the given URL, storing the raw URL alongside its displayed label.
| QString DeckEditorSettingsPage::getLastUpdateTime | ( | ) |
|
private |
Refreshes the displayed label of every URL item after limits or settings change.
|
privateslot |
|
overridevirtual |
Implements AbstractSettingsPage.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
nodiscardprivate |
Returns the raw URL stored on a list item.
|
nodiscardprivate |
Returns the display label for a URL, including its current effective rate limit.
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |