mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
rename widgets
This commit is contained in:
parent
38b2ac4f04
commit
57f43e2dd9
28 changed files with 365 additions and 365 deletions
66
src/app/browser/main/tab/page/navigation.hpp
Normal file
66
src/app/browser/main/tab/page/navigation.hpp
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION_HPP
|
||||
|
||||
#include <giomm/simpleactiongroup.h>
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/box.h>
|
||||
#include <gtkmm/object.h>
|
||||
|
||||
namespace app::browser::main::tab::page
|
||||
{
|
||||
namespace navigation
|
||||
{
|
||||
class Base;
|
||||
class Bookmark;
|
||||
class History;
|
||||
class Update;
|
||||
class Request;
|
||||
}
|
||||
|
||||
class Navigation : public Gtk::Box
|
||||
{
|
||||
// Components
|
||||
navigation::Base * navigationBase;
|
||||
navigation::Bookmark * navigationBookmark;
|
||||
navigation::History * navigationHistory;
|
||||
navigation::Request * navigationRequest;
|
||||
navigation::Update * navigationUpdate;
|
||||
|
||||
// Defaults
|
||||
const int SPACING = 8;
|
||||
const int MARGIN = 8;
|
||||
|
||||
public:
|
||||
|
||||
Navigation(
|
||||
const Glib::ustring & REQUEST
|
||||
);
|
||||
|
||||
// Actions
|
||||
void history_add(
|
||||
const Glib::ustring & VALUE
|
||||
);
|
||||
|
||||
void history_back();
|
||||
void history_forward();
|
||||
|
||||
|
||||
void refresh();
|
||||
|
||||
// Setters
|
||||
void set_request_text(
|
||||
const Glib::ustring & VALUE
|
||||
);
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_request_text();
|
||||
|
||||
Glib::ustring get_request_scheme();
|
||||
Glib::ustring get_request_host();
|
||||
Glib::ustring get_request_port();
|
||||
Glib::ustring get_request_path();
|
||||
Glib::ustring get_request_query();
|
||||
};
|
||||
}
|
||||
|
||||
#endif // APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue