RetroArch
Macros | Enumerations | Functions | Variables
ui_qt_window.cpp File Reference
#include <QCloseEvent>
#include <QResizeEvent>
#include <QStyle>
#include <QTimer>
#include <QLabel>
#include <QFileSystemModel>
#include <QListWidgetItem>
#include <QTableWidgetItem>
#include <QHash>
#include <QPushButton>
#include <QToolButton>
#include <QMenu>
#include <QDockWidget>
#include <QList>
#include <QInputDialog>
#include <QMimeData>
#include <QProgressDialog>
#include <QDragEnterEvent>
#include <QDropEvent>
#include <QtConcurrentRun>
#include <QtNetwork>
#include <cmath>
#include "../ui_qt.h"
#include "invader_png.h"
#include "ui_qt_load_core_window.h"
#include "ui_qt_themes.h"
#include "flowlayout.h"
#include "shaderparamsdialog.h"
#include "coreoptionsdialog.h"
#include "filedropwidget.h"
#include "coreinfodialog.h"
#include "playlistentrydialog.h"
#include "viewoptionsdialog.h"
#include "../../../version.h"
#include "../../../verbosity.h"
#include "../../../retroarch.h"
#include "../../../msg_hash.h"
#include "../../../core_info.h"
#include "../../../content.h"
#include "../../../paths.h"
#include "../../../configuration.h"
#include "../../../file_path_special.h"
#include "../../../playlist.h"
#include "../../../config.def.h"
#include "../../../tasks/tasks_internal.h"
#include <string/stdstring.h>
#include <encodings/utf.h>
#include <file/file_path.h>
#include <file/archive_file.h>
#include <streams/file_stream.h>
#include <math.h>
#include "../../../AUTHORS.h"

Macros

#define TIMER_MSEC   1000 /* periodic timer for gathering statistics */
 
#define STATUS_MSG_THROTTLE_MSEC   250
 
#define COLLECTION_SIZE   99999
 
#define GENERIC_FOLDER_ICON   "/xmb/dot-art/png/folder.png"
 
#define HIRAGANA_START   0x3041U
 
#define HIRAGANA_END   0x3096U
 
#define KATAKANA_START   0x30A1U
 
#define KATAKANA_END   0x30F6U
 
#define HIRA_KATA_OFFSET   (KATAKANA_START - HIRAGANA_START)
 
#define DOCS_URL   "http://docs.libretro.com/"
 

Enumerations

enum  CoreSelection {
  CORE_SELECTION_CURRENT, CORE_SELECTION_PLAYLIST_SAVED, CORE_SELECTION_PLAYLIST_DEFAULT, CORE_SELECTION_ASK,
  CORE_SELECTION_LOAD_CORE
}
 

Functions

static const QPixmap getInvader ()
 
static double expScale (double inputValue, double midValue, double maxValue)
 
static void setElidedText (QLabel *label, QWidget *clipWidget, int padding, const QString &text)
 
static voidui_window_qt_init (void)
 
static void ui_window_qt_destroy (void *data)
 
static void ui_window_qt_set_focused (void *data)
 
static void ui_window_qt_set_visible (void *data, bool set_visible)
 
static void ui_window_qt_set_title (void *data, char *buf)
 
static void ui_window_qt_set_droppable (void *data, bool droppable)
 
static bool ui_window_qt_focused (void *data)
 

Variables

static ui_window_qt_t ui_window = {0}
 
ui_window_t ui_window_qt
 

Macro Definition Documentation

◆ COLLECTION_SIZE

#define COLLECTION_SIZE   99999

◆ DOCS_URL

#define DOCS_URL   "http://docs.libretro.com/"

◆ GENERIC_FOLDER_ICON

#define GENERIC_FOLDER_ICON   "/xmb/dot-art/png/folder.png"

◆ HIRA_KATA_OFFSET

#define HIRA_KATA_OFFSET   (KATAKANA_START - HIRAGANA_START)

◆ HIRAGANA_END

#define HIRAGANA_END   0x3096U

◆ HIRAGANA_START

#define HIRAGANA_START   0x3041U

◆ KATAKANA_END

#define KATAKANA_END   0x30F6U

◆ KATAKANA_START

#define KATAKANA_START   0x30A1U

◆ STATUS_MSG_THROTTLE_MSEC

#define STATUS_MSG_THROTTLE_MSEC   250

◆ TIMER_MSEC

#define TIMER_MSEC   1000 /* periodic timer for gathering statistics */

Enumeration Type Documentation

◆ CoreSelection

Enumerator
CORE_SELECTION_CURRENT 
CORE_SELECTION_PLAYLIST_SAVED 
CORE_SELECTION_PLAYLIST_DEFAULT 
CORE_SELECTION_ASK 
CORE_SELECTION_LOAD_CORE 

Function Documentation

◆ expScale()

static double expScale ( double  inputValue,
double  midValue,
double  maxValue 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInvader()

static const QPixmap getInvader ( )
static
Here is the caller graph for this function:

◆ setElidedText()

static void setElidedText ( QLabel *  label,
QWidget *  clipWidget,
int  padding,
const QString &  text 
)
static
Here is the caller graph for this function:

◆ ui_window_qt_destroy()

static void ui_window_qt_destroy ( void data)
static
Here is the call graph for this function:

◆ ui_window_qt_focused()

static bool ui_window_qt_focused ( void data)
static
Here is the call graph for this function:

◆ ui_window_qt_init()

static void* ui_window_qt_init ( void  )
static

◆ ui_window_qt_set_droppable()

static void ui_window_qt_set_droppable ( void data,
bool  droppable 
)
static
Here is the call graph for this function:

◆ ui_window_qt_set_focused()

static void ui_window_qt_set_focused ( void data)
static
Here is the call graph for this function:

◆ ui_window_qt_set_title()

static void ui_window_qt_set_title ( void data,
char *  buf 
)
static
Here is the call graph for this function:

◆ ui_window_qt_set_visible()

static void ui_window_qt_set_visible ( void data,
bool  set_visible 
)
static
Here is the call graph for this function:

Variable Documentation

◆ ui_window

ui_window_qt_t ui_window = {0}
static

◆ ui_window_qt

Initial value:
= {
"qt"
}
static void ui_window_qt_set_focused(void *data)
Definition: ui_qt_window.cpp:3376
static void ui_window_qt_destroy(void *data)
Definition: ui_qt_window.cpp:3366
static void ui_window_qt_set_droppable(void *data, bool droppable)
Definition: ui_qt_window.cpp:3406
static void ui_window_qt_set_visible(void *data, bool set_visible)
Definition: ui_qt_window.cpp:3387
static void ui_window_qt_set_title(void *data, char *buf)
Definition: ui_qt_window.cpp:3395
static bool ui_window_qt_focused(void *data)
Definition: ui_qt_window.cpp:3417
static void * ui_window_qt_init(void)
Definition: ui_qt_window.cpp:3359