Signals | |
| void | applyOptions () |
| void | saveOptions () |
| void | addKeyMapping (int _key, Qt::KeyboardModifiers _modifiers, QObject *_plugin, int _keyBindingID) |
Public Member Functions | |
| OptionsWidget (std::vector< PluginInfo > &_plugins, std::vector< KeyBinding > &_core, InverseKeyMap &_invKeys, QWidget *parent=0) | |
Protected Member Functions | |
| void | showEvent (QShowEvent *event) |
Private Types | |
| enum | DOWNLOAD { NONE, VERSIONS_FILE, PLUGIN, WINDOWS_SETUP } |
Private Slots | |
| void | slotOk () |
| call slotApply and hide widget | |
| void | slotApply () |
| Update Options and tell others about changed Options. | |
| void | slotCancel () |
| Only hide widget. | |
| void | slotCheckUpdates () |
| Checks for updates. | |
| void | slotGetUpdates () |
| Download updates. | |
| void | getBackgroundColor () |
| open a dialog to determine the color | |
| void | getBaseColor () |
| void | keyTreeItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
| keyBinding TreeWidget-Item changed | |
| void | keyTreeDoubleClicked (QTreeWidgetItem *_item, int col) |
| doubleclick in the keyTree | |
| void | updateShortcut () |
| check if the shortcut exists and add it if not | |
| void | slotShowPluginOptions (const QString &_pluginName) |
| void | restoreKeyPresets () |
| restore keyBinding Presets | |
| void | updateViewerSettings (int _row) |
| update the dialog if the selected viewer changes | |
| void | viewerSettingsChanged (QListWidgetItem *_item) |
| remember user changes to viewer properties | |
| void | viewerSettingsChanged (int _index) |
| void | httpRequestFinished (int requestId, bool error) |
| void | readResponseHeader (const QHttpResponseHeader &responseHeader) |
| void | updateDataReadProgress (int bytesRead, int totalBytes) |
| void | cancelDownload () |
| void | updateComponent () |
Private Member Functions | |
| void | initPluginOptions () |
| int | getPluginInfo (QString pluginName) |
| get the pluginInfo object corresponding to the given pluginName | |
| void | initKeyTree () |
| init the TreeWidget containing the keyBindings | |
| void | applyShortcuts () |
| check which of the shortcuts changed and inform the core about the change | |
| void | startDownload (QString _url) |
| Starts the download of the given file. | |
| void | compareVersions () |
| Compares the versions from the downloaded Versions file with the current versions. | |
| bool | isNewer (QString _current, QString _latest) |
| Compares two version strings and returns if a newer Version is available. | |
| void | updateVersionsTable () |
| Redraws the version table. | |
Private Attributes | |
| QVBoxLayout * | pluginOptionsLayout |
| std::vector< PluginInfo > & | plugins_ |
| std::vector< KeyBinding > & | coreKeys_ |
| InverseKeyMap & | keys_ |
| bool | httpRequestAborted |
| int | httpGetId |
| QHttp * | http |
| QFile * | file |
| QProgressDialog * | progressDialog |
| enum OptionsWidget::DOWNLOAD | downloadType |
| std::vector< uint > | defaultDrawModes_ |
| std::vector< int > | defaultProjectionMode_ |
| std::vector< int > | defaultViewingDirections_ |
| bool | updatingViewerSettings_ |
| QStringList | updatedPlugins_ |
| QString | pluginPath_ |
| QString | currentUpdateName_ |
Definition at line 60 of file optionsWidget.hh.
| void OptionsWidget::keyTreeItemChanged | ( | QTreeWidgetItem * | current, | |
| QTreeWidgetItem * | previous | |||
| ) | [private, slot] |
keyBinding TreeWidget-Item changed
user selects a different item in the tree
Definition at line 74 of file keyBindings.cc.
Referenced by restoreKeyPresets(), and updateShortcut().
QString OptionsWidget::currentUpdateName_ [private] |
Current filename of the plugin to be updated
Definition at line 205 of file optionsWidget.hh.
Referenced by slotGetUpdates().
QString OptionsWidget::pluginPath_ [private] |
Here the architecture specific path for plugins will be created
Definition at line 201 of file optionsWidget.hh.
Referenced by slotGetUpdates().
QStringList OptionsWidget::updatedPlugins_ [private] |
After checking for updates this variable will contain a list of filenames for which updates are available
Definition at line 197 of file optionsWidget.hh.
Referenced by slotGetUpdates(), and updateVersionsTable().