Search found 183 matches

by Wolfgang
Tue Apr 16, 2024 2:16 pm
Forum: Open Discussion
Topic: Pdf viewer with some special needs
Replies: 4
Views: 81

Re: Pdf viewer with some special needs

The color separation is possible with krita Seperate colors to layers(first convert to indexed color, so that no mixed colors are in it) than save as krita file, close it open it again (only with that it is made sure that not the whole pdf is in the file). Than open it with gimp and save it as pdf. ...
by Wolfgang
Tue Apr 16, 2024 6:35 am
Forum: Open Discussion
Topic: Pdf viewer with some special needs
Replies: 4
Views: 81

Re: Pdf viewer with some special needs

Pdf's will be created from me (used inkscape or similar to put it together and than exported to pdf. Some pre existing pdfs wiull also be used. So switching it to layers might be a possibility. Also your idea with pdf.js I will investigate as I did see already a similiar with the apryse sdk which ca...
by Wolfgang
Mon Apr 15, 2024 2:16 pm
Forum: Open Discussion
Topic: Pdf viewer with some special needs
Replies: 4
Views: 81

Pdf viewer with some special needs

Hello, I would need a PDF-Viewer which can have a full size of the PDF on one monitor (projector) and on a second monitor a window where I can change the zoom factor (with comas in it like 37,71%), and also where I can hide lines based on colors or layers (but than I will need a way of automatically...
by Wolfgang
Thu Dec 07, 2023 6:13 am
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 2126

Re: SetLabel is not wxStaticText

Changed it back to the first version, so I could quote the error for you.

Now I found out that:
wxyield makes it gray. (in Debugger (if breakpoint is before it)
stati->Update(); not needed but it works with wxYiled()
by Wolfgang
Thu Dec 07, 2023 5:45 am
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 2126

Re: SetLabel is not wxStaticText

Here the exact error Message ./src/common/sizer.cpp(887): assert "CheckExpectedParentIs(w, m_containingWindow)" failed in SetContainingWindow(): Windows managed by the sizer associated with the given window must have this window as parent, otherwise they will not be repositioned correctly....
by Wolfgang
Wed Dec 06, 2023 10:26 pm
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 2126

Re: SetLabel is not wxStaticText

Was runtime error. The error, was at panela->SetSizerAndFit(sp_sizer); As the parent of panela has in wxwindow NULL, it complained that the sizer needs a parent. Wx 3.2.2 I used the one in debian. For the 3.1.4 version I'm not sure, is already some time ago. Changed computer, therefore installed eve...
by Wolfgang
Wed Dec 06, 2023 7:21 pm
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 2126

Re: SetLabel is not wxStaticText

The code was working in wxwidgets 3.1.4. But after changing to 3.2.2 it shows the need parent error, so the programm stops there. In the current code I also tried to replace the wrapsizer with a boxsizer, but the same result it did not update. I'm on wxwidgets 3.2.2 on debian 12. This was the previo...
by Wolfgang
Wed Dec 06, 2023 3:36 pm
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 2126

Re: SetLabel is not wxStaticText

Yes the event is firing as, only when this event gets fired all the information gets loaded. and the programm is working, it just does not update the wxstatictext with setlabel. It worked earlier, but I had to change it as the sizer configuration I had earlier, needed a parent, which was not present...
by Wolfgang
Wed Dec 06, 2023 9:49 am
Forum: C++ Development
Topic: SetLabel is not updating wxStaticText
Replies: 9
Views: 2126

SetLabel is not updating wxStaticText

When I call setlabel to change the text it just show it empty. Declaration extern wxWrapSizer* sizer_1; First Usage: MySplash::MySplash(const wxString& title) : wxFrame(NULL,spl_win, title,wxDefaultPosition,wxDefaultSize,0) { SetSize(wxSize(300, 400)); SetTitle(title); sizer_1 = new wxWrapSizer(...
by Wolfgang
Fri Apr 24, 2020 5:44 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2641

Re: Aui -Htmlwindow

gnome but wayland switched off.
by Wolfgang
Thu Apr 23, 2020 12:49 pm
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2641

Re: Aui -Htmlwindow

I guess I now found a possible reason for the problem. Not that I would be able to change it. But I try to explain what I think the problem is. In Linux the resize will be most likely generic, but only for frames and (windows) not for panes of AUI. In my case I somehow managed to get the resize runn...
by Wolfgang
Thu Apr 23, 2020 11:18 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2641

Re: Aui -Htmlwindow

With not shown at all I mean, in Linux I see the right lower corner marked if I can resize it. And it is not marked when I use the standard aui demo and add Resizable(true) to it.

In my programm it is only shown, wehn I open the pane(s) before I opened another frame.
by Wolfgang
Thu Apr 23, 2020 10:12 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2641

Re: Aui -Htmlwindow

That is the one I used to have the same code as in my programm: void MyFrame::OnCreateTree(wxCommandEvent& WXUNUSED(event)) { m_mgr.AddPane(CreateTreeCtrl(), wxAuiPaneInfo(). Name("Test").Resizable(true).Caption("Bibel").CloseButton(true).Dockable(false).Float().CaptionVisibl...
by Wolfgang
Thu Apr 23, 2020 10:10 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2641

Re: Aui -Htmlwindow

Windows is working. did you try the normal demo and just add Resizable, inside one of the onCreate methods? And this in Linux?
by Wolfgang
Thu Apr 23, 2020 4:25 am
Forum: C++ Development
Topic: Aui -Htmlwindow
Replies: 13
Views: 2641

Re: Aui -Htmlwindow

I tried just to add Resizable(true) to one of the Oncreate in the originial AuiDemo and there the resize posibility is not shown at all. So resizeable not possible. How I managed that it is shown by mine, I do not know, and also why it is shown when new pane is created before new frames are created....