Skip to content

GUI

7 Topics 43 Posts

Everything about the development of GUIs for SAMSON Elements

  • Asynchronous event with QtConcurrent

    3
    0 Votes
    3 Posts
    4k Views
    LaëtitiaL
    Hi Stephane, thanks for your answer, I'll do that then. Best Laëtitia
  • Import new "version" of the molecule

    7
    0 Votes
    7 Posts
    6k Views
    StephaneS
    Ok thanks! We'll see how we could do that!
  • Add new items in context menu when right-clicking on a selection

    3
    0 Votes
    3 Posts
    4k Views
    K
    @stephane-redon I think it can be nice for the developers to be able to register more actions in the context menu. But it can also make the context menu too crowded. Perhaps, you can make something in the Preferences so that the users can select to add which actions to show in the context menu. Actually, I am developing an app to convert a list of conformations to a path and vice versa for my work. So I was thinking it can be useful to add an action in the context menu so that after selecting a list of conformations in the Document View, I would right-click and choose "Convert to Path". Do you have any suggestion to do it for this case?
  • SBGWindow raising

    3
    0 Votes
    3 Posts
    4k Views
    YassineY
    Actually I didn't explain well the case where the raise didn't worked for me as I expected. When you have two windows, with the first one locked and the second unlocked. If the raise function is called for the second unlocked window, it doesn't go on top of the first locked window. For those who might interest, I found a simple solution. You need to temporarily lock the window, call the raise function then unlock the window. Thank you Stephane for your quick answer ! Yassine
  • Drawing arrows on atoms

    11
    1
    0 Votes
    11 Posts
    10k Views
    P
    Hi everybody, all my problems with arrows are solved. Thanks very much for your help.
  • The use of displayText function

    7
    0 Votes
    7 Posts
    7k Views
    P
    @Stephane-Redon, it's done :) Thanks. Here's what I did: SEFleXibleVisualModel* model = new SEFleXibleVisualModel(vp_file, "vp"); // my visual model model->setName("VP_Arrows"); SAMSON::beginHolding("Display vp by arrows"); SAMSON::hold(model); model->create(); SAMSON::getActiveLayer()->addChild(model); // stop holding changes to the document SAMSON::endHolding();
  • SBGWindow signals

    Moved
    9
    0 Votes
    9 Posts
    8k Views
    StephaneS
    Done ;-). setLockedFlag(bool) and getLockedFlag() inside SBGWindow.