#include <qlineedit.h>#include <qfile.h>#include <qdatastream.h>#include <qspinbox.h>#include <qcombobox.h>#include <qcheckbox.h>#include <stdlib.h>#include <qpushbutton.h>#include <qbuttongroup.h>#include <qmessagebox.h>#include <cstdio>#include "bpmdj-pref.h"#include "config.h"#include "song.h"#include "song-metric.h"#include "metric-widget.h"#include "bpmdj.h"#include "scripts.h"#include "magic.h"#include "info.h"#include "qt-helpers.h"#include "tags.h"#include "qstring-factory.h"
Functions | |
| init_singleton_var (Config, file_count, int, 1000) | |
| init_singleton_var (Config, yellowTime, int, 120) | |
| init_singleton_var (Config, orangeTime, int, 150) | |
| init_singleton_var (Config, redTime, int, 180) | |
| init_singleton_var (Config, filterBpm, int, 0) | |
| init_singleton_var (Config, authorDecay, int, 5) | |
| init_singleton_var (Config, shown_aboutbox, bool, false) | |
| init_singleton_var (Config, distance_temposcale, float4, 0.06) | |
| init_singleton_var (Config, distance_spectrumweight, float4, 0.11) | |
| init_singleton_var (Config, color_tempo44, QColor, QColor(0, 255, 0)) | |
| init_singleton_var (Config, color_tempo54, QColor, QColor(255, 0, 0)) | |
| init_singleton_var (Config, color_tempo64, QColor, QColor(255, 0, 0)) | |
| init_singleton_var (Config, color_tempo74, QColor, QColor(255, 0, 0)) | |
| init_singleton_var (Config, color_tempo84, QColor, QColor(255, 255, 0)) | |
| init_singleton_var (Config, show_tempo54, bool, false) | |
| init_singleton_var (Config, show_tempo64, bool, false) | |
| init_singleton_var (Config, show_tempo74, bool, false) | |
| init_singleton_var (Config, show_tempo84, bool, true) | |
| init_singleton_var (Config, show_unknown_tempo, bool, true) | |
| init_singleton_var (Config, color_green_time, QColor, QColor(0, 255, 0)) | |
| init_singleton_var (Config, color_yellow_time, QColor, QColor(255, 255, 0)) | |
| init_singleton_var (Config, color_orange_time, QColor, QColor(255, 170, 0)) | |
| init_singleton_var (Config, color_red_time, QColor, QColor(255, 0, 0)) | |
| init_singleton_var (Config, color_main_window, bool, false) | |
| init_singleton_var (Config, log_spectrum_distance, bool, true) | |
| init_singleton_var (Config, color_played_song, QColor, QColor(255, 0, 0)) | |
| init_singleton_var (Config, color_played_author, QColor, QColor(255, 170, 0)) | |
| init_singleton_var (Config, color_unavailable, QColor, QColor(127, 127, 127)) | |
| init_singleton_var (Config, color_dcolor_col, QColor, QColor(255, 255, 0)) | |
| init_singleton_var (Config, color_cluster_depth, int, 3) | |
| init_singleton_var (Config, header_state, QByteArray, NULL) | |
| init_singleton_var (Config, distance_tempoweight, float4, 0.02) | |
| init_singleton_var (Config, distance_echoweight, float4, 0.62) | |
| init_singleton_var (Config, distance_rhythmweight, float4, 0.26) | |
| init_singleton_var (Config, distance_compositionweight, float4, 0.33) | |
| init_singleton_var (Config, max_songs, int, 100) | |
| init_singleton_var (Config, color_unchecked, QColor, QColor(219, 219, 219)) | |
| init_singleton_var (Config, anal_bpm_from, float4, 90) | |
| init_singleton_var (Config, anal_bpm_to, float4, 160) | |
| init_singleton_var (Config, anal_bpm_technique, int, 1) | |
| init_singleton_var (Config, color_alltime, QColor, QColor(0, 0, 255)) | |
| init_singleton_var (Config, tag_include, QString,"") | |
| init_singleton_var (Config, tag_mustbe, QString,"") | |
| init_singleton_var (Config, tag_exclude, QString,"") | |
| void | taglist2strings (QTreeWidget *tagList, QString &in, QString &must, QString &out) |
| void | taglist2config (QTreeWidget *taglist) |
| init_singleton_var | ( | Config | , | |
| tag_exclude | , | |||
| QString | , | |||
| "" | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| tag_mustbe | , | |||
| QString | , | |||
| "" | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| tag_include | , | |||
| QString | , | |||
| "" | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_alltime | , | |||
| QColor | , | |||
| QColor(0, 0, 255) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| anal_bpm_technique | , | |||
| int | , | |||
| 1 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| anal_bpm_to | , | |||
| float4 | , | |||
| 160 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| anal_bpm_from | , | |||
| float4 | , | |||
| 90 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_unchecked | , | |||
| QColor | , | |||
| QColor(219, 219, 219) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| max_songs | , | |||
| int | , | |||
| 100 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| distance_compositionweight | , | |||
| float4 | , | |||
| 0. | 33 | |||
| ) |
| init_singleton_var | ( | Config | , | |
| distance_rhythmweight | , | |||
| float4 | , | |||
| 0. | 26 | |||
| ) |
| init_singleton_var | ( | Config | , | |
| distance_echoweight | , | |||
| float4 | , | |||
| 0. | 62 | |||
| ) |
| init_singleton_var | ( | Config | , | |
| distance_tempoweight | , | |||
| float4 | , | |||
| 0. | 02 | |||
| ) |
| init_singleton_var | ( | Config | , | |
| header_state | , | |||
| QByteArray | , | |||
| NULL | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_cluster_depth | , | |||
| int | , | |||
| 3 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_dcolor_col | , | |||
| QColor | , | |||
| QColor(255, 255, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_unavailable | , | |||
| QColor | , | |||
| QColor(127, 127, 127) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_played_author | , | |||
| QColor | , | |||
| QColor(255, 170, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_played_song | , | |||
| QColor | , | |||
| QColor(255, 0, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_red_time | , | |||
| QColor | , | |||
| QColor(255, 0, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_orange_time | , | |||
| QColor | , | |||
| QColor(255, 170, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_yellow_time | , | |||
| QColor | , | |||
| QColor(255, 255, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_green_time | , | |||
| QColor | , | |||
| QColor(0, 255, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_tempo84 | , | |||
| QColor | , | |||
| QColor(255, 255, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_tempo74 | , | |||
| QColor | , | |||
| QColor(255, 0, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_tempo64 | , | |||
| QColor | , | |||
| QColor(255, 0, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_tempo54 | , | |||
| QColor | , | |||
| QColor(255, 0, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| color_tempo44 | , | |||
| QColor | , | |||
| QColor(0, 255, 0) | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| distance_spectrumweight | , | |||
| float4 | , | |||
| 0. | 11 | |||
| ) |
| init_singleton_var | ( | Config | , | |
| distance_temposcale | , | |||
| float4 | , | |||
| 0. | 06 | |||
| ) |
| init_singleton_var | ( | Config | , | |
| authorDecay | , | |||
| int | , | |||
| 5 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| filterBpm | , | |||
| int | , | |||
| 0 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| redTime | , | |||
| int | , | |||
| 180 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| orangeTime | , | |||
| int | , | |||
| 150 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| yellowTime | , | |||
| int | , | |||
| 120 | ||||
| ) |
| init_singleton_var | ( | Config | , | |
| file_count | , | |||
| int | , | |||
| 1000 | ||||
| ) |
| void taglist2config | ( | QTreeWidget * | taglist | ) |
References taglist2strings().
Referenced by Config::load(), and main().
| void taglist2strings | ( | QTreeWidget * | tagList, | |
| QString & | in, | |||
| QString & | must, | |||
| QString & | out | |||
| ) |
References i, ITERATE_OVER, OneSpace, tag, TAG_TRUE, TAGS_AND, TAGS_NOT, TAGS_OR, TAGS_TEXT, and treeWidgetIterator< T >::val().
Referenced by taglist2config().
1.6.2