blob: e7062e1e56df1d6deff055d114f19bf959cbd33a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#pragma once
#include <gtkmm/grid.h>
#include <gtkmm/entry.h>
#include <gtkmm/label.h>
#include <string>
namespace Gtk
{
class Paned;
}
namespace dchat
{
class ChatWindow;
class UserSettingsWindow : public Gtk::Grid
{
public:
UserSettingsWindow(ChatWindow *chatWindow);
void setAvatarUrl(const std::string &url);
void setNickname(const std::string &nickname);
void setupLeftPanel(Gtk::Paned *sidePanels);
void setupRightPanel(Gtk::Paned *sidePanels);
private:
ChatWindow *chatWindow;
Gtk::Entry nicknameEntry;
Gtk::Entry avatarUrlEntry;
Glib::ustring prevNickname;
Glib::ustring prevAvatarUrl;
};
}
|