Horizon
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
horizon::ProjectManagerAppWindow Class Reference
Inheritance diagram for horizon::ProjectManagerAppWindow:

Public Member Functions

 ProjectManagerAppWindow (BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &refBuilder, class ProjectManagerApplication *app)
 
void open_file_view (const Glib::RefPtr< Gio::File > &file)
 
void spawn_imp (ProjectManagerProcess::Type type, const UUID &pool_uuid, const std::vector< std::string > &args)
 
bool close_project ()
 

Static Public Member Functions

static ProjectManagerAppWindowcreate (class ProjectManagerApplication *app)
 

Protected Types

enum  ViewMode { OPEN, PROJECT, CREATE }
 

Protected Member Functions

void set_view_mode (ViewMode mode)
 
void handle_open ()
 
void handle_new ()
 
void handle_cancel ()
 
void handle_create ()
 
void handle_close ()
 
void handle_save ()
 
void handle_place_part (const UUID &uu)
 
json handle_req (const json &j)
 
bool on_delete_event (GdkEventAny *ev) override
 
bool check_pools ()
 
void update_recent_items ()
 

Protected Attributes

Glib::RefPtr< Gtk::Builder > builder
 
Gtk::Stack * stack = nullptr
 
Gtk::Button * button_open = nullptr
 
Gtk::Button * button_new = nullptr
 
Gtk::Button * button_close = nullptr
 
Gtk::Button * button_cancel = nullptr
 
Gtk::Button * button_create = nullptr
 
Gtk::Button * button_save = nullptr
 
Gtk::HeaderBar * header = nullptr
 
Gtk::ListBox * recent_listbox = nullptr
 
Gtk::Label * label_gitversion = nullptr
 
std::unique_ptr< Projectproject = nullptr
 
std::string project_filename
 
std::map< std::string, ProjectManagerProcessprocesses
 
class PartBrowserWindowpart_browser_window = nullptr
 
class PoolCacheWindowpool_cache_window = nullptr
 
ProjectManagerViewCreate view_create
 
ProjectManagerViewProject view_project
 
zmq::socket_t sock_project
 
std::string sock_project_ep
 
sigc::connection sock_project_conn
 
WindowStateStore state_store
 

Friends

class ProjectManagerViewProject
 
class ProjectManagerViewCreate
 

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