Skip to content

shapeworks::PreferencesWindow

Qt UI dialog to control preferences. More...

#include <PreferencesWindow.h>

Inherits from QDialog

Public Slots

Name
void on_mesh_cache_enabled_stateChanged(int state)
void on_mesh_cache_memory_valueChanged(int value)
void on_color_scheme_currentIndexChanged(int index)
void on_pca_range_valueChanged(double value)
void on_pca_steps_valueChanged(int value)
void on_parallel_enabled_toggled(bool b)
void on_num_threads_valueChanged(int i)
void accept() override
void restore_defaults()
void save_to_preferences()

Public Signals

Name
void clear_cache()
void update_view()
void slider_update()

Public Functions

Name
PreferencesWindow(QWidget * parent, Preferences & prefs)
void set_values_from_preferences()
void closeEvent(QCloseEvent * event) override

Detailed Description

class shapeworks::PreferencesWindow;

Qt UI dialog to control preferences.

The PreferenceWindow provides controls over preferences for the application. It is synchronized with the singleton Preference object

Public Slots Documentation

slot on_mesh_cache_enabled_stateChanged

void on_mesh_cache_enabled_stateChanged(
    int state
)

slot on_mesh_cache_memory_valueChanged

void on_mesh_cache_memory_valueChanged(
    int value
)

slot on_color_scheme_currentIndexChanged

void on_color_scheme_currentIndexChanged(
    int index
)

slot on_pca_range_valueChanged

void on_pca_range_valueChanged(
    double value
)

slot on_pca_steps_valueChanged

void on_pca_steps_valueChanged(
    int value
)

slot on_parallel_enabled_toggled

void on_parallel_enabled_toggled(
    bool b
)

slot on_num_threads_valueChanged

void on_num_threads_valueChanged(
    int i
)

slot accept

void accept() override

slot restore_defaults

void restore_defaults()

slot save_to_preferences

void save_to_preferences()

Public Signals Documentation

signal clear_cache

void clear_cache()

signal update_view

void update_view()

signal slider_update

void slider_update()

Public Functions Documentation

function PreferencesWindow

PreferencesWindow(
    QWidget * parent,
    Preferences & prefs
)

function set_values_from_preferences

void set_values_from_preferences()

function closeEvent

void closeEvent(
    QCloseEvent * event
) override

Updated on 2024-11-11 at 19:51:46 +0000