OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
MsgDialog.hpp File Reference
#include <cstddef>
#include <functional>
#include "slic3r/GUI/Widgets/Label.hpp"
#include <string>
#include <unordered_map>
#include "GUI_Utils.hpp"
#include <vector>
#include <wx/dialog.h>
#include <wx/event.h>
#include <wx/font.h>
#include <wx/bitmap.h>
#include <wx/hashmap.h>
#include <wx/gdicmn.h>
#include <wx/msgdlg.h>
#include <wx/richmsgdlg.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/statline.h>
#include <wx/translation.h>
#include "Widgets/Button.hpp"
#include "Widgets/CheckBox.hpp"
#include "Widgets/TextInput.hpp"
#include "Widgets/HyperLink.hpp"
#include "BBLStatusBar.hpp"
#include "BBLStatusBarSend.hpp"
#include "libslic3r/Semver.hpp"
Include dependency graph for MsgDialog.hpp:

Go to the source code of this file.

Classes

struct  Slic3r::GUI::ButtonData
class  Slic3r::GUI::MsgButton
struct  Slic3r::GUI::MsgDialog
class  Slic3r::GUI::ErrorDialog
class  Slic3r::GUI::WarningDialog
class  Slic3r::GUI::MessageDialog
class  Slic3r::GUI::RichMessageDialog
class  Slic3r::GUI::InfoDialog
class  Slic3r::GUI::DownloadDialog
class  Slic3r::GUI::DeleteConfirmDialog
class  Slic3r::GUI::Newer3mfVersionDialog
class  Slic3r::GUI::NetworkErrorDialog
struct  Slic3r::GUI::FilamentWarningInfo
class  Slic3r::GUI::FilamentWarningDialog

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI

Macros

#define MSG_DIALOG_BUTTON_SIZE   wxSize(FromDIP(58), FromDIP(24))
#define MSG_DIALOG_MIDDLE_BUTTON_SIZE   wxSize(FromDIP(76), FromDIP(24))
#define MSG_DIALOG_LONG_BUTTON_SIZE   wxSize(FromDIP(90), FromDIP(24))
#define MSG_DIALOG_LONGER_BUTTON_SIZE   wxSize(FromDIP(120), FromDIP(24))

Enumerations

enum  ButtonSizeType { ButtonSizeNormal = 0 , ButtonSizeMiddle = 1 , ButtonSizeLong = 2 }

Functions

 Slic3r::GUI::WX_DECLARE_HASH_MAP (wxString, MsgButton *, wxStringHash, wxStringEqual, MsgButtonsHash)
wxString Slic3r::GUI::get_wraped_wxString (const wxString &in, size_t line_len)

Class Documentation

◆ Slic3r::GUI::ButtonData

struct Slic3r::GUI::ButtonData
Collaboration diagram for Slic3r::GUI::ButtonData:
Class Members
Button * button
ButtonSizeType type

◆ Slic3r::GUI::MsgButton

class Slic3r::GUI::MsgButton
Collaboration diagram for Slic3r::GUI::MsgButton:
Class Members
ButtonData * buttondata
wxString id

◆ Slic3r::GUI::FilamentWarningInfo

struct Slic3r::GUI::FilamentWarningInfo
Class Members
wxString info_msg
wxString wiki_url

Macro Definition Documentation

◆ MSG_DIALOG_BUTTON_SIZE

#define MSG_DIALOG_BUTTON_SIZE   wxSize(FromDIP(58), FromDIP(24))

◆ MSG_DIALOG_LONG_BUTTON_SIZE

#define MSG_DIALOG_LONG_BUTTON_SIZE   wxSize(FromDIP(90), FromDIP(24))

◆ MSG_DIALOG_LONGER_BUTTON_SIZE

#define MSG_DIALOG_LONGER_BUTTON_SIZE   wxSize(FromDIP(120), FromDIP(24))

◆ MSG_DIALOG_MIDDLE_BUTTON_SIZE

#define MSG_DIALOG_MIDDLE_BUTTON_SIZE   wxSize(FromDIP(76), FromDIP(24))

Enumeration Type Documentation

◆ ButtonSizeType

Enumerator
ButtonSizeNormal 
ButtonSizeMiddle 
ButtonSizeLong 
35 {
39};
@ ButtonSizeLong
Definition MsgDialog.hpp:38
@ ButtonSizeMiddle
Definition MsgDialog.hpp:37
@ ButtonSizeNormal
Definition MsgDialog.hpp:36