PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::dialogs::Settings Class Reference

#include <settings.hpp>

Inheritance diagram for pv::dialogs::Settings:
Collaboration diagram for pv::dialogs::Settings:

Public Member Functions

 Settings (DeviceManager &device_manager, QWidget *parent=nullptr)
 
void create_pages ()
 
QCheckBox * create_checkbox (const QString &key, const char *slot) const
 
QPlainTextEdit * create_log_view () const
 
QWidget * get_general_settings_form (QWidget *parent) const
 
QWidget * get_view_settings_form (QWidget *parent) const
 
QWidget * get_decoder_settings_form (QWidget *parent)
 
QWidget * get_about_page (QWidget *parent) const
 
QWidget * get_logging_page (QWidget *parent) const
 

Private Slots

void accept ()
 
void reject ()
 
void on_page_changed (QListWidgetItem *current, QListWidgetItem *previous)
 
void on_general_language_changed (const QString &text)
 
void on_general_theme_changed (int value)
 
void on_general_style_changed (int value)
 
void on_general_save_with_setup_changed (int state)
 
void on_general_start_all_sessions_changed (int state)
 
void on_view_zoomToFitDuringAcq_changed (int state)
 
void on_view_zoomToFitAfterAcq_changed (int state)
 
void on_view_triggerIsZero_changed (int state)
 
void on_view_coloredBG_changed (int state)
 
void on_view_stickyScrolling_changed (int state)
 
void on_view_allowVerticalDragging_changed (int state)
 
void on_view_showSamplingPoints_changed (int state)
 
void on_view_fillSignalHighAreas_changed (int state)
 
void on_view_fillSignalHighAreaColor_changed (QColor color)
 
void on_view_showAnalogMinorGrid_changed (int state)
 
void on_view_showHoverMarker_changed (int state)
 
void on_view_keepRulerItemSelected_changed (int state)
 
void on_view_snapDistance_changed (int value)
 
void on_view_cursorFillColor_changed (QColor color)
 
void on_view_conversionThresholdDispMode_changed (int state)
 
void on_view_defaultDivHeight_changed (int value)
 
void on_view_defaultLogicHeight_changed (int value)
 
void on_log_logLevel_changed (int value)
 
void on_log_bufferSize_changed (int value)
 
void on_log_saveToFile_clicked (bool checked)
 
void on_log_popOut_clicked (bool checked)
 

Private Attributes

DeviceManagerdevice_manager_
 
PageListWidgetpage_list
 
QStackedWidget * pages
 
QPlainTextEdit * log_view_
 

Detailed Description

Definition at line 39 of file settings.hpp.

Constructor & Destructor Documentation

pv::dialogs::Settings::Settings ( DeviceManager device_manager,
QWidget *  parent = nullptr 
)

Definition at line 86 of file settings.cpp.

Here is the call graph for this function:

Member Function Documentation

void pv::dialogs::Settings::accept ( )
privateslot

Definition at line 618 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QCheckBox * pv::dialogs::Settings::create_checkbox ( const QString &  key,
const char *  slot 
) const

Definition at line 177 of file settings.cpp.

Here is the caller graph for this function:

QPlainTextEdit * pv::dialogs::Settings::create_log_view ( ) const

Definition at line 187 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::create_pages ( )

Definition at line 127 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * pv::dialogs::Settings::get_about_page ( QWidget *  parent) const

Definition at line 450 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * pv::dialogs::Settings::get_decoder_settings_form ( QWidget *  parent)

Definition at line 405 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * pv::dialogs::Settings::get_general_settings_form ( QWidget *  parent) const

Definition at line 204 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * pv::dialogs::Settings::get_logging_page ( QWidget *  parent) const

Definition at line 559 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QWidget * pv::dialogs::Settings::get_view_settings_form ( QWidget *  parent) const

Definition at line 292 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_general_language_changed ( const QString &  text)
privateslot

Definition at line 642 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_general_save_with_setup_changed ( int  state)
privateslot

Definition at line 694 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_general_start_all_sessions_changed ( int  state)
privateslot

Definition at line 700 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_general_style_changed ( int  value)
privateslot

Definition at line 681 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_general_theme_changed ( int  value)
privateslot

Definition at line 656 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_log_bufferSize_changed ( int  value)
privateslot

Definition at line 833 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_log_logLevel_changed ( int  value)
privateslot

Definition at line 828 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_log_popOut_clicked ( bool  checked)
privateslot

Definition at line 872 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_log_saveToFile_clicked ( bool  checked)
privateslot

Definition at line 839 of file settings.cpp.

Here is the caller graph for this function:

void pv::dialogs::Settings::on_page_changed ( QListWidgetItem *  current,
QListWidgetItem *  previous 
)
privateslot

Definition at line 634 of file settings.cpp.

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_allowVerticalDragging_changed ( int  state)
privateslot

Definition at line 736 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_coloredBG_changed ( int  state)
privateslot

Definition at line 724 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_conversionThresholdDispMode_changed ( int  state)
privateslot

Definition at line 790 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_cursorFillColor_changed ( QColor  color)
privateslot

Definition at line 784 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_defaultDivHeight_changed ( int  value)
privateslot

Definition at line 796 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_defaultLogicHeight_changed ( int  value)
privateslot

Definition at line 802 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_fillSignalHighAreaColor_changed ( QColor  color)
privateslot

Definition at line 754 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_fillSignalHighAreas_changed ( int  state)
privateslot

Definition at line 748 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_keepRulerItemSelected_changed ( int  state)
privateslot

Definition at line 772 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_showAnalogMinorGrid_changed ( int  state)
privateslot

Definition at line 760 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_showHoverMarker_changed ( int  state)
privateslot

Definition at line 766 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_showSamplingPoints_changed ( int  state)
privateslot

Definition at line 742 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_snapDistance_changed ( int  value)
privateslot

Definition at line 778 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_stickyScrolling_changed ( int  state)
privateslot

Definition at line 730 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_triggerIsZero_changed ( int  state)
privateslot

Definition at line 718 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_zoomToFitAfterAcq_changed ( int  state)
privateslot

Definition at line 712 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::on_view_zoomToFitDuringAcq_changed ( int  state)
privateslot

Definition at line 706 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::dialogs::Settings::reject ( )
privateslot

Definition at line 626 of file settings.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

DeviceManager& pv::dialogs::Settings::device_manager_
private

Definition at line 94 of file settings.hpp.

QPlainTextEdit* pv::dialogs::Settings::log_view_
private

Definition at line 102 of file settings.hpp.

PageListWidget* pv::dialogs::Settings::page_list
private

Definition at line 95 of file settings.hpp.

QStackedWidget* pv::dialogs::Settings::pages
private

Definition at line 96 of file settings.hpp.


The documentation for this class was generated from the following files: